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

Hybrid View

  1. #1
    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 creative View Post
    So, after bugging both jettrue and Get Em Fast (thanks for answering my questions so promptly you two) about their CSS menu mods/contribs, I've figured out a way to combine the two. Now just my categories appear as items in a CSS dropdown menu across the top of my header.

    HOWEVER, now I'm having issues centering the menu itself within the header. I know I can patch it quick by tweaking my margins, making one larger than the other, but would prefer not to. If a user would increase their font size, the quick fix would throw everything out of whack.

    I tried using a combo of "text-align=center" for the body and "margin: 0 auto; width: XXXpx;" for the menu wrapper in my style-sheet, but it isn't working. I think the "display: block" and/or "float:left" from the menu is negating the effect.

    Has anyone successfully centered this menu in the header? Possible solutions?
    Link please?

  2. #2
    Join Date
    Jul 2005
    Posts
    87
    Plugin Contributions
    0

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

    Would the style sheets and/or php files help? I am unable to supply a link since the site has not been released to the public.

  3. #3
    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 creative View Post
    Would the style sheets and/or php files help? I am unable to supply a link since the site has not been released to the public.
    It's a lot easier to do if I could see. You could PM the link if that would work. Did you try this:

    #divName {
    text-align:center;
    margin:0 auto;
    }

  4. #4
    Join Date
    Jul 2005
    Posts
    87
    Plugin Contributions
    0

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

    Will do. Thanks.

  5. #5
    Join Date
    Mar 2007
    Posts
    52
    Plugin Contributions
    0

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

    This is a great contribution. I've it installed on a ZC site just fine. Had to change the .htaccess file vs the recommended additions in order to make it work in IE5, but working great now.

    I've now installed it on a test site using phpwebsite, using a basic unordered list. It works fine in mozilla and ie7 but not ie6. I've installed the csshover.htc file as well. See: www.sierranvweb.com/mtp for the menu in place in the site and http://www.sierranvweb.com/mtp/body_files/header.html# for just the menu. Any help, much appreciated.
    thanks,
    Airtime

  6. #6
    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 airtime View Post
    This is a great contribution. I've it installed on a ZC site just fine. Had to change the .htaccess file vs the recommended additions in order to make it work in IE5, but working great now.

    I've now installed it on a test site using phpwebsite, using a basic unordered list. It works fine in mozilla and ie7 but not ie6. I've installed the csshover.htc file as well. See: www.sierranvweb.com/mtp for the menu in place in the site and http://www.sierranvweb.com/mtp/body_files/header.html# for just the menu. Any help, much appreciated.
    thanks,
    Airtime
    With a quick look, I'm not sure precisely, but it may be that it is enclosed in a table.... I didn't design or test it that way, so I'm not sure if it will work inside of a table with the same css?

  7. #7
    Join Date
    Mar 2007
    Posts
    52
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    With a quick look, I'm not sure precisely, but it may be that it is enclosed in a table.... I didn't design or test it that way, so I'm not sure if it will work inside of a table with the same css?
    It is in a table on www.sierranvweb.com/mtp but in a div on the other link, which is just the menu. Neither works, so I don't think the table is the issue.
    Airtime

  8. #8
    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 airtime View Post
    It is in a table on www.sierranvweb.com/mtp but in a div on the other link, which is just the menu. Neither works, so I don't think the table is the issue.
    Airtime
    You have the csshover in the css like this still:

    body {
    behavior: url(includes/csshover.htc);
    }

    My guess that since it's not a zen cart, csshover.htc is not actually in a folder named "includes".

  9. #9
    Join Date
    Mar 2007
    Posts
    52
    Plugin Contributions
    0

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

    Quote Originally Posted by jettrue View Post
    You have the csshover in the css like this still:

    body {
    behavior: url(includes/csshover.htc);
    }

    My guess that since it's not a zen cart, csshover.htc is not actually in a folder named "includes".
    That did the trick. Thanks!

  10. #10
    Join Date
    Oct 2006
    Posts
    18
    Plugin Contributions
    0

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

    JETTRUE, hello again, I am using your template Apple and I noticed that you use this css dropdown menu within it. I've got information from the site where I bought translated ZC, that this css dropdown menu extension is used to hack the sites and they really strong suggest not to use it. They told that
    Image Handler 2
    CSS Horizontal DropDownMenu
    Alternative Header 1.1a
    Automatic Login
    my be used to take control over my site via hackers, they reffer that www.secunia.com check it. Would you comment this as you are the 'producer'? Source: www.zencart.com.pl

 

 
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