PDA

View Full Version : CSS Problem?


Matthew Treanor
11-09-2007, 02:18 AM
Hey all,

Ive made a template with the added custom.css file but when i put it on my website the menu doesnt change to the font size etc that i want.. as far as i kno my css code is right.. it's like soho is just ignoring that part of my css.. it's frustraing as .. any idea's?

either way here is the code!


Code:
div.vmenu_main_on { font-family: Arial;
font-size: 13px;
font-weight: bold;
padding: 0px 0px 0px 3px;

a.vmenu_main_on:link { color: #000000; font-family: Arial; font-size: 13px; font-weight:bold; text-decoration:none;}
a.vmenu_main_on:visited { color: #000000; font-family: Arial; font-size: 13px; font-weight:bold; text-decoration:none;}
a.vmenu_main_on:hover { color: #000000; font-family: Arial; font-size: 14px; font-weight:bold; text-decoration:none;}
a.vmenu_main_on:active { color: #D60C8C; font-family: Arial; font-size: 13px; font-weight:bold; text-decoration:none;}


This is the link for the site it's on.. http://www.howlingsuccess.com.au/

Thanks for you Help!

jaxpa
11-11-2007, 10:01 PM
Hi,

The CSS is only specified for the 'current' page (ie vmenu_main_on).

This means that only the active page will use the fonts etc that you have specified.(Confirmed by the larger font size with the hover function)

If you add the same CSS info for 'vmenu_main_off' then this will allow the non-active pages to display the same.

Hopefully I have explained this correctly and it makes sense. :ehheh:

Matthew Treanor
11-14-2007, 09:16 PM
Hey,

Thanks very much i now understand even more about css and the way soho works!

Thanks Again,
Matthew