Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter vprest

    (@vprest)

    I’m trying to figure out if this is a Electro Theme or plugin conflict. But the author of the Electro theme has the same problem.

    https://electro.madrasthemes.com/wishlist/

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    In order to check what’s happening, please share with us your wishlist’s site url.

    We will be attentive to your response.

    Best regards.

    Thread Starter vprest

    (@vprest)

    Hello!

    Thanks for your reply.

    1. Wishlist page https://dettime.ru/wishlist/

    (here I completely hid the name of the wishlist page with css) – because I’m tired of constantly looking at the inscription that asks to change the name.

    2. Wishlist page in my account is not affected by my CSS code.

    Here you can see the problem. I am attaching a screenshot.

    https://dettime.ru/account/wishlist/

    But I can remove the CSS header block so you can see the problem all over the wishlist pages.

    1. Without any changes or intervention attempts, you can also see this issue from the creator of the Electro theme.
      https://electro.madrasthemes.com/

      Screenshots
      https://drive.google.com/file/d/1DbtwcMjsyG-v8vYkpFW40ArRodt6BKkD/view?usp=share_link

      https://drive.google.com/file/d/1S9ysiBuuIBA8Tqdw4UhENslWjgDhKkqv/view?usp=share_link

    https://drive.google.com/file/d/1y7P2DChBji2Kt8WEMEU00lKooMuJORP4/view?usp=share_link

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    Thanks for your explanation, but checking your site I see that you use the premium version of our plugin, and this is a thread to support the free version. So I recommend you open a premium support ticket, mentioning your problem to us, please.

    Have a nice day!

    Thread Starter vprest

    (@vprest)

    Hello!
    This problem is also present in the simple version of the plugin and in the Premium version. I checked both options and nothing has changed.

    Thread Starter vprest

    (@vprest)

    I can put a simple version of the plugin and you will see the same thing ??

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    Our plugin has a CSS rule to hide that container from any wishlist page, which is the following:

    .yes-js .hidden-title-form {
        display: none;
    }

    wp-content/plugins/yith-woocommerce-wishlist/assets/css/style.css?ver=3.19.0

    But if for some reason your theme or some other plugin changes the structure of the wishlist, or dequeues our style files, that container will be visible.

    Checking your installation, I see that our style files are not loaded, and this is probably why you see the container.

    However, to avoid the latter, you can add the following code inside the functions.php file of your active child theme:

    if (defined('YITH_WCWL')) {
        if (!function_exists('yith_wcwl_enqueue_back_required_assets')) {
            function yith_wcwl_enqueue_back_required_assets()
            {
                $suffix  = defined('SCRIPT_DEBUG') && SCRIPT_DEBUG ? '' : '.min';
                $version = defined('WC_VERSION') ? WC_VERSION : '';
    
                wp_enqueue_style('woocommerce_prettyPhoto_css', plugins_url('assets/css/prettyPhoto.css', WC_PLUGIN_FILE), array(), $version);
                wp_enqueue_script('prettyPhoto', plugins_url('assets/js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', WC_PLUGIN_FILE), array('jquery'), '3.1.6');
                wp_enqueue_script('prettyPhoto-init', plugins_url('assets/js/prettyPhoto/jquery.prettyPhoto.init' . $suffix . '.js', WC_PLUGIN_FILE), array('jquery'), $version);
    
    
                wp_enqueue_style('yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css', array('jquery-selectBox'));
            }
            add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_back_required_assets', 9999 );
        }
    }

    Let us know any news, please.

    Best regards.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Editing the Wishlist header’ is closed to new replies.