Results 1 to 10 of 2344

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by websightdesign View Post
    Hi Guys

    Managed to do this with just the style sheet i am not 100% sure on the code for the stylesheet but here is the section i have changed.

    div#dropMenu ul.level1 li.submenu:hover ul.level2 {background-color:none;margin-left:-15em;font-family:Arial, Helvetica, sans-serif; font-weight:100;color:#999999;font-size:12px;display:block;z-index:1000;width:450px;filter: alpha(opacity = 90);-moz-opacity:0.90;}
    div#dropMenu ul.level2 li.submenu ul.level3 {background:none;text-align:left;font-size:10px;position:relative;display:list-item;}

    Hope this helps others.

    Thanks
    Brad
    I would like to see your site...

    I have been struggling with my top level categories.

    Thanks, Kim

  2. #2
    Join Date
    Apr 2007
    Posts
    42
    Plugin Contributions
    0

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

    I am struggling wiht this mod, can anyone install it for me if i pay them? Thank You..

  3. #3
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Idea or Suggestion Re: CSS Dropdown menu for your header- With Categories!

    Hi,

    I simply installed the code in the readme file (<!--bof-drop down menu display-->
    <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
    <!--eof-drop down menu display-->
    <div class="clearBoth"></div>) at the very bottom of my tpl_header.php file and it breaks the page - nothing under the CSS Flyout Menu in the header shows up!

    NOTE: I am also using the Alternate Header v2.0 and added the above code to the bottom of the tpl_header.php file contained in that addon. No other code mods other than that.

    In addition to that, I would like to know if it is possible to replace "Home", "Categories" and "Information" with my top-level categories and then having my sub level categories flyout.

    Instructions and the necessary code (if needed) is truly appreciated.
    Thank you,
    autoace

  4. #4
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    I have been stuggling for several days and have looked thru forum. My issues seem to be css related. Need any help I can get with...

    *categories are going vertical instead of horizonal across dropMenu bar
    Here is css.

    div#dropMenu {
    position:relative;
    width: 100%;
    height:25px;
    margin: 0em;
    margin-top: 1px;
    padding: 0em;
    text-align:center;
    z-index: 1000;
    border-bottom: 2px solid #083562;
    font-family: Lucida Sans;
    float: center;
    }

    *space between dropmenu and logo/wrapper
    Not sure where to change this. I have modified logo, wrapper and MenuWrapper with no luck.

    Thanks, Kim

  5. #5
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by kburner View Post
    I have been stuggling for several days and have looked thru forum. My issues seem to be css related. Need any help I can get with...

    *categories are going vertical instead of horizonal across dropMenu bar
    Here is css.

    div#dropMenu {
    position:relative;
    width: 100%;
    height:25px;
    margin: 0em;
    margin-top: 1px;
    padding: 0em;
    text-align:center;
    z-index: 1000;
    border-bottom: 2px solid #083562;
    font-family: Lucida Sans;
    float: center;
    }

    *space between dropmenu and logo/wrapper
    Not sure where to change this. I have modified logo, wrapper and MenuWrapper with no luck.

    Thanks, Kim
    *categories are going vertical instead of horizonal across dropMenu bar
    Got this figured out...not sure what I did.
    But I have 13 categories and can not get them to all fit. Caps are small - so they should fit....Any one know how to get them all across??

    *space between dropmenu and logo/wrapper
    Still have space in FF, but gone from IE...

    Added to stylesheet:

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

    Kim

  6. #6
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by kburner View Post
    *categories are going vertical instead of horizonal across dropMenu bar
    Got this figured out...not sure what I did.
    But I have 13 categories and can not get them to all fit. Caps are small - so they should fit....Any one know how to get them all across??

    *space between dropmenu and logo/wrapper
    Still have space in FF, but gone from IE...

    Added to stylesheet:

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

    Kim
    I am still struggling with css with this mod. I love it - but can not get it to work. I have been going thru large forum looking for answers.

    ***I have 13 categories - how do I get them to fit?? I have hidden at this time because it causes them to go to next line.

    ***Extra space above categories in FF but not IE.


    Please help!

    Thanks, Kim

  7. #7
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Quote Originally Posted by kburner View Post
    I am still struggling with css with this mod. I love it - but can not get it to work. I have been going thru large forum looking for answers.

    ***I have 13 categories - how do I get them to fit?? I have hidden at this time because it causes them to go to next line.

    ***Extra space above categories in FF but not IE.


    Please help!

    Thanks, Kim
    Any one??

  8. #8
    Join Date
    Apr 2008
    Location
    Flint, Michigan
    Posts
    687
    Plugin Contributions
    0

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

    Been working very hard to get this to work! Almost there...

    ***I have 13 categories - how do I get them to fit?? I have hidden at this time because it causes them to go to next line.
    Finally got all 13 to fit---used
    #divdropMenu li

    div#dropMenu li {
    position:relative;
    list-style:none;
    margin:0;
    margin-left: .5px;
    float: left;
    line-height:1em;
    width: 7.6%;
    text-align:center;
    }

    ***Extra space above categories in FF but not IE.
    Now works in FF but not IE... This is what code looks like.

    div#dropMenu {
    position:relative;
    width: 100%;
    height: 25px;
    margin-top: -10.99px;
    margin-bottom: .19px;
    text-align:center;
    z-index: 1000;
    font-family: Lucida Sans;
    }


    Any suggestions on how to get IE to work?

    Thanks, Kim

  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 kburner View Post
    Been working very hard to get this to work! Almost there...

    ***I have 13 categories - how do I get them to fit?? I have hidden at this time because it causes them to go to next line.
    Finally got all 13 to fit---used
    #divdropMenu li

    div#dropMenu li {
    position:relative;
    list-style:none;
    margin:0;
    margin-left: .5px;
    float: left;
    line-height:1em;
    width: 7.6%;
    text-align:center;
    }

    ***Extra space above categories in FF but not IE.
    Now works in FF but not IE... This is what code looks like.

    div#dropMenu {
    position:relative;
    width: 100%;
    height: 25px;
    margin-top: -10.99px;
    margin-bottom: .19px;
    text-align:center;
    z-index: 1000;
    font-family: Lucida Sans;
    }


    Any suggestions on how to get IE to work?

    Thanks, Kim
    See how in my original file, I have two width's for div#dropMenu li, and the second one starts with a *? That asterisk one is for IE only:

    Code:
    div#dropMenu li {
    	position:relative;
    	list-style:none; 
    	margin:0; 
    	float:left; 
    	line-height:1em;
    	width:16.667%;
    	*width:16.649%;
    	}
    So you need to add *width:7.5;

    to your div #dropMenu li. Or something like that, basically IE needs a slightly smaller percentage.

 

 

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