- This topic has 7 replies, 4 voices, and was last updated 5 years, 7 months ago by
Tom.
-
AuthorPosts
-
October 4, 2020 at 5:58 am #1471494
George
Hello,
Would it be possible to move the top bar to the left hand side of the screen, on a vertical position, like shown in the screenshot attached?
Practically, I want to move the entire top navigation to the left-hand side of the screen, on desktop.
October 4, 2020 at 6:49 am #1471538David
StaffCustomer SupportHi there,
not sure about that. Do you have a site with the layout in place so i can take a look?
October 4, 2020 at 1:17 pm #1472077George
I sent you the link inside private information area.
October 4, 2020 at 6:08 pm #1472242Elvin
StaffCustomer SupportHi,
We can copy the style created from our very own Slideout theme from Site Library. https://gpsites.co/slideout/
/* GeneratePress Site CSS */ /* Side menu CSS */ @media (min-width: 769px) { body { padding-left: 60px; } } #site-navigation { position: fixed; left: 0; min-height: 100vh; max-width: 60px; overflow: hidden; } #content { padding: 40px; } #main, .sidebar > .inside-right-sidebar, .sidebar > .inside-left-sidebar{ margin-top: 0; margin-bottom: 0; } #site-navigation .main-nav > ul { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-height: 100vh; } .admin-bar #site-navigation .main-nav > ul { min-height: calc(100vh - 32px); } .slideout-toggle { -webkit-box-ordinal-group: -9; -ms-flex-order: -10; order: -10; } #site-navigation .rotate { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); margin-bottom: auto; white-space: nowrap; } @media (max-width: 768px) { #site-navigation .menu-toggle { display: none; } } .site-footer { padding: 0 40px; box-sizing: border-box; }Also, make sure to add
rotateclass to your menu items onAppearance > Menuso the display vertically on the side.Let us know if it works for you.
October 6, 2020 at 1:06 am #1474124George
Hello,
Thank you, it worked!
Now, can it be possible to move the hamburger menu to the center of the screen, and the social icons to the bottom (like in your slideout theme)?
October 6, 2020 at 9:44 am #1474945Tom
Lead DeveloperLead DeveloperYou could try this:
li.slideout-toggle { margin-top: auto; margin-bottom: auto; }October 6, 2020 at 12:09 pm #1475147George
Awesome, it worked!
Thank you!
October 6, 2020 at 3:52 pm #1475432Tom
Lead DeveloperLead DeveloperNo problem!
-
AuthorPosts
- You must be logged in to reply to this topic.