Rose,
Are you using the classic template as it appears you are or, something different?
Rose,
Are you using the classic template as it appears you are or, something different?
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
yes I am using the classic, I was just reading on how to make a custom but not sure about that
Respect other in order to be respected.
Alrighty then...
Reload your original includes/templates/classic/common/tpl_header.php
IF you made the CSS changes to includes/templates/classic/css/stylesheet_original.css - Keep them.
IF NOT, make the CSS changes to includes/templates/classic/css/stylesheet_original.css
That should take care of the image centering.
Now , about the navigation under the logo. You'll need to give them a different class in the stylesheet in order for the text to show as it's the same color as the background.
HTH
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
I reloaded the file as you suggested and it changed nothing, any other ideas?
Respect other in order to be respected.
IF you are NOT planning on using a banner in the same area of the header as the logo AND you are not going to use Sales Text, you can delete the following from the tpl_header.php file.
If you can see the lines in the file, that would be lines 56 thru 67.<td align="center" valign="top">
<?php
if (HEADER_SALES_TEXT != '') {
echo HEADER_SALES_TEXT;
}
if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
if ($banner->RecordCount() > 0) {
echo zen_display_banner('static', $banner);
}
}
?>
</td>
If you plan on using the Sales Text or Banner in the future, it's a different code.
NOTE: This may be a good time to think about the override directories to keep such changes for the future.
![]()
Also change the logo width in includes/languages/english to 100%
![]()
Last edited by dbltoe; 1 Jun 2006 at 08:14 PM.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
The only thing I want at the top is my logo, nothing else, no sale text or anything like that. can you provide the correct code i need to do that, or if the header_bg.jpg is already centered as it appears, could I just replace it with my logo and then take out whatever code that shows the logo that zen cart has there?
Respect other in order to be respected.
Then do the changes in my last post.
Using header_bg.jpg is an option but it too would require coding and settings to do what you wish.
Also, using header_bg.jpg does away with your ability to have alt text for the image and use it as a link. Some surfers have their browsers turn off images to speed up connections. Without the alt text, they'd have no idea what the image was about.
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
![]()
![]()
Not enough coffee and multi-tasking on 27 things!
Disregard change to logo width! What was I thinking?
![]()
Are You Vulnerable for an Accessibility Lawsuit?
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
Rose,
Since you are making changes and then nothing happens, it is very likely that the files you are changing are in the wrong folder. One of the reasons to use the overrides properly is to avoid this.
Here is where you logo is - /includes/templates/template_default/images/logo.gif. But you are using the /classic template.
Another possibility is that you have extra files in the classic folders. For example, if you copy includes/languages/english.php into classic you get includes/languages/classic/english.php. If you then edit includes/languages/english.php it will NOT be used because the cart sees the file in your override.
Also, rather than delete text from the tpl_header.php file, it is easier and more flexible to edit the header.php file I mentioned above. That way it is very easy to make changes because the code is still in the tpl_header. At present it finds a blank in the define of header.php so it shows nothing.
The proper way to do what you want is in Clyde's post. Everytime someone says "it didn't work" it was because they had done something wrong. Usually they had files and or folders in the wrong place.
I know you are frustrated and you may even feel like others in the forum are either picking on you or are just incompetent. (I plead innocent the first but the second in likely very accurate.) Getting help in the ZC community is much easier when you follow the suggested path for doing the core things, like templates. It not only makes your life easier, it is much easier on those trying to support you.
Hope some of this helps.
Bookmarks