Forums / Templates, Stylesheets, Page Layout / how to make SELECTED LINK in ezpage sidebox stands out

how to make SELECTED LINK in ezpage sidebox stands out

Locked

Started by keenskin on 16 May 2008, 8:57 AM · Views: 2,980

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
16 May 2008, 8:57 AM
#1
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

how to make SELECTED LINK in ezpage sidebox stands out

Hi, this is what I want to achieve.
If one of the links in ezpage sidebox is selected or clicked, then the selected link should stand out. i.e. different font color or size. I could see it works for category box, but not other for other sidebox. Please help if someone knows how to do this.
thanks

17 May 2008, 2:37 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,891
Plugin Contributions:
20

Re: how to make SELECTED LINK in ezpage sidebox stands out

There are too many combinations of ways that Zen can be put together to tell you how to do something without seeing the site.

You can get a copy of Firefox with the firebug add-on if you want to look at the page yourself.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 May 2008, 7:25 AM
#3
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

thanks dbltoe
hope I can find a way to do it

17 May 2008, 8:09 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,891
Plugin Contributions:
20

Re: how to make SELECTED LINK in ezpage sidebox stands out

So, you are unable to give us a link to the site?

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

17 May 2008, 7:18 PM
#5
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

I can't find a way

here is line to my site.
http://homeimproveonline.com/eleotin/

there is a category side box and help centers sidebox on left column.
if you click one of the link under category, i.e Diabetes, the font color change to orange, but non of links under hep centers work that way.

Please help!

18 May 2008, 12:43 AM
#6
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

can anyone knows how to make this possible?

18 May 2008, 5:27 AM
#7
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,891
Plugin Contributions:
20

Re: how to make SELECTED LINK in ezpage sidebox stands out

There's no distinction in the layout for ezpages between the selected and not selected listings. In the Categories, the id changes from not-selected to selected based on the user's click.
You can try adding at the end of the stylesheet```php
.ezboxmode ul li a.selected {
color: #FF6600;
}


The real question is which of the :shocking:eight:shocking: stylesheets you would use.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

18 May 2008, 6:21 AM
#8
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

I added the css code above, but still no success.
this is what I did for my tpl.ezpage.php

<?php /** * Side Box Template * * @package templateSystem * @copyright Copyright 2003-2005 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license <http://www.zen-cart.com/license/2_0.txt> GNU Public License V2.0 * @version $Id: tpl_ezpages.php 2982 2006-02-07 07:56:41Z birdbrain $ */ $content = ""; $content .= '<div id="' . str_replace('_', '-', $box_id . 'Content') . '" class="sideBoxContent">'; $content .= "\n" . '<ul class="ezboxmode">' . "\n"; for ($i=1, $n=sizeof($var_linksList); $i<=$n; $i++) { $content .= '<li><a href="' . $var_linksList[$i]['link'] . '">' . $var_linksList[$i]['name'] . '</a></li><div id="line"></div>' . "\n" ; } // end FOR loop $content .= '</ul>' . "\n"; $content .= '</div>'; ?>

and for my stylesheet.css

.ezboxmode {
margin: 0;
padding: 0;
list-style-type: none;
}

.ezboxmode ul li a.selected {
color: #FF6600;
}

I assume many people will need this small change, but couldn't find any post related to this. Please help if anyone knows how. thanks

19 May 2008, 9:20 PM
#9
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

anyone knows how to do this?
thanks.

29 May 2008, 7:53 AM
#10
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

I still serching for the answer. anyone knows how to make this possible?

4 Jun 2008, 2:28 PM
#11
karl19 avatar

karl19

New Zenner

Join Date:
Jun 2007
Posts:
62
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

We're also interested in hearing if there's a solution to this!

18 Aug 2010, 1:45 PM
#12
e81ny avatar

e81ny

New Zenner

Join Date:
Feb 2007
Location:
New York
Posts:
88
Plugin Contributions:
0

Re: how to make SELECTED LINK in ezpage sidebox stands out

Has anybody found any solution for this? I need it for a current project.. Help!!