- This topic has 9 replies, 2 voices, and was last updated 4 years, 1 month ago by
Ying.
-
AuthorPosts
-
February 14, 2022 at 1:04 pm #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!
February 14, 2022 at 1:12 pm #2118575Ying
StaffCustomer SupportHi Brent,
Can you link us to the site?
February 14, 2022 at 1:20 pm #2118583Brent Wilson
Ooops, sorry. Here is the link: https://wordpress-483838-2431328.cloudwaysapps.com/
February 14, 2022 at 2:05 pm #2118623Ying
StaffCustomer SupportTry 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 🙂
February 14, 2022 at 2:07 pm #2118626Brent Wilson
That CSS seems to have solved the issue! Thanks so much!
February 14, 2022 at 2:11 pm #2118633Brent 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.
February 14, 2022 at 2:15 pm #2118639Brent 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.
February 14, 2022 at 2:19 pm #2118645Ying
StaffCustomer SupportIn that case, remove
.header-wrapfrom this CSS:.header-wrap .navigation-stick:not(.gen-sidebar-nav) { right: 14.2857% !important; width: calc( 100% - 14.2857%) !important; }February 14, 2022 at 2:21 pm #2118648Brent Wilson
Great, that seems to have solved the issue! Thanks!
February 14, 2022 at 2:25 pm #2118653Ying
StaffCustomer SupportYou are welcome 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.