Site logo

[Resolved] Menu/Header Width Issue

Home Forums Support [Resolved] Menu/Header Width Issue

Home Forums Support Menu/Header Width Issue

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2118561
    Brent Wilson

    I am running into an issue on a site where I have the body set to a more narrow width in order to accommodate a decorative right column on the site. But setting the header to merge seems to cause it to extend out beyond the narrower body and over the decorative column. Please watch this Loom Video I made showing the issue: https://www.loom.com/share/4ddc59fc68504b069ce22ae740a3f7ae. What can I do to solve this issue?

    Thanks!

    #2118575
    Ying
    Staff
    Customer Support

    Hi Brent,

    Can you link us to the site?

    #2118583
    Brent Wilson

    Ooops, sorry. Here is the link: https://wordpress-483838-2431328.cloudwaysapps.com/

    #2118623
    Ying
    Staff
    Customer Support

    Try this CSS:

    .header-wrap .navigation-stick:not(.gen-sidebar-nav) {
        right: 14.2857% !important;
        width: calc( 100% - 14.2857%) !important;
    }
    
    body .header-wrap {
        right: 14.2857%;
    }

    Let me know 🙂

    #2118626
    Brent Wilson

    That CSS seems to have solved the issue! Thanks so much!

    #2118633
    Brent Wilson

    Actually, that CSS solved the issue on the front page where I have the header merge applied. But it didn’t solve the issue on other pages where the sticky menu still extends across the decorative right column. Any idea what I need to fix that issue? When I apply the header merge to the whole site, it is working okay on other pages. But if I don’t have header merge applied to a page, the sticky menu is still extending across the full width of the site.

    #2118639
    Brent Wilson

    For example: see this page: https://wordpress-483838-2431328.cloudwaysapps.com/style-guide/. The menu is now contained within the area where I want it until I scroll down and the stick menu kicks in. Then it is displaying the sticky menu full-width.

    #2118645
    Ying
    Staff
    Customer Support

    In that case, remove.header-wrap from this CSS:

    .header-wrap .navigation-stick:not(.gen-sidebar-nav) {
        right: 14.2857% !important;
        width: calc( 100% - 14.2857%) !important;
    }
    #2118648
    Brent Wilson

    Great, that seems to have solved the issue! Thanks!

    #2118653
    Ying
    Staff
    Customer Support

    You are welcome 🙂

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