Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Can't get ssl logo to sit in Header

    Hello Fellow Zenners. I tried many things and cant get the ssl to move heigher up in the header. It should be horizontally aligned with the free shipping logo (logo3 in CSS). I should have enough room there.

    My header is a 1000px (logo is 604-logo3 starts at 620 and its' 160px) That a total of only 780, with a remainder of 220 px. The sll is only 118px leaving plenty of room but no matter what I cant get it to move up.

    Am I missing something here any help is appreciated.

    website is www.fashionfavourites.com

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,688
    Plugin Contributions
    11

    Default Re: Can't get ssl to sit in Header

    Again, as I stated in your other post. You're trying to put three divs horizontally in a wrapper thinking they go in 1, 2, 3 sequence. You cannot put divs in that order like you would a table.

    If you Google three-column div you will find some ways to do what you are trying to do. Continuing to try and throw margins, padding, etc at it won't work.

    The three-column div site will show you how to place them in a 1, 3, 2 sequence that will work.
    A little help with colors.
    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.

  3. #3
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    Quote Originally Posted by dbltoe View Post
    Again, as I stated in your other post. You're trying to put three divs horizontally in a wrapper thinking they go in 1, 2, 3 sequence. You cannot put divs in that order like you would a table.

    If you Google three-column div you will find some ways to do what you are trying to do. Continuing to try and throw margins, padding, etc at it won't work.

    The three-column div site will show you how to place them in a 1, 3, 2 sequence that will work.
    hmm A little confused about 1,2,3 then 1,3,2. I took your earlier suggestions but guess this part I need to do a little more googling. Thank bud, I will search exatly what you suggested "three-column div" in google. looks like I missed that chapter.

    p.s. Wondering if 3 div is the maximum. Is it possible for 4-column divs...just curiosity dont have to answer
    Last edited by hardwiredtemplates; 20 Feb 2009 at 11:56 PM. Reason: e

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

    Default Re: Can't get ssl to sit in Header

    you can stack them inline if you make sure they are all inside of another div, then set exact widths on all of the elements you want to stack, then float them all to the left. Once that is done use some margin left on each element to push it out to the right were you want it, start margin-left adjustments with the left most element.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    Quote Originally Posted by barco57 View Post
    you can stack them inline if you make sure they are all inside of another div, then set exact widths on all of the elements you want to stack, then float them all to the left. Once that is done use some margin left on each element to push it out to the right were you want it, start margin-left adjustments with the left most element.
    This was my exact intention, I calculated out everything. This is my tpl_header.php file and you can see all three elements are inside the headerWrapper div

    <div id="headerWrapper">

    <!--bof-branding display-->
    <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, HEADER_LOGO_WIDTH, HEADER_LOGO_HEIGHT) . '</a>'; ?></div>
    <div id="logo3"><?php echo zen_image($template->get_template_dir(WOWFREE_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . WOWFREE_LOGO_IMAGE, WOWFREE_ALT_TEXT) ; ?></div>

    <!-- bof ssl site seal -->
    <div id="ssl">
    <span id="___sitess__alt_img_wrapper_middle_image">
    <a href="http://www.alphassl.com/" target="_blank" title="SSL Certificate" >
    </div>

    Some more code I dont want to flood the forum

    </div>

    Then in my stylesheet I used some left margin with the calculated values taking into acccount the size of the images.

    I tried floating all there divs left and that is a mess. Guess what i am missing is where you say "stack them inline" hhmmm, Wonder how I can do that. here i come again google.

    ps. I am still reading about tbltoe's suggestion about dbltoe's suggestion about three-column div and all I am finding is tutorials on a 3-column template.
    Last edited by hardwiredtemplates; 21 Feb 2009 at 01:12 AM. Reason: Extra information

  6. #6
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    Why bother putting your 3 images in 3 divs, then try to get them inline, when you can put 3 images (including relevant links) into 1 div??? or use Span to style them inline..??
    ~Steve~

  7. #7
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    Quote Originally Posted by s_t_e_v_e View Post
    Why bother putting your 3 images in 3 divs, then try to get them inline, when you can put 3 images (including relevant links) into 1 div??? or use Span to style them inline..??
    Very intresting and a great point. I dont know anything about span nor inline stuff in fact I am reading about them in google for the first time in my life. Pardon me I am a total newbie.

    If I am understanding you correct. you are saying I should remove the div tags (1 for logo, 1 for log3 and 1 for ssl) and just put everything (direct code) inside the headerWrapper div?. Then I can use some margin left to style them, is that correct mate?

    By the way reason I put them in seperate divs, is so that in my css I can do something like #logo and style it. I am too scared/inexperienced to attempt to put the styling with the code.

    thank for the suggestion.
    Last edited by hardwiredtemplates; 21 Feb 2009 at 01:36 AM. Reason: Extra information

  8. #8
    Join Date
    Aug 2006
    Location
    UK
    Posts
    449
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    I'd probably change the template and put all 3 items in the logo div... and see how it looks...

    as long as you keep a backup and dont change too many things at once, have a go... you may surprise yourself.

    plus - there are many here that will offer assistance.
    ~Steve~

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

    Default Re: Can't get ssl to sit in Header

    What happened to the logoWrapper div?
    Code:
    <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>
    
    ----bunch of tagline and banner code---
    
    </div>
    <br class="clearBoth" />
    <!--eof-branding display--
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  10. #10
    Join Date
    Sep 2008
    Posts
    219
    Plugin Contributions
    0

    Default Re: Can't get ssl to sit in Header

    Quote Originally Posted by barco57 View Post
    What happened to the logoWrapper div?
    Code:
    <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>
    
    ----bunch of tagline and banner code---
    
    </div>
    <br class="clearBoth" />
    <!--eof-branding display--
    barco57 I have no idea where you got that from but I have removed it. It seemed useless and I understand what i am doign now (sorta). It was in the headerWrapper. What i've done instead is just put all three images in headerWrapper. I'v just finished reading this http://www.webdesignfromscratch.com/...and-inline.php, And I am considering switching the divs into span... Do you think that would resolve my issues.?

    Looks like after I get this working (hopefully soon)I've learned quiet a lot.

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v139h header logo get cut if I don't have currencies
    By glitzsfa in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 26 Jan 2012, 03:07 AM
  2. Changed my Header logo image but can't get rid of RED X
    By waterbug in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 10 Jul 2011, 04:54 PM
  3. Can't reszie the logo header in my template to fit logo image
    By signify in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 1 May 2011, 06:57 PM
  4. Can't get rid of blank image/link after logo/header change
    By bakdoor in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 27 Sep 2008, 05:41 AM
  5. Can links sit on top of my logo header?
    By oneposhshop in forum Templates, Stylesheets, Page Layout
    Replies: 28
    Last Post: 21 May 2007, 11:57 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