Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I am having trouble centering the logo and the navigation on my zen sub-theme. I have searched all the forums and tried all the suggestions but nothing works. This is seriously driving me insane.
Here is a link to my site: http://coffshbr.com/marlins2/
Could someone *please* help me out here before I completely give up on Drupal, I've spent time trying to learn it and after all this time not being able to centre anything? Frustrating to say the least.
Comments
Comment #1
hayyyyydos CreditAttribution: hayyyyydos commentedI have worked out how to center the navigation, however I still can't center the logo.
To center the navigation, you need to set #navigation .menu to have text-align:left; however this has to be done in the misc.css file, NOT the style.css file.
Any assistance with centering the logo would be much appreciated.
Thanks
Comment #2
hayyyyydos CreditAttribution: hayyyyydos commentedAnd, of course, I worked out how to center the logo.
In misc.css, change:
to:
Comment #3
Christopher James Francis Rodgers CreditAttribution: Christopher James Francis Rodgers commentedComment #4
star-szr@hayyyyydos glad you got it sorted out. Fixing up the category and priority because this was not a major bug report.