Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

Where to put styling for a, li, ul etc.


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jul 18, 2012, 08:24 AM
aeriph
 
13 posts · Sep 2010
I'm trying to style the page menu into separate 'buttons' with different colours for hover, active etc. I just can't figure out where to put styling in the ul, li, a sections of the CSS. Could someone explain where these go?

Currently CSS inserts looks like this (I'm assuming CSS inserts override the settings in ata options):

site is at http://eastasiastudent.net



Code:
/* ================================================ */
/* Page menu background                             */
/* ================================================ */
div#menu1 { 
	height: 40px;  
	margin-top:0px; 
	background: white; 
}
/* ================================================ */
/* Page Menu item's background and border           */
/* ================================================ */
div#menu1 ul.rMenu {
	background: white;
	border: none 0px; 
}

/* ================================================ */
/* Page Menu item                                   */
/* ================================================ */

ul.rMenu li,
ul.rMenu li a:link,
ul.rMenu li a:visited {
	background: #aaaaff;
	color: #000000;
	border: 1px solid #5555ff;
	padding:0.2em;
	margin:0.2em;
}

ul.rMenu li a:hover {
	background: #8888ff;
}

ul.rMenu li a:active {
	background: #5555ff;
}

Last edited by aeriph; Jul 18, 2012 at 08:27 AM.
  #2  
Old Jul 18, 2012, 01:41 PM
juggledad's Avatar
juggledad
 
20,010 posts · Mar 2009
OSX 10.6.8/10.7.3 WP 2.8.x/2.9.x/3.x Atahualpa 3.5.x/3.7.x Safari 5.x Firefox 11 XP
Yes the CSS inserts get tacked to the end of the themes CSS so it takes precedence over another CSS with the same selectors.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Styling tr id=bodyrow geneise Center area post/pages 3 Jul 12, 2012 08:00 PM
Styling problems mcphoto Page & Category Menu Bars 4 Nov 26, 2011 05:04 PM
Styling user9878 Sidebars & Widgets 0 Nov 14, 2010 11:45 PM
Need Styling Help NFLfbJunkie New Versions, & Updating 6 May 26, 2010 07:45 PM


All times are GMT -6. The time now is 09:44 PM.


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