• I set the bar visible only on mobile, but it often shows up on desktop too, though not on all pages, then I clear the chache and it starts working again. After a few days it shows up again on the desktop version. Also in both mobile and desktop version (when it appears) it is not visible on all pages. Does anyone know if there are special settings or some code to enter? I don’t see anything in the settings. Thanks

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Anna Bansaghi

    (@annabansaghi)

    Hi @sdgjrdtj

    I have visited your site, and the bar currently is visible on the third page only, both on mobile and desktop. I do not know yet what causing the issue.

    Can you help me ruling out a couple of things?

    Which WordPress version do you use?
    My plugin uses the wp_is_mobile function, which was updated in WP 6.4.0. That update should not affect your site, but it might affect the caching plugin.

    Which caching plugin (and which version) do you use?

    Do you created some custom CSS rules to hide the plugin is some pages / posts?

    Thread Starter sdgjrdtj

    (@sdgjrdtj)

    Hi Anna,
    first of all, thank you for responding to me.

    The version of WordPress in use is 6.5.3 .

    The caching plugin is Speed Optimizer version 7.6.0

    I haven’t created custom rules to exclude the plugin on some pages, but I have created CSS rules for other things, I don’t know if they can affect it. The rules are these:

    .vc_custom_1685723799922:hover {
    background-color: #efefef;
    }

    .vc_single_image-img {
    border: 0px solid white;
    border-radius: 15px;
    }

    .slider_content_inner {
    margin-top: -380px;
    }

    @media only screen and (max-width: 767px) {
    .slider_content_inner {
    font-size: 25px !important;
    line-height: 0.1 !important;
    }
    }

    @media only screen and (max-width: 767px) {
    .slider_content center {
    margin-top: 10px;
    }
    } nav-menu-item-17512 {

    background-color: #ee7408;
    border-radius: 10px;

    } nav-menu-item-17512 a:hover {

    color: #0000 !important;

    }

    .highlighted a,
    .highlighted a:hover,
    .highlighted a:focus {
    color: #ffffff !important;
    font-weight: bold;

    Hi,

    I’ve the same problem on my site and I haven’t created custom rules… It’s a bug?

    Thread Starter sdgjrdtj

    (@sdgjrdtj)

    I don’t know, if there is a bug you have to tell us Anna

    Plugin Author Anna Bansaghi

    (@annabansaghi)

    Hello @sdgjrdtj , @tizzy17

    Thank you for reporting and confirming that you still experience the issue, however I cannot reproduce it on my sites.

    Could you follow the recommended way in order to localize the issue? We need to find out if my plugin causes it alone, or there is an interference with other plugins (mainly with caching plugins).

    Could you post here your findings here?

    Thread Starter sdgjrdtj

    (@sdgjrdtj)

    I tried disabling the caching plug in (Speed Optimizer version 7.6.0) and it works on all pages. I can’t keep the caching plug in disabled, though.

    Plugin Author Anna Bansaghi

    (@annabansaghi)

    Hi @sdgjrdtj thanks for letting me know. I have a suspicion where is the issue in Speed Optimizer.

    As I mentioned before, the core wp_is_mobile() function has been updated in 6.4.0 with checking the HTTP_SEC_CH_UA_MOBILE header.

    The Speed Optimizer plugin has two similar functions in their implementation:
    1. sg-cachepress/core/Helper/Helper.php::is_mobile()
    2. sg-cachepress/core/Helper/File_Cacher_Trait.php::is_mobile()

    The 1.) checks the existence of wp_is_mobile() and calls it if exists. In your case the new wp_is_mobile() will run.
    The 2.) is a copy of the old wp_is_mobile() function.

    I think, the Speed Optimizer plugin needs to test their is_mobile() implementations.

    Could you please connect with the developers of the Speed Optimizer plugin?

    Thread Starter sdgjrdtj

    (@sdgjrdtj)

    Hi Anna,
    I have changed hosting and therefore switched to a different caching system (Clearfy). Now it works on all pages on mobile side, the problem is that now it is also present on desktop side and I can’t remove it. How is it possible to remove it?

    Plugin Author Anna Bansaghi

    (@annabansaghi)

    Hi @sdgjrdtj ,

    wow, changing hosting is a big change!

    Yes, I can see the bar both on mobile and desktop. Just to make sure:
    – have you set and saved the “Display on Devices” to “mobile”, and
    – cleaned all caches after that?

    Can you please try:
    – Setting “Display on Devices” to “none”
    – Cleaning the caches
    – Open browser in Incognito mode, and check your site just in case
    – Setting “Display on Devices” to “mobile”
    – Cleaning the caches
    – Open browser in Incognito mode, and check your site

    Thread Starter sdgjrdtj

    (@sdgjrdtj)

    Actually, the hosting I already had to change it for other reasons. However I solved it by putting a custom css. Now it seems to work.
    Tnx

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.