![]() |
How to add a thin frame work around category images?
Hi,
Does anyone know how I can add a thin frame work around each category image? Thanks for helping out in advance! Cheers, Nico |
Re: How to add a thin frame work around category images?
Quote:
What about this? :) PHP Code:
|
Re: How to add a thin frame work around category images?
Hi Yurij,
Sorry, I used a wrong title and description for the border I need. Actually I need a piece of code that will add a thin border for each subcategory picture. I am using this mod for subcategory in columns with descriptions and icons: http://forum.x-cart.com/showthread.php?t=3848 Cheers, Nico |
Re: How to add a thin frame work around category images?
In the other thread you referenced, it looks like this is what calls the icon image....
Code:
<td valign="top" width="70" align="center"> Anyway, what if you added a class to your stylesheet named maybe imgicon and have border: 1px solid #000000; as the properties? Maybe something like... <a class="alt" href="home.php?cat={ $subcategories[cat_num].categoryid }"><font class="imgicon"><img src../icon.php?categoryid={$subcategories[cat_num].categoryid}> </font></a> |
Re: How to add a thin frame work around category images?
My bad, I was looking at the code at the start of the thread. At any rate, making the imgicon class and adding it as a font class to the image call should do what you want.
|
Re: How to add a thin frame work around category images?
Thanks JWait! I will look into the code to see if it works :)
|
All times are GMT -8. The time now is 03:33 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.