Site logo

[Support request] How can I change the menu bar sticky navigation background color?

Home Forums Support [Support request] How can I change the menu bar sticky navigation background color?

Home Forums Support How can I change the menu bar sticky navigation background color?

  • This topic has 28 replies, 4 voices, and was last updated 4 years ago by David.
Viewing 14 posts - 16 through 29 (of 29 total)
  • Author
    Posts
  • #2210021
    David
    Staff
    Customer Support

    Do you mean the Sticky Logo ? If so in Customizer > Layout > Sticky Navigation you can adjust the Menu Item Height and the logo will increase to fit.

    #2216766
    Jonny

    Hello again, so i have managed to fix the logo size and background colour for the navigation, however the white background colour on the sticky nav does not seem to be working on mobile devices.

    #2216774
    Jonny

    and also on tablet devices, the size of the logo is much larger than it appears on desktop

    #2216799
    Ying
    Staff
    Customer Support

    Hi Jonny,

    and also on tablet devices, the size of the logo is much larger than it appears on desktop

    I just checked your site, on desktop the logo size is 250px * 48px, on tablet it’s 156px * 30px, so I don’t see the issue you are seeing.

    however the white background colour on the sticky nav does not seem to be working on mobile devices.

    As you are using mobile header on mobile, mobile header takes the navigation background color as its background color. Sop for the sticky mobile menu background color, try this CSS:

    .header-wrap nav#mobile-header.navigation-stick {
        background-color: white;
    }
    #2217173
    Jonny

    I added the CSS you provided and it did not solve the issue. I cleared cache on the site and cleared cache on mobile.

    Some other issues I am experiencing are the ‘back to top’ arrow is only appearing on pages and not posts.

    The search icon on mobile devices is unclickable, the search function/text cursor does not appear.

    All links across my site have to be clicked on twice for it to work. How can this be fixed so a user only has to click on a link once?

    Many thanks for your support.

    #2217820
    Ying
    Staff
    Customer Support

    I added the CSS you provided and it did not solve the issue. I cleared cache on the site and cleared cache on mobile.

    I’m not seeing the CSS on your site, how did you add it?

    Some other issues I am experiencing

    Can you open a new topic for non-related questions? Thanks!

    All links across my site have to be clicked on twice for it to work.

    Does this open happen on mobile? Please also open a new topic.

    #2218188
    Jonny

    I added the CSS in two places, the additional CSS in customiser and also in the Simple CSS plugin and still not working on mobile devices.

    #2218357
    David
    Staff
    Customer Support

    Can you add back the CSS in either place. And clear any caches then let me know so i can take a closer look.

    #2218425
    Jonny

    No worries, I have added the CSS and cleared cache

    #2218786
    Ying
    Staff
    Customer Support

    I’m still not seeing the CSS.

    Can you try disable your cache plugin for now?

    #2226252
    Jonny

    If I deactivate WP Rocket plug-in will I lose all current settings I have set up?

    #2226383
    David
    Staff
    Customer Support

    No – the settings are saved so you can de-activate without losing them.

    #2227409
    Jonny

    Ok, thanks for the confirmation. And let’s say I deactivate the plug-in and the nav-bar starts to appear the way I want it with the added CSS, what’s next? Am I able to activate the WP rocket plug-in again?

    Also, I noticed the sticky nav on mobile works on posts that I have published using the block editor but does not work on posts published with the classic editor.

    I have included the URL link to a post published with block editor (Lipsi Island) and a post that is published with classic editor (Bali itinerary)

    #2227570
    David
    Staff
    Customer Support

    The first thing to do is to disable the plugin, then clear any browser caches, and if possible test the site on different network ( to eliminate any ISP/Router caches ). If the site operates and looks correct, then we know its related to the WP Rocket optimizations.

    If thats the case, then its about eliminating which setting in WP Rocket is causing the problems. That is a process of elimination by disabling each setting OR asking WP Rocket for some advice on what their plugin is doing.

Viewing 14 posts - 16 through 29 (of 29 total)
  • You must be logged in to reply to this topic.