Menu on the left/right side!
-
Hey guys,
im searching for an option to show the menu like this:
-https://www.ramonhaindl.comAs far as I know he is using lay theme too. So if you guys have a good hint, let me know!
Thank you very much <3
Cheers Janne -
Dear Janne
@JanneKern
You are correct that www.ramonhaindl.com is using Lay Theme.
To help better understand what is happening.
Firstly Lay Theme's Primary and Secondary menu's are used ( 2 menu style ) 1 on the left & 1 on the right.
Then the following Custom CSS had been applied ( this case for the left menu: )
position: fixed; left: 1em; top: 50%; text-align: center; -webkit-transform: rotate( 270deg ); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate( 270deg );The main thing being a 270 degree rotation.
& for the right menu:
position: fixed; right: -5em; top: 50%; text-align: center; -webkit-transform: rotate( 90deg ); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate( 90deg );Mainly a 90 degree rotation.
Here in the below image are the results if i remove the 270 degree adjustment off the left menu:

Custom Code can be added to Lay Theme via:
Lay options > Custom CSS & HTML >
Also refer to the documentation page for help if needed:
Best wishes Janne and good luck! π
Richard
-
Dear Janne
@JanneKern
You are correct that www.ramonhaindl.com is using Lay Theme.
To help better understand what is happening.
Firstly Lay Theme's Primary and Secondary menu's are used ( 2 menu style ) 1 on the left & 1 on the right.
Then the following Custom CSS had been applied ( this case for the left menu: )
position: fixed; left: 1em; top: 50%; text-align: center; -webkit-transform: rotate( 270deg ); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate( 270deg );The main thing being a 270 degree rotation.
& for the right menu:
position: fixed; right: -5em; top: 50%; text-align: center; -webkit-transform: rotate( 90deg ); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate( 90deg );Mainly a 90 degree rotation.
Here in the below image are the results if i remove the 270 degree adjustment off the left menu:

Custom Code can be added to Lay Theme via:
Lay options > Custom CSS & HTML >
Also refer to the documentation page for help if needed:
Best wishes Janne and good luck! π
Richard
@Richard hey Richard, thanks for the quick response. I pasted it but didn't worked. I switched from "(" to "{" made no difference. Did I pasted it in the wrong column for css code?
Or do I need to take the window for the Top/Head CSS Code?
can you tell me what is wrong?. Sorry for bothering with that (hopefully) easy stupidity of mine.
I think the CSS need like a navigation where he applies the code?
Cheers Janne
-
Right:
.primary { position: fixed; left: 1em; top: 50%; text-align: center; -webkit-transform: rotate( 270deg ); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate( 270deg ); }Left:
.second-menu { position: fixed; right: -5em; top: 50%; text-align: center; -webkit-transform: rotate( 90deg ); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate( 90deg ); }Not show if left and right are correct this way. Iβm on my phone and canβt check. Otherwise just put it the other way round. :)
-
Thanks @kalamakumaran !! π₯π
-
@kalamakumaran said in Menu on the left/right side!:
.primary {
position: fixed;
left: 1em;
top: 50%;
text-align: center;
-webkit-transform: rotate(
270deg
);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(
270deg
);
}big thanks to both of you, it worked!
-
just in case somebody needs the same code, this code worked for my layout:
.primary { position: fixed; left: 1em; top: 50%; text-align: center; -webkit-transform: rotate( 270deg ); -moz-transform: rotate(270deg); -ms-transform: rotate(270deg); transform: rotate( 270deg ); } .laynav.second_menu { position: fixed; right: -5em; top: 50%; text-align: center; -webkit-transform: rotate( 90deg ); -moz-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate( 90deg ); }here's the link for the site.
www.jannekern.dethanks to all the kind help guys!
-
Dear @JanneKern
Thank you for posting! thats great for others in the future!! π₯
Best wishes
Richard
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login