How can I change my sidebox headers to have a background instead of a color?
http://www.diamondbackengines.com/es...ain_page=index
How can I change my sidebox headers to have a background instead of a color?
http://www.diamondbackengines.com/es...ain_page=index
Go to:
includes\templates\yourtemplate\stylesheet.css
and find:
.leftboxheading, .rightboxheading, .centerboxheading, .singleboxheading {
Should be around line 775 ish
Add:
background-image: url(../images/yourimageheader.gif);
also add box footer by going to:
.leftboxfooter, .rightboxfooter, .centerboxfooter, .singleboxfooter {
Add:
background-image: url(../images/yourimagefooter.gif);
you might try playing with replacing tile_back.jpg with an image...
you can also replace the sidebox header text with images in define...
just hints without explanations![]()
since I appreciate thorough explanations thought I'd offer this tip:
includes/languages/english.php
for example on my site I changed:
define('BOX_HEADING_FEATURED_PRODUCTS', 'Featured');
to
define('BOX_HEADING_FEATURED_PRODUCTS', '<img src="/images/sideboxheader_featured.jpg" alt="Featured" />');
the html transitional test and error checker wants the alt=" "
maybe not exactly what you were looking for but something to play with
Wasana,
This doesn't work for me. Do you only need to edit english.php or you have to edit somethinf else?
Berserker,
As there were about 4 things outlined this statement does not really tell us mush about what didn't work.This doesn't work for me. Do you only need to edit english.php or you have to edit somethinf else?
If you are referring to the original post and images; a bit was left out of the explanation, and that is to have the area rendered as an image you must also have the image that you want first, and you must also load it to the location that you are going to call it from. In this instance it would be "/images/your_image_name.jpg(gif)" alt="Your_Description"
/image is the main image directory at the root or directly under the subdirectory that you have Zen Cart installed at.
Zen-Venom Get Bitten
kobra,
hello again..what i mean is that when you change the sidebox header from just a color to an image, do you only edit the English.php or you edit something else like the main sidebox file (i.e categories, information etc).
Post your code that you are entering into the english.php file and post a url for faster assistance.
Zen-Venom Get Bitten