Forums
Home / Theme: Spun / Changing navigation left ro right
(@jbsv)
10 years, 8 months ago
The default navigation is going right to left (first menu item is on the far right, second to its left, and so on).
For the life of me, I can’t find where this is defined, by reading the css file or using Firebug.
I would like to change it to left to right (first menu item on the left of the navigation box, and so on).
Any idea?
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Do you have a space in the dashboard to hold CSS modifications (other than directly in theme files)?
Duh, I should have mentioned this. Yes I know how to use a plugin to add CSS, or make a child theme.
My question is a CSS question, what rules define the navigation menu to stock up items from right to left?
I assume its some kind of float, but can’t find it anywhere 🙁
Try adding this CSS to your Custom CSS plugin or Child Theme style.css file:
.main-navigation ul { float: right; } .main-navigation li { float: left; }
Seems to work, thanks a lot!