Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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
Help Where to put styling for a, li, ul etc.

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,765 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



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 12:02 AM.


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