Post by daydreamer » Sat Aug 18, 2007 10:17 pm

A little advise would be great as I have tried everything I can Think of.

I want to set information & category menus to different styles e.g active,hoover etc

Thanks in advance

This is what I have but what /where do i set the style to in the information.tpl


.infolinks a:link, .infolinks a:visited, .infolinks a:active {
    color: #666;
    text-decoration: none;
    font-weight: bold;
}

.infolinks a:hover {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
}
Last edited by daydreamer on Sat Aug 18, 2007 10:27 pm, edited 1 time in total.

daydreamer


Post by ogun » Sat Aug 18, 2007 10:36 pm

If I'm looking at the right part of the page, they're in a div with a class of 'information'. Can you replace 'infolinks' with 'information' in your css?

If that works but the class is used again elsewhere in the document in a way you don't like, use a contextual selector to specify divs with the 'information' class in the element with the id, 'column'. E.g.

#column div.information a:hover {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
}

Active Member

Posts

Joined
Tue Aug 14, 2007 6:04 am

Post by daydreamer » Sat Aug 18, 2007 11:59 pm

ogun wrote: If I'm looking at the right part of the page, they're in a div with a class of 'information'. Can you replace 'infolinks' with 'information' in your css?

If that works but the class is used again elsewhere in the document in a way you don't like, use a contextual selector to specify divs with the 'information' class in the element with the id, 'column'. E.g.

#column div.information a:hover {
    color: #ff0000;
    text-decoration: none;
    font-weight: bold;
}


Many thanks I will give this a go

Thanks Again

daydreamer

Who is online

Users browsing this forum: No registered users and 4 guests