I double and triple checked the closing div... manually and with Dreamweaver. I'm not seeing where I'm missing one.
I double and triple checked the closing div... manually and with Dreamweaver. I'm not seeing where I'm missing one.
You are missing a closing div. I found it out by checking your site with an HTML validator.
Look again:
There is no closing </div> for #headerWRAPPER.Code:<div id="headerWrapper"> <!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <div id="navMainLinks"> <ul class="back"> <li><a href="http://www.toned4life.com/cart/">Home</a></li> <li><a href="https://www.toned4life.com/cart/index.php?main_page=login">Log In</a></li> </ul> </div><!--CLOSE navMainLinks--> <div id="navMainSearch"></div> </div><!-- CLOSE navMain--> </div><!-- CLOSE navMainWrapper--> <div class="clearBoth"></div> <!--eof-navigation display--> <!--bof-branding display--> <div id="logoWrapperOuter"> <div id="logoWrapper"> <div id="logo"><a href="http://www.toned4life.com/cart/"><img src="includes/templates/apple_zen/images/logo.gif" alt="Toned 4 Life" title=" Toned 4 Life " /></a> </div><!--CLOSE logo--> </div><!--CLOSE logoWrapper--> </div><!--CLOSE logoWrapperOuter-->
I even tested in Firefox with the devloper tools. Adding the closing div fixes your issue.
OK, after sleeping and letting my eyes rest, I finally see it. But I could've sworn...![]()
I'd been staring at the screen so long that the code was probably taking on new attributes beyond reality. I'm sure I probably looked like this at the end of yesterday:![]()
Thanks for your help and your patience.
Hmmm... that would mean that there is a missing </div> in my header.php as well?
But I have never changed/edited the file. Why would there be a missing </div> ??![]()
And how does my "remedy" fix the problem too somehow??![]()
Jade, I really like your Apple Zen template. It is by far the most professional looking one I have ever found! Thank you!
Ack! NO, that does not mean you have a missing div. The same issue can have more than one cause.
The way I have includes/languages/english/apple_zen/header.php is the way it is supposed to be. There only needs to be a space between the " ' " for HEADER_LOGO_WIDTH, and HEADER_LOGO_HEIGHT. HEADER_ALT_TEXT and HEADER_SALES_TEXT do NOT have to be blank. You can add back your alt text, and if you want to have text to the right of your logo, you can add sales_text. Of course if you have a wide logo, you should have the sales text blank. Here is the original header.php language file:
If the space are removed for logo_width and logo_height, then your logo will expand to its "real" dimensions (because then zen cart specifies its height and width-- putting the space stops zen cart from adding the height and width). SO, IF you happen to have a tall logo, then sure, you wouldn't see that striped background, because your logo would be on top of it obscuring it. However bradymc's issue WAS caused by a missing div. Yours was not.Code:// added defines for header alt and text define('HEADER_ALT_TEXT', 'Powered by Zen Cart :: The Art of E-Commerce'); define('HEADER_SALES_TEXT', 'To change any of the site colors, open up includes/templates/apple_zen/css/stylesheet.css. To overwrite your own logo, upload your logo.gif to includes/templates/apple_zen/images/'); define('HEADER_LOGO_WIDTH', ' '); define('HEADER_LOGO_HEIGHT', ' '); define('HEADER_LOGO_IMAGE', 'logo.gif');
Phew. Hope that is clear now.
Thanks for the compliment on the template, by the way.
Last edited by jettrue; 10 Feb 2007 at 04:18 PM.
I, too, would like to compliment your template, Jettrue. I guess I got lucky because yours was the 2nd template that I downloaded. After I stumbled upon a template browser for all of the templates available on zen's site, I was dissappointed by the lack of originality. Most of them seemed like they were just some color variation of the original. But Apple_Zen is refreshing. Thanks for sharing your talents and showing the rest of us how templates ought to be made.
Hi,
I first want to say that I love this template. It works perfectly with the rest of my site.
I've run into a small problem. I can't seem to get rid of the "you can change the colors and add your own logo" directions on the top of the page. I removed it from the header.php file. Is there somewhere it would be cached that I am not seeing, or anywhere else that it might be?
Thanks in advance!