- This topic has 35 replies, 2 voices, and was last updated 5 years, 5 months ago by Harris.
-
AuthorPosts
-
October 7, 2018 at 10:52 am #695571Harris
Hello
Is it possible somehow to have a Vertical, non sliding (always “open) header on the right side?
Thanks
October 7, 2018 at 11:45 am #695600DavidStaffCustomer SupportOctober 7, 2018 at 8:50 pm #695765HarrisYes David. Also including the site logo.
How can this be achieved and how can I control its width?Thanks
October 8, 2018 at 1:27 am #695847DavidStaffCustomer SupportAre you starting a new site? If so you can install the Sider site fro the library and i can walk you through the CSS changes to switch it to the right and increase the width etc.
October 8, 2018 at 1:30 am #695851HarrisIt’s a new site, but the rest will be done using elementor.
I guess this won’t be a problem or that no unwanted settings will be imported by importing sider site.Am I right?
October 8, 2018 at 1:34 am #695856DavidStaffCustomer SupportYou can use Elementor on the site, the only other changes that may be required is the main content padding. All of these fixes will require some editing of the CSS that is loaded with the Site. If thats ok then we’re happy to help.
October 8, 2018 at 1:37 am #695858HarrisFine David!
Thanks. I will install the site and I will come back to you.Thanks
October 8, 2018 at 1:39 am #695860DavidStaffCustomer SupportThats great.
October 8, 2018 at 10:32 am #696397HarrisHello!
I have imported the Sider site (without the demo content).
Please guide me for the rest when you can.
Please also let me know how to control the header width and the sub-menus.Thanks
October 8, 2018 at 11:04 am #696439DavidStaffCustomer SupportSo, go to Customizer > Additional CSS and find this:
@media (min-width: 1000px) { body { padding: 0 50px 50px; margin-left: 300px; } .site-header { position: fixed; left: 0; top: 0; width: 300px; z-index: 300; height: 100%; overflow: auto; overflow-x: hidden; -webkit-backface-visibility: hidden; -webkit-overflow-scrolling: touch; transition: .1s ease; } .admin-bar .site-header { top: 32px; } .site-header .main-navigation li { float: none; } }
And replace it with this:
@media (min-width: 1000px) { body { padding: 0 50px 50px; /* This line you change to 0 to remove any additional padding */ margin-right: 300px; /* change this to match site header width */ } .site-header { position: fixed; right: 0; top: 0; width: 300px; /* Adjust width */ z-index: 300; height: 100%; overflow: auto; overflow-x: hidden; -webkit-backface-visibility: hidden; -webkit-overflow-scrolling: touch; transition: .1s ease; } .admin-bar .site-header { top: 32px; } .site-header .main-navigation li { float: none; } }
I have commented the two lines you need to change to adjust the width currently set to 300px. Also highlighted the line where you can remove the content padding.
October 8, 2018 at 11:56 pm #696801HarrisThanks David!
I guess it won’t be a problem to move all CSS to “Simple CSS” so I won’t have CSS code here and there.I might also need some help to handle the submenus. If so I will come back.
October 9, 2018 at 3:04 am #696917DavidStaffCustomer SupportNot a problem at all moving it all to Simple CSS.
Let us know – there are a few topics regarding submenus on Sider, but here to help ๐
October 30, 2018 at 9:04 am #714521HarrisFound it. Sorry!
October 30, 2018 at 11:29 am #714689DavidStaffCustomer SupportNo problems ๐
October 30, 2018 at 11:41 am #714705HarrisOnce I got you here two things.
1. How can I add some margin before the navigation or after the logo? (in the vertical header). I want a larger gap between logo / navigation.
2. The GP template (site) you advised me to import had some stuff just after the navigation, but once I didn’t imported the content they obviously aren’t inserted in my header. How can I add some stuff (a couple of elementor shortcodes) after the navigation? Should I use a hook or is there some other way?Thanks
Harris -
AuthorPosts
- You must be logged in to reply to this topic.