Edit: px_cursor1.php
<?php $divi_PX_cursor_size = et_get_option('divi_PX_cursor_size', '40'); $divi_PX_cursor_border_color = et_get_option('divi_PX_cursor_border', '#000000'); $divi_PX_cursor_background_color = et_get_option('divi_PX_cursor_bg', 'transparent'); ?> <div class="px_cursor px_cursor_1"></div> <style> body { cursor: none !important; } .px_cursor_1 { position: fixed; top: 0; left: 0; width: <?php echo esc_attr($divi_PX_cursor_size); ?>px; height: <?php echo esc_attr($divi_PX_cursor_size); ?>px; border: 2px solid <?php echo esc_attr($divi_PX_cursor_border_color); ?>; background: <?php echo esc_attr($divi_PX_cursor_background_color); ?>; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); z-index: 999999; mix-blend-mode: normal; transition: width 0.3s, height 0.3s, background 0.3s, opacity 0.3s; } </style>
Save
Back