Removing from index page only
Hi.
Just a longshot really.
I have installed a very similar CSS dropdown from the download section by toolatesmart.
As it is pretty much identical in operation though not coding, I was hoping that someone could tell me how to remove the drop down menu from the index page ONLY.
Im sure it will be a flag or something on a header or tpl file, but not experienced enough to know where.
Any advice please?
Thanks in advance
Chris
Re: Removing from index page only
Quote:
Originally Posted by
chufty bill
Hi.
I was hoping that someone could tell me how to remove the drop down menu from the index page ONLY.
To get it off just the index page (you mean just the main page right?), you would create the file index_home.css and put a rule to hide the menu: #dropMenuWrapper{display:none}
The index_home.css is the file that controls styles for just your home page.
Re: CSS Dropdown menu for your header- With Categories!
Hi jettrue, im getting there with the site, was just wondering if you know how to display an ez-page title?
Have a look at the following line from the drop_menu.php
*********
<li><a href="<?php echo zen_ez_pages_link(18); ?>"><?php echo SHIRT; ?></a></li>
**********
I have tried to type "Sports Shirt" however when update the menu
i get a blank shop, i am guessing it is somthing to do with title of the ez-page (page 18) how can i get the title of the page to display in the dropdown menu button.
( I know it can be done as the ez-page header can display them)
Iv tried HEADER_SPORTS_SHIRT but this just displays all the txt
Cheers
Mr(unable to)fixit
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
mrfixit
Hi jettrue, im getting there with the site, was just wondering if you know how to display an ez-page title?
Have a look at the following line from the drop_menu.php
*********
<li><a href="<?php echo zen_ez_pages_link(18); ?>"><?php echo SHIRT; ?></a></li>
**********
I have tried to type "Sports Shirt" however when update the menu
i get a blank shop, i am guessing it is somthing to do with title of the ez-page (page 18) how can i get the title of the page to display in the dropdown menu button.
( I know it can be done as the ez-page header can display them)
Iv tried HEADER_SPORTS_SHIRT but this just displays all the txt
Cheers
Mr(unable to)fixit
You're bang your head on the computer when you see this... (I've gotten stuck in the PHP rut myself), but just simply do it ike a normal link:
Code:
<li><a href="index.php?main_page=page&id=18&chapter=0">Sports Shirt</a></li>
I don't know that I've ever seen this:
<?php echo zen_ez_pages_link(18); ?>
.... did you just make that up? Or is that a real zen cart thing? :blush:
Re: CSS Dropdown menu for your header- With Categories!
Hi Jade,
I have done links exactly the way you suggested many times and they work fine.
But there is a $zen_href_link() function. Could he have used that?
Re: CSS Dropdown menu for your header- With Categories!
I just installed this wonderful add-on onto my test store. Installing it was the easy part, but it seems I have ran into a snag. Take a look at this:
http://www.mistys-specialty-gifts.biz/test
I have moved my (dark grey) main nav bar down below my logo. Since I installed this add-on, i now have an unwanted white space just below it, dividing the main part of the page. How do I get ride of that? How do I make my grey menu bar as the drop down menu? What am I doing wrong? Or not doing?
Michelle
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
MSGOK
I just installed this wonderful add-on onto my test store. Installing it was the easy part, but it seems I have ran into a snag. Take a look at this:
http://www.mistys-specialty-gifts.biz/test
I have moved my (dark grey) main nav bar down below my logo. Since I installed this add-on, i now have an unwanted white space just below it, dividing the main part of the page. How do I get ride of that? How do I make my grey menu bar as the drop down menu? What am I doing wrong? Or not doing?
Michelle
The drop down menu is there in that big space, but its white text on a white background, so you can't see it, and either way, it looks like you installed the "Paul's Version" from the download section, not my version. My version has all categories in one drop down menu, whereas Paul's version has each category as its own drop down.
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
jettrue
The drop down menu is there in that big space, but its white text on a white background, so you can't see it, and either way, it looks like you installed the "Paul's Version" from the download section, not my version. My version has all categories in one drop down menu, whereas Paul's version has each category as its own drop down.
Thanks. I just installed your version of the dropdown menu and I'm liking it a whole lot better.
Re: CSS Dropdown menu for your header- With Categories!
Hi Jade,
I have just installed your CCS Dropdown with the cherry zen template and am having a few teething problems.
The submenu's drop down and thats all a-ok, its just that now the site is no longer "fluid" and the menu bar is stretced accross the whole screen. Is it posible to keep the site fluid with the dropdown?
I tried searching this thread and forum and had no luck trying to find an answer, so if you could give me some help it would be mostly appreciated!!
Regards
Liam.