StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
  #1  
Old 03-31-2011, 10:45 PM
mhuber mhuber is offline
Registered User
Genesis Member
 
Join Date: Nov 2010
Posts: 66
Default CSS class for custom menu - alignment issue and active page issue

I set up a custom menu in the secondary sidebar, and customized the css.

The menu aligns right instead of aligning center. I'd prefer to widen it towards the left, but I'm not able to control the width, so centering it is just a compromise.

The active page feature does not work on the menu buttons

The name of the class entered in WP for each menu item is sidebarmenu.

Here is the css ...

.sidebarmenu a {
display: block;
background-color: #990033;
border-top: 1px solid #dddddd;
text-decoration: none;
font-size:12px;
text-align:right;
font-family:vedana, arial, sans-serif;
font-weight:bold;
padding: 7px 20px 7px 6px;
color: #FFFFFF;
line-height:1;
background-image:url(http://www.thewealthydentist.com/ima...nu-arrow.gif);
background-position:right;
background-repeat:no-repeat;
}

.sidebarmenu a:hover, .sidebarmenu a:active, .sidebarmenu a:focus {
background-color: #996666;
}

The site is located here ...

http://vps2612.inmotionhosting.com/~...5/development/
  #2  
Old 03-31-2011, 11:12 PM
mhuber mhuber is offline
Registered User
Genesis Member
 
Join Date: Nov 2010
Posts: 66
Default

UPDATE:

Got the active page working by adding this to CSS ...

.sidebarmenu.current_page_item a {
background-color: #666666;
}


Still trying to figure out how to widen menu towrads the left side of the secondary sidebar.
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Menu Issue yourmwr General Discussion 2 09-15-2010 02:14 PM
Alignment Issue Under IE on Custom Page Template joep General Discussion 6 02-01-2010 05:32 PM


All times are GMT -5. The time now is 06:24 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.