| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Change the Featured Products Title Only? | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Change the Featured Products Title Only?
Does anyone know if there is a way to change the title "Featured Products" to a different font and color without affecting the other products' fonts and colors?
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#2
|
|||||||||
|
|||||||||
I would think you could just copy the .tpl file that is used for it then rename the copy you would then need to edit the featured products.php file I would guess and tell it to instead of pulling the old .tpl file to grab the new one. On you rnew tpl file you would hard code those parts instead of using css. I am not sure but if I was doing it I would start with looking into it this way. Anyone else know?
__________________
www.kzeinc.com www.ptgoils.com.com 5.4.09 www.earths-oils.com 5.4.09 www.1exoticwear.com.com 5.4.09 |
|||||||||
#3
|
|||||||||
|
|||||||||
I would just create a new style in the style sheet for featured products (example NewDialogTitle) and have it reference that class instead by editing the dialog.tpl and in this line:
Code:
Edit it to have something like: Code:
This is NOT tested, so I'm not sure if it will work, but it should be a start and keep you from hard coding anything. Backup first! Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#4
|
|||||||
|
|||||||
I don't know enough at this point about php to be able to test it out. I'm still very new to x-cart. If someone else has free time and wants to test it out, that would be great. Thanks for the tip though Carrie.
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#5
|
|||||||||
|
|||||||||
I tested it out, it works. Just add a new line like this in the CSS:
Code:
And change the style properties above to what ever you want and use the code above in skin1/dialog.tpl It's all smarty, no php involved in this change. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#6
|
|||||||
|
|||||||
Thanks Carrie! I entered this into the dialog tpl, but it's not working on my side. I probably did something wrong:
Code:
here is a cutout from my skin1css: Code:
I put spaces in between the code so that I could find it easier. Did I do something wrong here? Thanks a lot for your help.
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#7
|
|||||||||
|
|||||||||
Try taking out the *} after:
dialog_bg_n.gif" See if that helps. Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#8
|
|||||||
|
|||||||
Thanks. I tried that out....forgot I had that there. But it still didn't work after I took it out. wonder why it doesn't work?
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
#9
|
|||||||||
|
|||||||||
Are you getting any errors? What version of X-cart?
Carrie
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002! We support X-cart versions 3.x through 5.x! Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more! Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com Please E-Mail us for questions/support! |
|||||||||
#10
|
|||||||
|
|||||||
No, I'm not getting any errors...it's just basically ignoring the changes it seems like and still uses the default setup. I will play around a little more with it tonight. Thanks Carrie.
__________________
xcart v3.5.8 (Unix) and xcart v4.0.13 |
|||||||
|
|||
X-Cart forums © 2001-2020
|