Page 190 of 235 FirstFirst ... 90140180188189190191192200 ... LastLast
Results 1,891 to 1,900 of 2345
  1. #1891
    Join Date
    Jun 2010
    Posts
    26
    Plugin Contributions
    0

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

    Quote Originally Posted by first trading View Post
    Find this in your stylesheet:

    div#dropMenu li:hover {background-color: #ff0000;}

    Change the colour to suit.
    That was what my first thought was as well, however it doesn't seem to create the desired effect.

    Here's my css for the drop down menu:

    button4.png = The Top Level Category Buttons when not active.
    button4down.png = The Top Level Category Buttons when you mouseover them.
    button3.gif = The background for the submenu as you scroll through it.

    I'm trying to get the top level category to stay highlighted (showing button4down.png) as long as the user is scrolling through that particular categories submenu.

    PHP Code:
    body {  
        
    behaviorurl(includes/csshover.htc);
        }
        
    /*green
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #4f4f4f!important;background:#D5E88F;}
    */

    /*blue
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background:#6C99D9;}
    */ 

    /*red */
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background: url(../images/button4down.png) 95% 50% no-repeat;}
     

    /*grey 
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #4f4f4f!important;background:#D5D5D5;}
    */

    div#dropMenu {
        
    width:100%;
        
    margin:0 auto;
      
    text-align:center;
        
    z-index:1000;
        
    position:relative;
        }

    div#dropMenu ul {
      
    margin:0;
        
    padding:0;
        }
        
    div#dropMenu li {
        
    position:relative
        list-
    style:none
        
    margin:0
      
    float:left
        
    line-height:1em;
        
    width:16.667%;
        *
    width:16.649%;        
        }
        
    div#dropMenu ul.level1 {
        
    width:100%;
        
    margin:0 auto
        
    text-align:center;
        
    background:#494949; /*background color of top menu when NOT selected. */
        
    z-index:1000;
        
    float:left;
        }

    div#dropMenu li a {
        
    displayblock;
        
    /* Hides from IE5-mac \*/
        
    height1%;
        
    /* End hide from IE5-mac */ 
        
    padding0.6em 0
        
    text-decorationnone
        
    text-transform:uppercase
        
    color:#ffffff; 
        
    text-align:center
        
    /*border-right:1px solid #FF00C0; */
        
    backgroundurl(../images/button4.png9550no-repeat;
        }    
        
    div#dropMenu li:hover {background: url(../images/button4down.png) 95% 50% no-repeat;}        
    div#dropMenu li.submenu {} 
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a.noLine {border:none;}
    div#dropMenu>ul a {width: auto;z-index:1000;}
    div#dropMenu ul ul {display: none;}
    div#dropMenu ul ul li {border-bottom: 1px solid #CCC; width:100%;z-index:1000;}
    div#dropMenu li.submenu li.submenu {} 
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5,
    div#dropMenu ul.level5 li.submenu:hover ul.level6,
    div#dropMenu ul.level6 li.submenu:hover ul.level7,
    div#dropMenu ul.level7 li.submenu:hover ul.level8 {position: absolute;left: 3px; width: 127px;display:block;z-index:1000;}
    div#dropMenu ul.level2 {background: #4f4f4f;z-index:1000;position:absolute;left:0;}
    div#dropMenu ul.level3, 
    div#dropMenu ul.level4, 
    div#dropMenu ul.level5, 
    div#dropMenu ul.level6, 
    div#dropMenu ul.level7,
    div#dropMenu ul.level8{top: 0; left: 12em; background: #4f4f4f;}
    div#dropMenu ul.level2 a {padding: 0.5em 0 0.5em 0.25em;color: #000000; text-transform:none; background: #FFFFFF;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#4f4f4f; background: url(../images/button3.gif) 95% 50% no-repeat;}

    .clearBoth {
        
    clear:both;
        
    height:0;
        
    font-size:0;
        
    line-height:0;
        } 

  2. #1892
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

    css problem Re: CSS Dropdown menu for the header- With Categories!

    I'm trying to get this up and running on my site, using ZenCart 1.3.9d

    Rather than a drop-down menu, I'm just getting an expanded tree of links... Something's broken, but I'm not sure what or where. I'm not seeing any errors, and I checked with firefox and at least see some of the CSS code for the menu.

    http://hammockgear.com/cart/

    Any help would be greatly appreciated. It's probably just some rookie mistake, but I can't seem to narrow it down!

    Thanks

  3. #1893
    Join Date
    Jul 2010
    Posts
    8
    Plugin Contributions
    0

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

    OK, Nevermind... I figured it out. thanks anyway!

  4. #1894
    Join Date
    Jul 2010
    Posts
    35
    Plugin Contributions
    0

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

    How can I change the background color of this navbar?

  5. #1895
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

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

    Quote Originally Posted by Rich219 View Post
    How can I change the background color of this navbar?
    Find this in the stylesheet_header_menu.css

    div#dropMenu ul.level1 {
    background-color: #4f4f4f;
    }

    Change colour to suit.

  6. #1896
    Join Date
    Aug 2008
    Posts
    244
    Plugin Contributions
    0

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

    Quote Originally Posted by Ravyn View Post
    Hey all,

    Love this addon, and I've got a pretty good grip on how to mod it to my liking, however I'm having one slight problem that I'd like to fix if possible.

    When you highlight a Top Level Categiry in the Drop down menu, and the submenus appear, you can set it so that a different color appears using :hover

    I want to make it so that the Top Level Category color remains the same as it is when you hover over it, while that specific drop down submenu is open.

    Hopefully I explained that well enough,
    Any questions to help clear what I'm looking for up, let me know.

    Appreciate any and all ideas for this.

    Cheers,
    Ravyn
    I have this working on a test site and it should work for you also.

    div#dropMenu ul.level1 li:hover {
    background-image:url(../images/YOUR_IMAGE.gif);
    background-position: top center;
    background-repeat: no-repeat;
    }

    div#dropMenu ul.level1 li:hover ul.level2 li:hover {
    background:none;
    }

    Put both in your stylesheet.

  7. #1897
    Join Date
    Jun 2010
    Posts
    26
    Plugin Contributions
    0

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

    Quote Originally Posted by first trading View Post
    I have this working on a test site and it should work for you also.

    div#dropMenu ul.level1 li:hover {
    background-image:url(../images/YOUR_IMAGE.gif);
    background-position: top center;
    background-repeat: no-repeat;
    }

    div#dropMenu ul.level1 li:hover ul.level2 li:hover {
    background:none;
    }

    Put both in your stylesheet.
    Great, I have to run off to work right now, but i'll test it as soon as I get home later this evening and let you know how it works out.

    Really appreciate the support.

    Cheers,
    Ravyn

  8. #1898
    Join Date
    Jun 2010
    Posts
    26
    Plugin Contributions
    0

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

    Just got in and tried the fix, but still not having any luck. The fix is currently active on the site I sent you the link to in PM if you want to see it live.

    This is my current php file:
    PHP Code:
    body {  
        
    behaviorurl(includes/csshover.htc);
        }
        
    /*green
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover {color: #4f4f4f!important;background:#D5E88F;}
    */

    /*blue
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background:#6C99D9;}
    */ 

    /*red */
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #ffffff!important;background: url(../images/button4down.png) 95% 50% no-repeat;}
     

    /*grey 
    div#dropMenu li a:hover, div#dropMenu li.submenu li.submenu:hover, div#dropMenu ul.level2 a:hover {color: #4f4f4f!important;background:#D5D5D5;}
    */
    div#dropMenu ul.level1 li:hover {
    background-image:url(../images/button4down.gif);
    background-positiontop center;
    background-repeatno-repeat;
    }

    div#dropMenu ul.level1 li:hover ul.level2 li:hover {
    background:none;
    }
    div#dropMenu {
        
    width:100%;
        
    margin:0 auto;
      
    text-align:center;
        
    z-index:1000;
        
    position:relative;
        }

    div#dropMenu ul {
      
    margin:0;
        
    padding:0;
        }
        
    div#dropMenu li {
        
    position:relative
        list-
    style:none
        
    margin:0
      
    float:left
        
    line-height:1em;
        
    width:16.667%;
        *
    width:16.649%;        
        }
        
    div#dropMenu ul.level1 {
        
    width:100%;
        
    margin:0 auto
        
    text-align:center;
        
    background:#494949; /*background color of top menu when NOT selected. */
        
    z-index:1000;
        
    float:left;
        }

    div#dropMenu li a {
        
    displayblock;
        
    /* Hides from IE5-mac \*/
        
    height1%;
        
    /* End hide from IE5-mac */ 
        
    padding0.6em 0
        
    text-decorationnone
        
    text-transform:uppercase
        
    color:#ffffff; 
        
    text-align:center
        
    /*border-right:1px solid #FF00C0; */
        
    backgroundurl(../images/button4.png9550no-repeat;
        }    
        
    div#dropMenu li:hover {background: url(../images/button4down.png) 95% 50% no-repeat;}        
    div#dropMenu li.submenu {} 
    div#dropMenu li.submenu:hover {}
    div#dropMenu li a.noLine {border:none;}
    div#dropMenu>ul a {width: auto;z-index:1000;}
    div#dropMenu ul ul {display: none;}
    div#dropMenu ul ul li {border-bottom: 1px solid #CCC; width:100%;z-index:1000;}
    div#dropMenu li.submenu li.submenu {} 
    div#dropMenu ul.level1 li.submenu:hover ul.level2, 
    div#dropMenu ul.level2 li.submenu:hover ul.level3,
    div#dropMenu ul.level3 li.submenu:hover ul.level4,
    div#dropMenu ul.level4 li.submenu:hover ul.level5,
    div#dropMenu ul.level5 li.submenu:hover ul.level6,
    div#dropMenu ul.level6 li.submenu:hover ul.level7,
    div#dropMenu ul.level7 li.submenu:hover ul.level8 {position: absolute;left: 3px; width: 127px;display:block;z-index:1000;}
    div#dropMenu ul.level2 {background: #4f4f4f;z-index:1000;position:absolute;left:0;}
    div#dropMenu ul.level3, 
    div#dropMenu ul.level4, 
    div#dropMenu ul.level5, 
    div#dropMenu ul.level6, 
    div#dropMenu ul.level7,
    div#dropMenu ul.level8{top: 0; left: 12em; background: #4f4f4f;}
    div#dropMenu ul.level2 a {padding: 0.5em 0 0.5em 0.25em;color: #000000; text-transform:none; background: #FFFFFF;}  /* this is text color on drop-down submenu */
    div#dropMenu ul.level2 a:hover {color:#4f4f4f; background: url(../images/button3.gif) 95% 50% no-repeat;}

    .clearBoth {
        
    clear:both;
        
    height:0;
        
    font-size:0;
        
    line-height:0;
        } 

  9. #1899
    Join Date
    Jul 2010
    Location
    Australia
    Posts
    131
    Plugin Contributions
    0

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

    Hi

    I installed this menu on my site a little while ago and it was working fine, but I have only just realised that there are a couple of issues, mostly with IE.

    I'm not sure what I added/changed to cause this problem, but, from memory, the menu files are unaltered.

    On IE, none of the sub-menus drop out - only the top levels work.
    On Firefox, the only problem is that the categories menu isn't functioning.

    Also, I don't think this has anything to do with the menu, but on IE the side column drops below the main pages content.

    You can see my site here: http://www.mortalwombat.com.au/shop/

    Thanks in advance and I look forward to hearing back.

    - Tija

  10. #1900
    Join Date
    Aug 2010
    Posts
    202
    Plugin Contributions
    0

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

    Was trying to change the images that this uses. followed a post to replied to someone else but it didnt work. you mind giving a quick walkthrough? i would appreciate it.

 

 

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR