Home › Forums › Support › Extend horizontal submenu background This topic has 11 replies, 3 voices, and was last updated 6 years, 12 months ago by Tom. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts October 8, 2017 at 7:06 am #399480 Shakespeare Hi this is my first post and first purchase of generatepress. Moving forward I tried Tom’s horizontal menu but I would to ask how to extend the background color. See screenshot: https://prnt.sc/guroaz Thanks! October 8, 2017 at 8:48 am #399552 LeoStaff Customer Support Hi there, Which part? The grey or black? Can you link me to the site? October 8, 2017 at 9:05 am #399553 Shakespeare The black part. I want to extend it full width. https://fusion.shakescal.com October 8, 2017 at 11:03 am #399583 TomLead Developer Lead Developer You could try this CSS: .inside-navigation { position: static; } October 8, 2017 at 11:12 am #399590 Shakespeare Hi Tom, Now it fixed the issue. But one more thing, please check the link, how can I align the submenu list with the primary menu and make it contained. See the link =) thanks! October 8, 2017 at 11:02 pm #399764 TomLead Developer Lead Developer Hmm, it’s not possible to contain it like that unfortunately. You can however center it: .main-navigation ul ul.sub-menu { text-align: center; } ul.sub-menu li { float: none; display: inline-block; } October 9, 2017 at 1:19 am #399789 Shakespeare Thanks Tom! Now it’s ok. One more thing, how do I change the hover background and just stick it to orange. See screenshot: https://goo.gl/3woqoC Lastly, how do I revert it to normal mobile menu. Thanks! October 9, 2017 at 8:33 am #400034 LeoStaff Customer Support Have you tried Customizer > Colors > Primary Navigation > Background Hover? Not sure what you mean by reverting it to normal mobile menu? October 9, 2017 at 8:38 am #400042 Shakespeare Hi Leo, The colors worked. I missed it my apologies. I’m referring to the mobile view, the primary sub-navigation doesn’t work well. See: https://image.prntscr.com/image/uxoFjVUhQB_nL2a18TJplg.png Please advise. Thanks October 9, 2017 at 9:39 am #400087 TomLead Developer Lead Developer Try adding all of your custom CSS you added for the sub-menu in a media query like this: @media (min-width:769px) { /* custom menu CSS in here */ } October 9, 2017 at 9:46 am #400097 Shakespeare Nailed it Tom, cheers! October 9, 2017 at 9:48 am #400100 TomLead Developer Lead Developer Glad I could help! 🙂 Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In