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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Style css margin top of submenus
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Style css margin top of submenus
#18709
Style css margin top of submenus 12 Years, 10 Months ago Karma: 0
Hi

I'm developing a website with ari ext menu - www2.kymaner.com/

At this moment i styled my menu as i wished, but something is not quite right. When i mouse over menu "Company" to see the submenu, there is too much space between the menu and the submenu and i want that the submenu appears right below the menu, close to the blue line.

I've tried several css lines to do that, but i'm stucked. Can you help me?
The administrator has disabled public write access.
 
#18710
Re:Style css margin top of submenus 12 Years, 10 Months ago Karma: 748
Hello,

Add the next CSS rules:

Code:


UL.ux-menu a
{
 height: 17px;
}

UL.ux-menu LI
{
 padding-bottom: 0;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#18711
Re:Style css margin top of submenus 12 Years, 10 Months ago Karma: 0
Perfect. That did the trick.

Just another quick question. My submenu in active state is not quite right yet. How can i apply a different active state to submenu and not inherit it from the mainmenu?
The administrator has disabled public write access.
 
#18712
Re:Style css margin top of submenus 12 Years, 10 Months ago Karma: 748
Could you provide a screenshot where we can see what do you want to achieve?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#18713
Re:Style css margin top of submenus 12 Years, 10 Months ago Karma: 0
www2.kymaner.com/index.php?option=com_content&view=article&id=47&Itemid=34&lang=en

If you click on the link, is the about us page. When mouse over over the item "Company" to see the submenu, you can see that the about us link as an active state, and inherits the background image that is defined in the mainmenu active state...

tried to duplicate

.ux-menu-sub li a:hover {
color:#FFFFFF;
font-size:14px !important;
font-weight:bold !important;
background-color: #005496;
text-decoration: none;
background-image: none;
}

and atribute a:active, but the background image still appears...
The administrator has disabled public write access.
 
#18714
Re:Style css margin top of submenus 12 Years, 10 Months ago Karma: 748
Try to use the next CSS rule:

Code:


UL.ux-menu-sub A.current
{
 background: none red;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 12