![]() |
Editing Sort By!
Hi
Hope im posting in the right place, im trying to edit the colour of the writing that is displayed when viewing a list of products, "Sort by: Sort direction Cat No Product Price Default " I want to be able to adjust the colur independent of all other changes. http://www.swordmart.co.uk/store/ test site Ive tried editing my search_sort_by.tpl but to no luck, im currenley testing this on latest 4.0. branch. Any help would be great. Regards Jamie |
Re: Editing Sort By!
Probably defaults to the standard link text. If you want to add a differnet color, you need to create a new link style (a: link, a: hover, a: visited, a: active) and call the link style in those links. Moving to Template Editing.
|
Re: Editing Sort By!
Hi Sorry to be a pain but what ever i try, does not work, but I am a noob!
If possable could you tell me the changes i need to make? this is the code I have Code:
{* $Id: search_sort_by.tpl,v 1.3.2.1 2004/10/13 11:21:44 max Exp $ *} Also what would i need to add to my css? Many Thanks in advance Jamie |
Re: Editing Sort By!
Replace this:
style="TEXT-DECORATION: underline;" with this: class="sortby" Then add this to skin1.css: .sortby:link {COLOR: #000000; TEXT-DECORATION: none;} .sortby:visited {COLOR: #000000; TEXT-DECORATION: none;} .sortby:hover {COLOR: #CC0000; TEXT-DECORATION: none;} .sortby:active {COLOR: #000000; TEXT-DECORATION: none;} Then change the colors and styles for each accordingly. The colors above are black for the links, red for the hover. |
Re: Editing Sort By!
Thank you very much for your time and help, ill try this now.
regards Jamie |
All times are GMT -8. The time now is 05:39 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.