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

Hybrid View

  1. #1
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    Why don't you just add a link:
    <li><a href="link_here">Link Name Here</a></li>
    What are you referring to Jettrue?

  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 shocker View Post
    What are you referring to Jettrue?
    When someone creates a page, and wants to add it to the drop down header, they don't have to go through all of the work in defining the link text in language files and creating a complicated zen cart link, they can just add their link normally to includes/template/YOUR_TEMPLATE/common/tpl_drop_menu.php.

    <li><a href="link_here">Link Name Here</a></li>

  3. #3
    Join Date
    Jul 2008
    Posts
    362
    Plugin Contributions
    0

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

    Hey All,

    Im trying to get my menu to fit the width of my webpage but i cant seem to be able to do it....

    I changed this:

    div#dropMenu {
    width:100%;

    But it still doesnt fit the width there is small gap on the left hand side and in firefox there is a few px gap but not in ie.

    Can anyone assist?

  4. #4
    Join Date
    Jul 2008
    Posts
    362
    Plugin Contributions
    0

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

    Oh the few px gap is at the bottom of the menu...

    Link: www.truwater.com.au

  5. #5
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

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

    Quote Originally Posted by gee38l View Post
    Hey All,

    Im trying to get my menu to fit the width of my webpage but i cant seem to be able to do it....

    I changed this:

    div#dropMenu {
    width:100%;

    But it still doesnt fit the width there is small gap on the left hand side and in firefox there is a few px gap but not in ie.

    Can anyone assist?
    If you open your stylesheet_header_menu.css and look for the #div#dropMenu li {

    You'll see two entries like width:16.667%; width:16.649%; these control the width of each top level button.

    Further down you'll see these lines:

    div#dropMenu>ul a {width: auto;z-index:1000;}

    and

    div#dropMenu ul.level7 li.submenu:hover ul.level8 {position: absolute; width: 14.3em;display:block;z-index:1000;}

    and

    div#dropMenu ul.level8{top: 0; left: 16.7em; background:#4f4f4f}

    you should play with editing the 16.7 in these lines.... those are the values I use for the width of my own drop down panels.

    If you play around with it you'll get it right....

  6. #6
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    When someone creates a page, and wants to add it to the drop down header, they don't have to go through all of the work in defining the link text in language files and creating a complicated zen cart link, they can just add their link normally to includes/template/YOUR_TEMPLATE/common/tpl_drop_menu.php.

    <li><a href="link_here">Link Name Here</a></li>
    If I'd know that I'd have done it like that but however, it's done now....

    I got the idea of adding language files and define pages through one of your earlier posts in this thread when you yourself mentioned using the About Us Page Mod on page 127 of this thread

    It's an absolutely huge thread this btw, really hard to find what you're looking for :-)

    I think it'd be a worthwhile addition to the readme.txt that ships with the download if you add at the bottom, "To add your own links to the drop down menus, edit includes/template/YOUR_TEMPLATE/common/tpl_drop_menu.php..........

    <li><a href="link_here">Link Name Here</a></li>"

    Just a suggestion :-)

  7. #7
    Join Date
    Jul 2007
    Location
    Jakarta
    Posts
    358
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    When someone creates a page, and wants to add it to the drop down header, they don't have to go through all of the work in defining the link text in language files and creating a complicated zen cart link, they can just add their link normally to includes/template/YOUR_TEMPLATE/common/tpl_drop_menu.php.

    <li><a href="link_here">Link Name Here</a></li>
    This was my first approach until I reread the mods instructions.

    So are you saying that the documented method doesn't worK?

    Thanks for your clarification.

  8. #8
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

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

    Quote Originally Posted by shocker View Post
    This was my first approach until I reread the mods instructions.

    So are you saying that the documented method doesn't worK?

    Thanks for your clarification.
    Exactly, the instructions that ship with the mod contradict what you're saying. It'd be useful if the readme.txt mentioned the simple approach instead of the long winded method :-)

  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 limelites View Post
    Exactly, the instructions that ship with the mod contradict what you're saying. It'd be useful if the readme.txt mentioned the simple approach instead of the long winded method :-)
    You're welcome.

    My instructions are very correct, I am not contradicting ANYTHING. If you WANT to add a page, LIKE the about us page, to be able to edit it in the admin, to have it have the word "about_us" in the link, THE WAY IN THE README.TXT IS THE WAY TO DO IT. Once that "long winded" process is done, the actual link to a page can be added in the normal HTML way.

    There's a LOT of things I could add to the readme.txt, but then it would be a book, wouldn't it? There is already a LOT OF HELPFUL THINGS in the readme.txt. It would also be useful if most people actually READ the README.TXT, but most people don't.

    It would be really nice, if people were GRATEFUL for all the FREE support I give, but that doesn't always happen either.

    It would seem that I have offended you by replying to your question with a response, so I will be sure not to do that again.

    It was a simple suggestion. I may choose to add that to my readme.txt, if I find the time, I appreciate your suggestion.

  10. #10
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    It would be really nice, if people were GRATEFUL for all the FREE support I give, but that doesn't always happen either.

    It would seem that I have offended you by replying to your question with a response, so I will be sure not to do that again.
    If I came across as ungrateful or offended then I apologise, that was never my intention. I am extremely grateful for all the time and effort you must have ploughed into such a fantastic contribution.

    It's just that this thread is so long it makes it really hard to find things. I appreciate that the readme could quite easily be turned into a book thickness, but I'm sure nonetheless, it'd still be more condensed than this thread ;-)

 

 
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