Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Do you have a place to put the CSS? If so, where?
I’ve created an attitude-child theme and I plan on adding any custom CSS into it.
Thanks
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Add this CSS:
#access ul {
display: table;
margin: 0 auto;
}
Bingo!!! That worked perfectly
Thank you
I was dithering around in Firebug for hours trying to isolate the CSS
I wish I knew a better way to track down CSS
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
If the ‘<li>‘ elements of the menu were displayed ‘inline-block‘ as they are on some themes then you probably could just do this:
#access ul { text-align: center; }
Hope that helps.
Ok I tried
#access ul {
display: table;
margin: 0 auto;
}
and I also tried your second suggestion
#access ul { text-align: center; }
Only the first one works
Thanks very much Andrew you’re a top bloke! 🙂