Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 33
  1. #11
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Aligning Header and Attributes

    In Firefox when I hover over the Menu header the drop downs work perfect but when I try to select a subcategory, the drop down disappears... No good I can't select nothing but Signature Scents Menu Subcategories...

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

    Default Re: Aligning Header and Attributes

    Hard to look at it when it keeps going down.
    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. #13
    Join Date
    May 2011
    Location
    Sydney, Australia
    Posts
    32
    Plugin Contributions
    0

    Default Re: Aligning Header and Attributes

    Thank you again for replying!
    Haredo - I honestly have no idea how to go about fixing this! I'm on IE8 and IE9 and it seems to be working although sometimes the drop down menu does disappear if the cursor isn't placed well. Is this something to fix inside the css for the dropdown margin?

    dbletoe - I've managed to get on with no problems on 3 different computers using 2 different internet service providers and 2 different browers. Again, I'm totally clueless as to how to go about fixing this..

  4. #14
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Aligning Header and Attributes

    You are a victim of the mod. Not only did they place css in the tpl file, they hard-coded the offending <br /> in the file as well.

    Changes to follow.
    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.

  5. #15
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Aligning Header and Attributes

    Line 14 - 36 (the style tag) should have been added to the stylesheet already from above. If it has, remove that entire section from the file.

    Around line 70 of the file you should find
    echo '<li>'.'<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">'.$subcategories_tab->fields['categories_name'].'</a></li><br />';
    Remove the offending <br />

    Around line 84 of the file you should find
    echo '<li>'.'<a href="'.zen_href_link(zen_get_info_page($products_tab->fields['products_id']),$cPath_new. '&products_id=' . $products_tab->fields['products_id']) . '">'.$products_tab->fields['products_name'].'</a></li><br />';
    Again, remove the offending <br />

    This should make the menus work much more gooderer

    The idea behind the mod is good but the execution of the code does not match Zen Cart structure or proper html format.
    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.

  6. #16
    Join Date
    May 2011
    Location
    Sydney, Australia
    Posts
    32
    Plugin Contributions
    0

    Default Re: Aligning Header and Attributes

    dbltoe - you are awesome! I really can't say how grateful I am for your guidance.

    I made the changes, saved and uploaded the file.
    The menu seems to be much more "gooderer" but (there's always a but!) some of the categories ("Clarity Spray" under "Therapeutic Scents" and "Hair" under "Personal Care") are now aligning to the right instead of following the vertical dropdown structure.

  7. #17
    Join Date
    May 2011
    Location
    Sydney, Australia
    Posts
    32
    Plugin Contributions
    0

    Default Re: Aligning Header and Attributes

    Argh, the only way to get the subcategories to align correctly was to put in </br> so I guess they'll have to stay in for now...

  8. #18
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,691
    Plugin Contributions
    11

    Default Re: Aligning Header and Attributes

    In that case try changing it to
    echo '<li>'.'<a href="'.zen_href_link(zen_get_info_page($products_tab->fields['products_id']),$cPath_new. '&products_id=' . $products_tab->fields['products_id']) . '">'.$products_tab->fields['products_name'].'</a><br /></li>';
    At least that will help with the html.
    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.

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

    Default Re: Aligning Header and Attributes

    You can fix the disappearing subcats by changing the first 0 to -1px (top margin):
    stylesheet.css (line 408)
    Code:
    #navCatTabsDropdown li ul {
        background-color: #AF5980;
        color: #F6D2E4;
        margin: -1px 0 2px 2px;
        position: absolute;
        visibility: hidden;
        width: 215px;
        z-index: 100;
    }
    There appears to be a 1px border around the <ul> and when the cursor is moved slowly over it, the border hides the container from the mouse... strange I know, but the negative top margin fixes the flicker.

  10. #20
    Join Date
    May 2011
    Location
    Sydney, Australia
    Posts
    32
    Plugin Contributions
    0

    Default Re: Aligning Header and Attributes

    dbltoe - thanks for (again) replying and your suggestion! I tried it and for some bizarre reason it went back to the old alignment with everything listing vertically except for the "Clarity Spray" under "Therapeutic Scents" and "Hair" under "Personal Care" which were aligning right. I think I'll just have to live with the bad html...

    gjh42 - you're a genius. I'm sure you get that a lot on here but you really really are! Thanks - your negative margin worked a treat

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Product Info Page - Aligning issues regarding Shopping Cart and Attributes.
    By Treasuresbycaz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Jul 2009, 01:56 PM
  2. aligning attributes and add to cart
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 May 2008, 06:44 PM
  3. aligning icons/buttons in header and footer
    By elishama3 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Mar 2008, 10:20 PM
  4. Aligning header/center and footer ?
    By Vixxxen in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Nov 2006, 10:30 PM
  5. Aligning Attributes To The Right
    By Galeo Designs in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 1 Jul 2006, 01:54 AM

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