Thread: Double Header?

Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2006
    Posts
    45
    Plugin Contributions
    0

    Default Double Header?

    I asked this question under the template but then realized it is probably more of a general question as well.

    I just need to get my header centered and obviously not showing double on larger screen resolutions like it is now.


    http://www.diginewsnow.com/store

  2. #2
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Double Header?

    First - there is no need to double-post.

    Add a background-repeat: no-repeat to your CSS in the class you used for the header.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

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

    Default Re: Double Header?

    I'm sorry I posted this morning and was afraid because it was at the end of a very long thread about the template it would not get answered. I needed to get this fixed ASAP as my customers are seeing the dup header.

    What code am I suppose to add in the css? I am not as familiar with this coding. And anding a code for the background will fix the header? Sorry again I am not really good with css code. Does it matter where I enter it as well?

    Thanks!

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Double Header?

    background-repeat: no-repeat;

    In the class where you have the header_bg.gif
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Double Header?

    open this file

    includes/templates/candied_apple/css/stylesheet.css

    find

    Code:
    #logoWrapper {
          background-image: url(../images/header_bg.gif);
          background-color: #C70101;
          height:246px;
          }
    replace it with this

    Code:
    #logoWrapper {
          background-image: url(../images/header_bg.gif);
          background-repeat: no-repeat;
          background-color: #C70101;
          height:246px;
          }
    Save and re-upload
    Zen cart PCI compliant Hosting

  6. #6
    Join Date
    Jun 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Double Header?

    Thank you that got rid of the dup, any idea how to get it in the center?

    Thanks a Bunch for your help!!

  7. #7
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Double Header?

    in the tpl_header.php in the common folder in the candied apple template

    find the <div> that holds the #logoWrapper and add an align="center" to the div lie this

    <div align="center">there is probably a better way but since im not a designer I think this little trick will work for you
    Zen cart PCI compliant Hosting

  8. #8
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Double Header?

    might want to change that align: center; you put into the stylesheet to text-align: center;

    well thinking about that it probably won't work cause its a background image.
    Last edited by barco57; 6 May 2007 at 07:07 AM.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  9. #9
    Join Date
    Jun 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: Double Header?

    Yes I have not gotten it to work yet here is what is in the tpl_header.php file, I'm not sure how to code the align="center", where to put it or what exactly it should say.

    Code:
    <!--bof-branding display-->
    <div id="logoWrapper">
        <div id="logo"><?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-->

  10. #10
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Double Header?

    <div id="logo"> to

    <div id="logo" align="center">
    Zen cart PCI compliant Hosting

 

 
Page 1 of 2 12 LastLast

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