Page 1 of 2 12 LastLast
Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    I'm trying to validate your site and its producing a lot of errors because of this chunk of code:

    Code:
    <!-- AddToBookmarks.com CSS - Place this in the head of your page -->
    <style type="text/css">
    @import "addto/addto.css";
    </style>
    <!-- End AddToBookmarks.com CSS -->

    Try moving that to includes/templates/YOUR_TEMPLATE/common/html_header.php and see what happens. At least that will clean up a lot of errors so that we can troubleshoot.
    What if I never had a html_header.php in includes/templates/YOUR_TEMPLATE/common. I always wondered why there was not one there...lol I just put one there. Now I'm trying to find all the errors I have. I don't know where to start looking..lol Maybe you can point me in the right direction. All your help is much appreciated. Thank you
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  2. #2
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by countrycharm View Post
    What if I never had a html_header.php in includes/templates/YOUR_TEMPLATE/common. I always wondered why there was not one there...lol I just put one there. Now I'm trying to find all the errors I have. I don't know where to start looking..lol Maybe you can point me in the right direction. All your help is much appreciated. Thank you
    You don't have one there because you never edited it. And that is how the override system works. If you need to edit a file, you take the original from includes/templates/TEMPLATE_DEFAULT/ and copy it to includes/templates/YOUR_TEMPLATE/ so that you only have the files you changed in your template folder, and so that you always have an original in TEMPLATE_DEFAULT.

  3. #3
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    Hi jettrue All my files are on a override system I just didn't know what I was suppose to use the html_header.php for thats all. I guess I know now.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #4
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by countrycharm View Post
    Hi jettrue All my files are on a override system I just didn't know what I was suppose to use the html_header.php for thats all. I guess I know now.
    One big error is that you have this in the source of your site:

    <div id="navMain">
    <ul>
    <li><a href="http://www.thegoodshepherdstore.com/"> <li><a href="https://www.thegoodshepherdstore.com/login">
    <li><a href="https://www.thegoodshepherdstore.com/account">
    <li><a href="http://www.thegoodshepherdstore.com/shopping_cart">
    <li><a href="https://www.thegoodshepherdstore.com/checkout_shipping">
    </ul>
    </div>

    Since you're not using these links (they would be at the top of the site, in your yellow portion, you need to fully remove that section (navMain) you only removed part of it, and what's left is causing a big chunk of your errors.

    That chunk should be found in includes/templates/cherry_zen/common/tpl_header.php

  5. #5
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    Thanks jettrue I took out that chunk of code and that brought me down to 22 errors. If I cut off the Testimonials Manager box that brings me to 8 errors. I don't know where to look for the other ones. I know this thread is not for this so I so apologize.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  6. #6
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: CSS Dropdown menu for your header- With Categories!

    Hi jettrue it's me again. I just wanted to give you and update. That fix my IE7 problem by removing that chunk of code. Thank you again. I still have to resolve the other errors but I will.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by countrycharm View Post
    Hi jettrue it's me again. I just wanted to give you and update. That fix my IE7 problem by removing that chunk of code. Thank you again. I still have to resolve the other errors but I will.
    Looks like you changed the includes/templates/common/tpl_footer.php and tried to remove the HOME link, but did something incorrectly. Pay close attention to your changes in that file.

    You can ignore this error:
    Line 43, Column 365: value of attribute "type" cannot be "search"; must be one of "text", "password", "checkbox", "radio", "submit", "reset", "file", "hidden", "image", "button".

  8. #8
    Join Date
    Jul 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    I'd posted this before but had no link to offer, and hence no responses - now hoping someone might help shed some light on it as I have a live link to offer

    www.chococielo.com

    I've added some menu items to "About Chocolate", but they do not work in firefox (version 2.0.0.17) - despite working fine in IE (version 7.0). The shop and FAQ dropdowns work fine in both.

    I'm sure it's something simple I've missed but still can't see it. Hope someone can help...

    Thanks,
    Adam.

    Code as follows...

    Code:
     <li class="submenu"><a ="<?php echo zen_href_link(FILENAME_ABOUT_CHOCOLATE); ?>"><?php echo HEADER_TITLE_ABOUT_CHOCOLATE; ?></a>
                </li>
    			 <ul class="level2">
                    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    			</ul>	
    			<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo HEADER_TITLE_ABOUT_US; ?></a>
                </li>	
    
    				
                <li class="submenu"><a ="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_INFORMATION; ?></a>
                  <ul class="level2">
    			    <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    				<?php } ?>

  9. #9
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by ajhb View Post
    I'd posted this before but had no link to offer, and hence no responses - now hoping someone might help shed some light on it as I have a live link to offer

    www.chococielo.com

    I've added some menu items to "About Chocolate", but they do not work in firefox (version 2.0.0.17) - despite working fine in IE (version 7.0). The shop and FAQ dropdowns work fine in both.

    I'm sure it's something simple I've missed but still can't see it. Hope someone can help...

    Thanks,
    Adam.

    Code as follows...

    Code:
     <li class="submenu"><a ="<?php echo zen_href_link(FILENAME_ABOUT_CHOCOLATE); ?>"><?php echo HEADER_TITLE_ABOUT_CHOCOLATE; ?></a>
                </li>
    			 <ul class="level2">
                    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    			</ul>	
    			<li class="submenu"><a href="<?php echo zen_href_link(FILENAME_ABOUT_US); ?>"><?php echo HEADER_TITLE_ABOUT_US; ?></a>
                </li>	
    
    				
                <li class="submenu"><a ="<?php echo zen_href_link(FILENAME_DEFAULT); ?>"><?php echo HEADER_TITLE_INFORMATION; ?></a>
                  <ul class="level2">
    			    <?php if (DEFINE_SHIPPINGINFO_STATUS <= 1) { ?>
                    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    				<?php } ?>
    Your site is not working for me.

    Look closely at your code, I'm pretty sure its not correct.

    Code:
    <li class="submenu"><a ="<?php echo zen_href_link(FILENAME_ABOUT_CHOCOLATE); ?>"><?php echo HEADER_TITLE_ABOUT_CHOCOLATE; ?></a>
    <ul class="level2">
    <li><a href="<?php echo zen_href_link(FILENAME_SHIPPING); ?>"><?php echo HEADER_TITLE_SHIPPING_INFO; ?></a></li>
    </ul>	
    </li>
    The </li> should be moved from after <?php echo HEADER_TITLE_ABOUT_CHOCOLATE; ?></a> to after the </ul>

  10. #10
    Join Date
    Jul 2008
    Posts
    59
    Plugin Contributions
    0

    Default Re: CSS Dropdown menu for your header- With Categories!

    Hi Jade,

    Worked fine, many thanks!!!

    I figured it'd be something simple but had been staring far too long at the code. I guess IE is a little more forgiving than Firefox. Great menu, BTW, thanks for making it available!

    Cheers,
    Adam.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Categories dropdown menu/css
    By KenshiroU in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Apr 2013, 01:04 PM
  2. HIde categories mod with css dropdown menu
    By adowty in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Feb 2012, 01:05 AM
  3. How to use ezpages/categories as dropdown menu in the header?
    By mdivk in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 21 Dec 2011, 06:32 PM
  4. whats wrong with this css for my dropdown menu?
    By 1kell in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 28 May 2010, 02:47 AM
  5. Header Dropdown Menu (CSS) Without the Dropdown???
    By hcd888 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 May 2009, 01:20 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