Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
davidandrews
A link to the site would be extremely helpful... the picture doesn't cut it. Also, it may be an issue with your template, this doesn't occur in my test site in Firefox.
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
biojohn
:huh:I have the same problem in firefox: the head is separated from the body. I'm not sure it's because of applying the CSS dropdown menu or not (I installed yesterday), since I did not use firefox for a while during site modification. Any help will be appreciated.
Here is my site:
http://www.bioland-sci.com
Simply add this after the menu code:
<div class="clearBoth"></div>
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
jettrue
Just a single item, right, not a drop down list? Add the same thing,
[/code]
Thanks that got it in. :smile: Only one problem it's showing up under the Home tab. :huh: You can see here:
www.homestead-acres.com
Does the space in the drop menu need to be increased? If you can help me get it up with the others I'd appreciate it.
Thanks!
Re: CSS Dropdown menu for your header- With Categories!
Never mind, I found the adjustment in the CSS file.
Thank you for all your help!
Re: CSS Dropdown menu for your header- With Categories!
:smile:
Thank you Jade. Problem solved. I added it to the end of tpl_drop_menu.php under /CUSTOM/common dir.
Re: CSS Dropdown menu for your header- With Categories!
Thanks ! That sort of sorted it out for me!!!
CAn't say THANKYOU enough!!
:-)
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
davidandrews
Thanks ! That sort of sorted it out for me!!!
CAn't say THANKYOU enough!!
:-)
Good! If now you have a space you want to get rid of, in your css, change the default .clearBoth to this:
.clearBoth {
clear:both;
height:0;
font-size:0;
line-height:0;
margin:0;
padding:0;
}
Re: CSS Dropdown menu for your header- With Categories!
Thanks jettrue
Yes, having looked the menu does work in ie6 when the address does not include 'www.'
And yes I would like it to use the www.
I made the .htaccess file using the additions as follows:
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 %{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
So now when you type africanartandmasks.com the www. is added. However with this addition the menu does not work.
I changed it to
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 %{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.africanartandmasks.com$ [NC]
RewriteRule ^(.*)$ http://africanartandmasks.com/$1 [R=301,L]
## the following makes sure the correct mime type is sent for the .htc file
AddType text/x-component .htc
And all appears to be working (except now the www. is stopped but I can live with that!). I am very grateful for your help, thanks.
Re: CSS Dropdown menu for your header- With Categories!
Quote:
Originally Posted by
billybonds
Thanks jettrue
Yes, having looked the menu does work in ie6 when the address does not include 'www.'
And yes I would like it to use the www.
I made the .htaccess file using the additions as follows:
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 %{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
So now when you type africanartandmasks.com the www. is added. However with this addition the menu does not work.
I changed it to
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 %{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.africanartandmasks.com$ [NC]
RewriteRule ^(.*)$ http://africanartandmasks.com/$1 [R=301,L]
## the following makes sure the correct mime type is sent for the .htc file
AddType text/x-component .htc
And all appears to be working (except now the www. is stopped but I can live with that!). I am very grateful for your help, thanks.
Probably in your zen cart configure.php files, you have http://africanartandmasks.com instead of http://www.africanartandmasks.com. Fix that, then you can use the other .htaccess sample.
Re: CSS Dropdown menu for your header- With Categories!