Move the menu up and Width problem
-
Almost done here. But need help. I want to move up the menu. It seems my own costumized header-image separated it from the menu, not as in the original, and added extra white space between them and now I wanna move it up “attached” to the headerimage again.
I tried edit this without any success.
#access {
background: #3e0707;
display: block;
float: left;
margin: 1;
width: 979px;
font-weight: bold;Secondly why is my blog so wide? I need to shrink the width. If you scroll to the right. I haven’t found the full blog width code which makes it look like this.
Theme: Twenty Ten 1.5
http://blog.christofferboman.se/
-
Hello.
This will take care of your spacing problem
#site-title { margin: 0; }
Oh and make sure you put that either in a child theme style sheet or use a plugin like Jetpack or Custom CSS that allows you to add your own styles without directly altering Twentyten’s style sheet.
Thanks that solved it smoothly.
Yeah I heard about Jetpack. But thanks for reminding me.I still mark it as NOT RESOLVED because the bottom width is still a little issue for me but I figure it out. It looks good however in my iphone but not on a regular screen. Weird.
This is your offender:
#access .menu-header, div.menu { font-size: 14px; margin-left: 410px; <----- width: 928px; }
When I remove
margin-left: 410px;
you don’t get the horizontal scroll.I imagine, though that you want your menu to be centered. I’ll play around with it a bit…
This works:
#access .menu-header ul, div.menu ul { margin: 0 auto; width: 20%; }
However, as you add more menu items you will need to increase the width.
Someone out there may have a better solution…
You definitely should NOT be modifying any theme files – all of your changes will be lost when you update WP – which you should do ASAP since 3.6 was just released.
Thanks alot! Centering the menu is not as important. I may alter things later as I understand them better now.
I already have the 3.6 version, but thanks for reminding.
Yeah it worked. Thank you! Tracy
No problem!
- The topic ‘Move the menu up and Width problem’ is closed to new replies.