Page 56 of 235 FirstFirst ... 646545556575866106156 ... LastLast
Results 551 to 560 of 2345
  1. #551
    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 twdhosting View Post
    Is it possible to put different categories as "parent" items in the drop down menu????

    What I mean is - imagine this...

    I have 10 main categories with products under each one that i want to drop down normally (just as the drop down mod intended) BUT I also have a couple of categories that contain sub-categories and I want these to appear seperately in the header.

    So I will have <HOME> <PRODUCTS> <Category 15> <Category 30>

    So that Category 15 and category 30 still drop down their sub-categories..

    I hope I am making sense!

    I *could* hard code the categories (in fact I have started that way) using main_page=index&cPath=119 for example but this will take a while and would not allow easy modification in the future...

    Thanks in advance

    Tony
    Manually will be the best way, sorry!

  2. #552
    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 DatinBridal View Post
    Hello

    First off, I like to say I love this menu, it looks great in Firefox. I'd like to know how I get it to work in IE. In IE the menu drops down put it the text on the screen shows through and I am unable to click on the menu items.

    Is there a fix for this?

    Thank you very much,
    Dave
    http://datinbridal.com
    First of all, you're using a menu created by someone else, not my menu... but I'm guessing that you're drop down menus work in IE if you go to www.datinbridal.com? To fix this, you'll first need to make sure that in your includes/configure.php file that you have http://datinbridal.com and NOT http://www.datinbridal.com. You'll need to make a root/.htaccess file with the code below, so that if someone goes to www, they automatically get directed to without the www:

    Code:
    ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing:
    
    RewriteEngine On
    RewriteCond &#37;{HTTP_HOST} ^africanartandmasks.com$ [NC]
    RewriteRule ^(.*)$ http://www.africanartandmasks.com/$1 [R=301,L]
    
    ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead:
    
    ##RewriteEngine On
    ##RewriteCond %{HTTP_HOST} ^www.yoursite.com$ [NC]
    ##RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
    
    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc

  3. #553
    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 fcegarra View Post
    Sorry I think it is the wrong place......

    Hello everyone,

    I read a lot of the posts about the breadcrumb problems and the flyout categories but I can not fix my problem.
    I can not see the parent caetgory when I click on a sub category.
    For exemple, I should see :
    Home > Jewelry > Necklaces when I click on the sub-category 'necklaces' but I SEE just Home > Necklaces

    You can check it out here : http://www.viamarisnyc.com/zen/index...index&cPath=23

    If you have any idea, don't hesitate, I am getting crazyy!!

    thanks a lot

    Francois
    You need to download the newest version:

    http://www.zen-cart.com/index.php?ma...roducts_id=479

    Nevermind... I did not create a sidebox css menu... are you sure this is the right thread?

  4. #554

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

    Quote Originally Posted by jettrue View Post
    First of all, you're using a menu created by someone else, not my menu... but I'm guessing that you're drop down menus work in IE if you go to www.datinbridal.com? To fix this, you'll first need to make sure that in your includes/configure.php file that you have http://datinbridal.com and NOT http://www.datinbridal.com. You'll need to make a root/.htaccess file with the code below, so that if someone goes to www, they automatically get directed to without the www:

    Code:
    ## Add these to your .htaccess file so that only one way to your site exists, either http://yoursite.com and http://www.yoursite.com ... the following adds the www if it's missing:
    
    RewriteEngine On
    RewriteCond &#37;{HTTP_HOST} ^africanartandmasks.com$ [NC]
    RewriteRule ^(.*)$ http://www.africanartandmasks.com/$1 [R=301,L]
    
    ## If you'd like your site to go to http://mysite.com instead of http://www.mysite.com, add these changes instead:
    
    ##RewriteEngine On
    ##RewriteCond %{HTTP_HOST} ^www.yoursite.com$ [NC]
    ##RewriteRule ^(.*)$ http://yoursite.com/$1 [R=301,L]
    
    ## the following makes sure the correct mime type is sent for the .htc file
    AddType text/x-component .htc
    Hello,

    Thank you very much,

    With allot of editing to the .css file and changing my catagories around I have it working now. I appreciate your help very much. For some reason when the top level catagories dropped down the lower level catagories showed through so it was almost imposible to make the selection we wanted. But it's all good now.

    Thanks again
    Dave
    http://datinbridal.com

  5. #555
    Join Date
    Apr 2006
    Posts
    108
    Plugin Contributions
    0

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

    Anyone know how to Altering the stylesheet so it the menu fills the screen width WITHOUT it starting a new line?

    I have it working in Firefox and can resize the browser and it fits whatever size the browser is

    in IE, at full screen, it kerns the "shopping cart" link onto another line.

    if I adjust the window it will bring it onto the same line as the other main menu items, but kerns onto another line at full screen size

    I have adjusted the stylesheet a little

    So instead of:

    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%;
    }

    div#dropMenu ul.level1 {
    width:100%;
    margin:0 auto;
    text-align:center;
    background:#0589a5;
    z-index:1000;
    float:left;
    }



    I have altered the width's to read 98% which works a little but leaves white space on either side (obviously)

    is it other code which I need to alter?

    Thanks for any help

  6. #556
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

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

    Hi there!

    Nice contrib!

    I am trying to have a different cattegory as site root (i use multishop contri), but i have not yet succeeded. Could you give me some tips how to accomplish this?

    I have tried to set a differnent root in categories_ul_generator.php:

    class zen_categories_ul_generator {
    var
    $root_category_id = 11,

    But then there is no output.

    Is there any other place i could try to hardcode this?

    Thanks!

  7. #557
    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 davidandrews View Post
    Anyone know how to Altering the stylesheet so it the menu fills the screen width WITHOUT it starting a new line?

    I have it working in Firefox and can resize the browser and it fits whatever size the browser is

    in IE, at full screen, it kerns the "shopping cart" link onto another line.

    if I adjust the window it will bring it onto the same line as the other main menu items, but kerns onto another line at full screen size
    Can I see your site? Are you using the most recent version of the menu?

  8. #558
    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 lenny View Post
    Hi there!

    Nice contrib!

    I am trying to have a different cattegory as site root (i use multishop contri), but i have not yet succeeded. Could you give me some tips how to accomplish this?

    I have tried to set a differnent root in categories_ul_generator.php:

    class zen_categories_ul_generator {
    var
    $root_category_id = 11,

    But then there is no output.

    Is there any other place i could try to hardcode this?

    Thanks!
    Hmm, I'm not too sure of a way to automate this, you may have to get rid of the generated category portion, and hardcode your categories.

  9. #559
    Join Date
    Aug 2006
    Posts
    15
    Plugin Contributions
    0

    Have a Drink Re: CSS Dropdown menu for your header- With Categories!

    Quote Originally Posted by jettrue View Post
    Hmm, I'm not too sure of a way to automate this, you may have to get rid of the generated category portion, and hardcode your categories.
    I have found it!!

    In multisite module you can configure the site root category by defining var CATEGORIES_ROOT

    Changes to file categories_ul_generator.php in case anyone else needs this:

    About line 25
    change
    class zen_categories_ul_generator {
    var $root_category_id = 0,
    to
    class zen_categories_ul_generator {
    var $root_category_id = CATEGORIES_ROOT,
    about line 56:
    multisit mod has a cat_filter function for compatiblity with other mods
    change
    $categories = $db->Execute($categories_query);
    to
    $categories = $db->Execute(cat_filter($categories_query));
    and about line 63:
    change
    function buildBranch($parent_id, $level = 1, $submenu=false) {
    if ($parent_id != 0) {
    to
    function buildBranch($parent_id, $level = 1, $submenu=false) {
    if ($parent_id != CATEGORIES_ROOT) {
    Very happy with this contrib!!


    Grtz Lenny

  10. #560
    Join Date
    Oct 2007
    Posts
    3
    Plugin Contributions
    0

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

    Hi all.

    I've got a site that is just about done, but I've been wracking my brain over a few issues. I've gone through a good majority of the posts here over the last week or so and was not able to find a resolution.

    In Internet Explorer (haven't had it happen in Firefox), when the CSS drop down menu comes in contact with a "Sort By" drop down menu in my catalog, the CSS drop down menu appears behind the "Sort By" drop down menu.

    Any help is appreciated. If you need any other information, please let me know.

    Thanks.

 

 

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