Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Submenu position 1px too low
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Submenu position 1px too low
#15683
Submenu position 1px too low 13 Years, 5 Months ago Karma: 0
Hi
First of all I think this extension is great.
I am currently working on a site testing.bettondesign.co.uk/bluekeld (this is work in progress).
The main menu has a total height of 40px but the submenu (eg: ul li ul) has a top position of 41px therefore there is a 1px gap between the main menu and the submenu. This can be seen when hovering over 'Products'.
I presume this is a javascript issue as the css code for the submenu positioning is placed in the actual page rather than in a seperate css file.
Do you know of anyway to fix this? I have tried overriding the css with
Code:

ul li ul{top:40px !important;}
but this seems to break the slide on the submenu.
Cheers.
Last Edit: 2011/06/03 09:26 By bettondesign.
The administrator has disabled public write access.
 
#15684
Re:Submenu position 1px too low 13 Years, 5 Months ago Karma: 760
Hello,

Try to use the next CSS rule:

Code:


UL.ux-menu UL.ux-menu-sub
{
 margin-top: -1px;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#15688
Re:Submenu position 1px too low 13 Years, 5 Months ago Karma: 0
Hi

I have tried that but the 1px gap remains when the submenu is sliding out and then disappears when it has finished sliding which looks a little strange.
The administrator has disabled public write access.
 
#15690
Re:Submenu position 1px too low 13 Years, 5 Months ago Karma: 760
Use the next CSS rules:

Code:


.ux-menu-horizontal
{
 margin-top: -1px;
}

.ux-menu-horizontal ul.ux-menu-sub
{
 margin-top: 0 !important;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#15692
Re:Submenu position 1px too low 13 Years, 5 Months ago Karma: 0
Thank you.
I have modified your css slightly but it is the same basic principle. Thanks for pointing me in the right direction
Last Edit: 2011/06/03 10:38 By bettondesign.
The administrator has disabled public write access.
 
#18341
Re:Submenu position 1px too low 13 Years, 3 Months ago Karma: 0
I'm having a very similar problem with a 1px gap.

My site is here:

www.andreaduncan.co.uk

There's a 1px gap I can't get rid of between my top level menu and my sub-level one.

This means that if I move the mouse down and touch the gap, my sub-level disappears.

It's annoying me more than my client, and I have tried to fix it but with no luck.

A bit of help would be great.

Thanks
The administrator has disabled public write access.
 
Go to topPage: 12