Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » Forum Usage » Forum How-To »

Trouble with centering header area - page & category menus


  #1  
Old Jul 18, 2009, 07:00 PM
oddree
 
2 posts · Jul 2009
I've dealt with the issues people have reported on the dashed border but seem to have another problem. Here's my situation with both the page menu bar and the category menu bar:

I have a background color for the bar that is different than the overall page background. When the content of either bar is left or right justified the bar displays the entire width of the page (as desired). However, when I try to center either bar (%page-center or %cat-center) the background of the bar behind text is correct but to the left and right of the text (blank space) the color is the standard page background.

If that makes sense to someone, can you help me figure out a solution or tell me what I'm doing wrong? Thanks.
  #2  
Old Jul 22, 2009, 10:57 AM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
the <UL> of the menu bar is wrapped into a div#menu1. The UL is only as wide as the menu tabs require, the div spans the whole layout width. To get a bar effect put the background color on the div

CSS Insert

div#menu1 {
background: #123456;
}
  #3  
Old Jul 22, 2009, 01:21 PM
oddree
 
2 posts · Jul 2009
Awesome. Thanks. BTW, I love this theme. You've done a great job and your support of it is wonderful!!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Highlight active category / page item in menus vjoseph Page & Category Menu Bars 31 Apr 30, 2012 06:08 PM
[SOLVED] 2 little issues I'm having (no header image in firefox &amp; problem with page m andytaylor Header configuration & styling 3 Jun 8, 2009 03:14 AM
Styling for my header menus is way out in IE ? pjeaje Header configuration & styling 0 Jun 3, 2009 08:07 PM
Category description & category classes shedhed Page & Category Menu Bars 4 Mar 22, 2009 01:25 AM
Centering BOTH Page and Category menu bars paulae Page & Category Menu Bars 1 Mar 21, 2009 09:09 AM


All times are GMT -6. The time now is 08:39 AM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.