rotate a second menu verticaly
-
hello there,
in my luju.fr site I try to rotate my second menu "verticaly" with this CSS trick I found :
.laynav.second_menu {
position: fixed;
right: -5em;
top: 50%;
text-align: center;
-webkit-transform: rotate(
90deg
);but it's not working correctly, I don't understand how to fix this, thank's for your help!
vertical menu image url)
-
I fix my mistake by myself, it's a 270° rotation !
with this it's OK :
.laynav.second_menu {
position: fixed;
right:-23em;
top: 60%;
text-align: center;
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
}I don't understand the "right:-23em;" to fix this menu to the right... if there is an other way I take it, thank's!
-
ah interesting!
maybe this is important too?
https://developer.mozilla.org/en-US/docs/Web/CSS/transform-originyes rotating can be confusing!!
-
thank's @arminunruh , your theme is magic ;)
-
thx <3<3<3<3
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it