How to center the menu and align site title Twenty Eleven
-
Hi I’m new to usin WordPress and coding in general. I’m currently working on this site: http://haderslevbispevalg.dk/wordpress/
I’ve created a childs theme of the theme.
1. I hope it’s possible to move the site to “http://haderslevbispevalg.dk/” as soon as I’m done with it. I guess I can do that by moving the wordpress folders on the server?
2. I’m trying to center the menu. I tried to follow this guide but it didn’t work for me.
3. I’m trying to get the Site Title and Site Description aligned with the red page titles. But I haven’t found any guides on how to do that.
-
And I’m btw. also trying to change the font-size and colors of the widget titles. No luck so far.
Thanks for the fast reply!
Is the ul element in the style.css?
Yes it’s on line 576, why?
Can you maybe be a little more detailed in the decription of how I solve the problem – as I wrote I’m a newbie to CSS 🙂
What CSS have you so far?
Mostly random stuff that I found here in the support forum and then copied to the page I’m working on. So pretty much none.
Try adding this to your CSS file:
#access ul { margin: 0 auto; width: 760px; }
Make sure to add that CSS recommended by WPyogi to your Child Theme CSS file.
To change the alignment of the header text, try adding this to your stylesheet and adjusting the margin:
#branding hgroup { margin-left: XXpx; }
See this re: moving the site:
Thanks a lot. I’ll have a look at it right away!
This was already in the stylesheet.
#branding hgroup {
margin-left: XXpx;
}I tried to change the XXpx but nothing happens on the livesite when I refresh the browser. Except once which means that the title has now moved to the far right side of the site. What can I have done wrong?
It seems like it worked perfectly with centering the menu. Thanks!
Everything works now. Thanks for the help everyone.
- The topic ‘How to center the menu and align site title Twenty Eleven’ is closed to new replies.