I have a really stupid question...sorry everyone...
can you please help me find the file that has
div id headerWrapper
div id logo wrapper
img src...
etc
its not the tpl header...tried that...
thanks!!
I have a really stupid question...sorry everyone...
can you please help me find the file that has
div id headerWrapper
div id logo wrapper
img src...
etc
its not the tpl header...tried that...
thanks!!
/includes/templates/your_template/common/tpl_header.php. If you don't have a custom copy of that file yet, copy it from /includes/templates/template_default/common/tpl_header.php.
tpl_header.php is the only place for that code... unless you have an extremely customized template, in which case, we can't help you find it.
It is includes/templates/template_default/common/tpl_header.php.
What exactly are you trying to do ?
I've been trying to add an H1 heading for days...
When I open up a demo site with default template and inspect it with Chrome it says H1 heading under the tagline.
But i don't see the same with mine.
www.thehustlelusionstore.com
In a stock Zencart installation using the Classic template, there's no <h1> tag in the header - the first one is the #indexDefaultHeading (Congratulations, etc.) which is edited in includes/languages/english/index.php.
https://www.zen-cart.com/tutorials/i...hp?article=129
When you're adding your code to tpl_header.php, are you saving the file to includes/templates/pure_black_free/common ?
So that heading is the same thing as the H1 thing? I'm just trying to do it for SEO.
I haven't changed anything yet. I don't wanna screw up lol but yes if I did make changes I would save them back to wherever they came from.
get this. i followed the tutorial and it's still blank next to my logo...hmmmm....
Let's back up. Forget about SEO or <h1>. What text do you want to appear where ? If it's in the header, just replace (or add to, if it's blank) the define text of HEADER_SALES_TEXT in includes/languages/english/header.php and save the file to includes/languages/english/YOUR_TEMPLATE_NAME
the words I'm trying to put are in the header, next to the logo.
I went into languages/English/my template/header because i remember making changes on it and below is what it says
// added defines for header alt and text
define('HEADER_ALT_TEXT', 'The Hustlelusion, a variety of belts, stretch belts, fashion belts, leather belts');
define('HEADER_SALES_TEXT', '<H1>The Hustlelusion, Fashion Belts, Mens Belts, Stretch Belts, and Leather Belts at an Affordable Price!</H1>');
define('HEADER_LOGO_WIDTH', '37px');
define('HEADER_LOGO_HEIGHT', '37px');
define('HEADER_LOGO_IMAGE', 'Website_Size_Logo.gif');
thanks for your patience
right now in my site next to the logo it shows nothing
Remove the <h1> and </h1> tags and see what happens.
Bookmarks