Thread: Double Header?

Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Double Header?

    Add background-position: center; to your stylesheet:

    PHP Code:
    #logoWrapper {
          
    background-imageurl(../images/header_bg.gif);
          
    background-repeatno-repeat;
          
    background-positioncenter;
          
    background-color#C70101;
          
    height:246px;
          } 

  2. #12
    Join Date
    Jun 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Double Header?

    Ok this is what I know have with the replacement and it still doesn't seem to work

    Code:
    <!--bof-branding display-->
    <div id= "logoWrapper">
        <div id="logo" align="center"><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">' . zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT) . '</a>'; ?></div>
        <div id="taglineWrapper">
    <?php
                  if (HEADER_SALES_TEXT != '') {
    ?>
          <div id="tagline"><?php echo HEADER_SALES_TEXT;?></div>
    <?php
                  }
    ?>
    <?php
                  if (SHOW_BANNERS_GROUP_SET2 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET2)) {
                    if ($banner->RecordCount() > 0) {
    ?>
          <div id="bannerTwo" class="banners"><?php echo zen_display_banner('static', $banner);?></div>
    <?php
                    }
                  }
    ?>
        </div>
    </div>
    <!--eof-branding display-->

  3. #13
    Join Date
    Jun 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Double Header?

    Thank you the background-position worked great!!

  4. #14
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Double Header?

    the logoWrapper div is already full width of your page, so centering will have no effect.

    Did you try the background-position: center; yet?

    ===
    OK glad to hear it!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Double Main Content above header and navigation
    By urgentprog in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Jun 2014, 10:00 PM
  2. Double Header on IE
    By mrcolj in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 10 Feb 2011, 02:33 PM
  3. Replies: 1
    Last Post: 30 Sep 2009, 09:30 AM
  4. Double background Header problem
    By estrat in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 23 Nov 2008, 03:44 PM
  5. double header image
    By matteoraggi in forum Basic Configuration
    Replies: 2
    Last Post: 12 Dec 2007, 12:26 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