Home › Forums › Support › Need the top menu in header widget horizontal This topic has 10 replies, 5 voices, and was last updated 3 years, 11 months ago by David. Viewing 11 posts - 1 through 11 (of 11 total) Author Posts February 22, 2017 at 4:21 am #282361 Bebe I need to modify the menu inside the header widget to be horizontal like the top level menu. http://hiddenvalleylakegolfclub.com/beta/ February 22, 2017 at 8:07 am #282465 LeoStaff Customer Support Hi there, Not too sure what you meant? The header widget is currently just a Member Log In link? Let me know. February 22, 2017 at 8:14 am #282474 Bebe Sorry, it has an additional link that only shows when you’re logged in. I just need them to show side by side rather than underneath. February 22, 2017 at 8:14 am #282475 Bebe It’s a menu inside that widget, not just a link. February 22, 2017 at 11:35 am #282574 TomLead Developer Lead Developer Give this CSS a shot: .header-widget .widget .menu li { display: inline-block; margin: 0 5px; } .header-widget .widget .menu li ul { display: none; } May 1, 2020 at 6:01 am #1264648 Martin Hi, This code works great for desktop but I’d like the menu to stay on two separate lines on mobile. Is that possible? Thanks! May 1, 2020 at 6:56 am #1264717 DavidStaff Customer Support Hi there, you can add the Code that Tom provided inside a media query to it only applies to larger devices: @media (min-width: 769px) { .header-widget .widget .menu li { display: inline-block; margin: 0 5px; } .header-widget .widget .menu li ul { display: none; } } More info on @media: https://docs.generatepress.com/article/responsive-display/#responsive-breakpoints May 1, 2020 at 7:32 am #1264751 Martin Works a treat thank you! Just one more thing – the header widget is appearing above the logo on mobile view. Can I re-arrange so the header widget appears below the logo? Thanks! May 1, 2020 at 7:36 am #1264754 DavidStaff Customer Support Try this CSS: @media (max-width: 768px) { .inside-header { display: flex; flex-direction: column; } .site-logo { order: -1; } .nav-float-right .header-widget { top: unset; } } May 1, 2020 at 7:42 am #1264761 Martin Thanks this works! May 1, 2020 at 8:15 am #1265031 DavidStaff Customer Support You’re welcome Author Posts Viewing 11 posts - 1 through 11 (of 11 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In