Previous issue with Cookie Notice has returned after updating XStore to v7.2.9

This topic has 5 replies, 2 voices, and was last updated 4 years, 1 months ago ago by Olga Barlow

  • Avatar: themadguru
    Robert
    Participant
    May 16, 2021 at 20:42

    Hello

    The theme has an error loading the cookie notice again, after updating to XStore v7.2.9.

    After clearing the browser cache and cookies, loading my sites, the cookie notice popup no longer loads in a popup square at the bottom of the site but instead shows as a bar hovering over the complete width of the page.

    I previously reported this back in February after an update some time ago, and it was fixed. It is now back again.

    Ticket 1

    and then a reoccurrence on a separate ticket here, further down that ticket:

    Ticket 2

    On that second ticket, you stated the issue happens when a child theme is enabled. It was fixed, but back again.

    Regards
    Robert

    4 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 17, 2021 at 11:46

    Hello,

    Do you use child theme?
    Try to replace the below code in the child theme functions.php

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
    	etheme_child_styles();
    }

    with

    <?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles', 1001 );
    function theme_enqueue_styles() {
    	etheme_child_styles();
    }

    And let me know if it helps.

    Regards

    Avatar: themadguru
    Robert
    Participant
    May 18, 2021 at 13:09

    Hello Olga

    Thank you. That snippet of code has worked. Although the bottom of the cookie notice popup seems to me to be hidden beyond the edge of the browser window, so the bottom border of the popup is not seen, like the other three borders.

    Below are screenshots from Chome in MACOS Big Sur and Windows 10 respectively:-

    MACOS Big Sur Chrome screenshot

    and

    Windows 10 Chrome screenshot

    I seem to recall the bottom border of the popup being visible.

    Regards
    Robert

    Avatar: themadguru
    Robert
    Participant
    May 18, 2021 at 13:26

    PS – See private content area for login credentials if you need to take a look.

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Participant
    May 18, 2021 at 16:54

    Hello,

    You can add the below CSS to child theme style.css if you want to show the notice popup a little bit up

    #cookie-notice {
        bottom: 10px;
    }

    Regards

  • Viewing 5 results - 1 through 5 (of 5 total)

The issue related to '‘Previous issue with Cookie Notice has returned after updating XStore to v7.2.9’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.