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 » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

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


  #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
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Yes the CSS inserts get tacked to the end of the themes CSS so it takes precedence over another CSS with the same selectors.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

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 11:00 PM.


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