Hey There,
I watched the video on how to center your menu, and am still having some difficulties. I believe I might have have changed some of the code in an earlier venture, and sadly the file with my changes got lost to a computer crash. Here's what I've got.
/**
* Primary Links Positioning
*/
/* FLOAT PRIMARY CENTER*/
/*
#primary .primary-inner {float: center;}
*/
ALIGN PRIMARY CENTER
#primary .primary-inner {display: table; margin: 0 auto; text-align: center;}
/**
* Primary Links Style
* Example styles to get you started.
*/
The menu is still to the left.
Thanks
Devon
Comments
Comment #1
Deepika.chavan commentedHi,
Please try adding following CSS to your theme's "style.css" file in the /css directory, I used this to place my menus to the center, on my local site. Please check the attachment to see how it looks.
Please change the width of "#nav .primary-links" according to your menus.
Rgrds,
Deepika Chavan.
Comment #2
Jeff Burnz commentedThe above code is not cross browser compatible - it will work for many browsers, but not all; and you have definitely changed something because i notice you have this above it...
... there's not such thing as float: center :)
Can't really help without seeing the actual site, its too hard to know what has been changed etc, you could post your CSS here but personally I don't really have time to debug entire stylesheets (someone else might though), its much easier to look at the site with Firebug.