Forums / Templates, Stylesheets, Page Layout / CSS help needed with stock template.

CSS help needed with stock template.

Locked
Results 1 to 3 of 3
This thread is locked. New replies are disabled.
02 Jul 2007, 21:04
#1
ncjimgir avatar

ncjimgir

New Zenner

Join Date:
Mar 2007
Posts:
24
Plugin Contributions:
0

CSS help needed with stock template.

I am trying to get the links in my side boxes to have the same effects. One set of links turns bold when selected while the other sets of links turn red when highlighted but do not change color when selected.

You can see my project here: http://overnetusa.com/v2

I would like to get all of the links on my sideboxes to turn red when highlighted and bold when selected.


Thanks,
Jim
02 Jul 2007, 22:15
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Posts:
21,876
Plugin Contributions:
6

Re: CSS help needed with stock template.

To make the "Services" (categories) turn red on hover:

a.category-top:hover {color: #ff0000;}

Making the other links bold when selected is more of a job. There is not a mechanism available in the base code for that.
You could test for $current_page_base == 'whatever' and insert a new class if the link being processed for display matches, in the appropriate sidebox tpl file.

P.S. - This is what the breadcrumbs are good for, and disabling them makes it that much harder for your customers to know where they are on your site.
03 Jul 2007, 14:15
#3
ncjimgir avatar

ncjimgir

New Zenner

Join Date:
Mar 2007
Posts:
24
Plugin Contributions:
0

Re: CSS help needed with stock template.

Thanks for the help. That gets me half way there.

Much appreciated,
Jim