| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to add a thin frame work around category images? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi,
Does anyone know how I can add a thin frame work around each category image? Thanks for helping out in advance! Cheers, Nico
__________________
____________________________ X-Cart Gold 4.1.10 EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here... |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() Quote:
What about this? ![]() PHP Code:
|
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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
__________________
____________________________ X-Cart Gold 4.1.10 EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here... |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() In the other thread you referenced, it looks like this is what calls the icon image....
Code:
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>
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() 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.
__________________
Two Separate X-Cart Stores Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series. Integrated with Stone Edge Order Manager + POS Version 4.1.12 Gold (fresh install) - X-AOM - Linux Mods - XCSEO free |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Thanks JWait! I will look into the code to see if it works
![]()
__________________
____________________________ X-Cart Gold 4.1.10 EWD Hosting | CDSEO Pro | One Page Checkout | Smart Search | Telafirma Dynamic Images | X-AOM | Product Importer Pro and many custom mods and tweaks found here... |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|