Menu and Sub Menu right aligned
-
Hi there,
is there a possibility to align my menu and submenu to the right, not to the left?
With my CSS basics I tried to work with the text-align property "text-align: right" but it didn't work.
Here's a picture of the current menu,

and the menu I'd like to have:

Here the url of the website: http://volkercrone.de
Thanks for your help,
Best,
Ilina
-
Dear @Ilina-Catana
try this here:.primary .sub-menu li { display: block; position: relative; text-align: right; margin: 0px; margin-left: -38px; }Best!
Marius
-
Dear @Ilina-Catana
try this here:.primary .sub-menu li { display: block; position: relative; text-align: right; margin: 0px; margin-left: -38px; }Best!
Marius
Dear @mariusjopen
thanks a lot for your answer! I adapted it with "margin-left: -81px; and it worked perfectly!
Thanks again...
Best,
Ilina
-
Dear @Ilina-Catana
cool! Happy to hear!Marius
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
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