Results 1 to 9 of 9
  1. #1
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Header Resize...

    Hi all,

    Per Ajeh's advice...I have just begun the conversion from the Classic Template to the Template_Default. Having seen some posts I put my header_bg.jpg into:

    Code:
    #logoWrapper{
     background-image: url(../images/header_bg.jpg);
     background-repeat: repeat-x;
     background-color: #CC009f;
    	height:110px;
    }
    however, it has created this awkward space above and below. (I believe in #mainWrapper) I have been trying all night to resize it, but can't seem to figure it out...

    any advice would be greatly appreciated?

    (you can see the awkward white stripes here)


    Thanks ZC community...! You guys have always been so helpful.

  2. #2
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Header Resize...

    got the upper one removed, but the lower white line is no where to be found. (i turned off E-Z pages per some posts but that didn't do it.)

    Ajeh, please save the day...


    thanks.

  3. #3
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Header Resize...

    Are you talking about the white space after your logo and red header?

    If so you will need to go into tpl_header.php and delete this <br class="clearBoth"> just before this <!--eof-branding display-->

    Make sure and save the change to your template folder.
    Zen-Cart, The Greatest Shopping Cart&#33;

  4. #4
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Header Resize...

    I removed the <br class="clearBoth"> in my tpl_header.php file in mytemplate/common

    and that didn't seem to do it.

    am i missing another place where it should be?



    thank you again for your help...

  5. #5
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Header Resize...

    i'm tripping...

    it worked great.



    thanks so much. it looks perfect.

  6. #6
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Header Resize...

    if there's any chance, i can ask you one other question...while i have your attention.

    in my CSS i had to create a .rightBoxContainer to give a stroke and margin to the sideboxes.


    Code:
    .rightBoxContainer {
    	border: 1px solid #000000;
    	margin-bottom: 1.5em;
    	}
    all the boxes look perfect except the shopping cart sidebox. it won't reposition to make room when changing pages. and other sideboxes overlap it. I'm assuming there is another part of the CSS affecting it, but for the life of me i can't figure out which one...


    any thoughts?

  7. #7
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Header Resize...

    It looks as though you have a missing </div> tag in your sidebox (shopping cart).
    Zen-Cart, The Greatest Shopping Cart&#33;

  8. #8
    Join Date
    Sep 2005
    Posts
    95
    Plugin Contributions
    0

    Default Re: Header Resize...

    The missing </div> tag:

    <!--// bof: shoppingcart //-->
    <div class="rightBoxContainer" id="shoppingcart" style="width: 150px;">
    <h3 style="" class="rightBoxHeading" id="shoppingcartHeading"><a style="" href="http://www.pensativa.com/store/index.php?main_page=shopping_cart">Shopping Cart&nbsp;&nbsp;[more]</a></h3>
    <div style="" id="shoppingcartContent" class="sideBoxContent"><div id="cartBoxListWrapper">
    <ul>
    <li><span style="" class="cartOldItem">1ea.-&nbsp;</span><a href="http://www.pensativa.com/store/index.php?main_page=product_info&amp;products_id=2"><span style="" class="cartOldItem">Black Baseball Cap FLEXFIT</span></a></li>
    </ul>
    </div><hr><div style="" class="cartBoxTotal">$12.99</div><br class="clearBoth"></div> <-----need to add it here
    <!--// eof: shoppingcart //-->
    Last edited by GearStudios; 18 May 2006 at 06:39 AM.
    Zen-Cart, The Greatest Shopping Cart&#33;

  9. #9
    Join Date
    May 2006
    Posts
    313
    Plugin Contributions
    0

    Default Re: Header Resize...

    when i changed that code, i now get this error:
    Code:
    Parse error: syntax error, unexpected T_STRING in /home/.gussybianheater/drumz1/pensativa.com/store/includes/templates/template_default/sideboxes/tpl_shopping_cart.php on line 51
    maybe i'm changing the wrong file or something. i changed includes/templates/template_default/sideboxes/tpl_shopping_cart.php


    i also compared the code to to a fresh version and they appear to be identical without the </div>

    but i am definitely no code expert...

    any idea on what i'm doing wrong?

    thanks again...

 

 

Similar Threads

  1. v150 image resize
    By maperr55 in forum General Questions
    Replies: 11
    Last Post: 5 Feb 2016, 02:28 PM
  2. resize search field in header
    By Ivanna in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jul 2011, 09:06 PM
  3. Help cant resize header banner to full size
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Jan 2011, 06:41 PM
  4. Resize
    By steve44 in forum Basic Configuration
    Replies: 2
    Last Post: 20 Jan 2010, 11:49 PM
  5. resize left column, but header images don't
    By mediathing in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Oct 2007, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg