New Zenner
- Join Date:
- Jan 2006
- Posts:
- 67
- Plugin Contributions:
- 0
Replacing HEADING_TITLE with Images
Hi,
I grabbed the 'About Us Page' contribution to make several new pages and everything is going well, but I want to replace the headings of the page with images from our current static site.
I took a look at several of the pages included to create the about page and decided to make changes in the 'tpl_about_us_default.php'.
I've commented out this line:
<h1 id="aboutUsHeading"><?php echo HEADING_TITLE; ?></h1>and replaced it with this:
<div id="bagsection"><img src="/images/tag_about.gif" alt="Radish Clutches" width="162" height="40"></div>I realize that I could use some CSS and insert a background image, but that would require putting some <span> tags around the <h1> tags to hide the text. I figured my way was faster.
My concern is that the method I've chosen isn't the cleanest way of going about things. Does anyone know if I'm creating a headache for myself once the next version of ZenCart rolls out? (I'm currently running 1.3.5)
Many thanks!
Colin