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?

List image for submenus only
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: List image for submenus only
#25565
List image for submenus only 12 Years, 9 Months ago Karma: 0
Hi, and first I want to thank you for your great module!

I would like to have a list-style-image for my submenus (so not for the parent menu item).

I tried to add the following rules in Sub-menu items styles -> CSS styles:

.werknemer ul.ux-menu ul.ux-menu-sub a
{
top: -15px;
left: -2px;
width: 384px;
padding-top:0px;
list-style-image:url('images/bullet_oranje.gif');
}

The rules for top, left, width and padding are working correctly, but there is no image. Do I have to create another rule? In which directory do I have to place the image file?

Thank you!
The administrator has disabled public write access.
 
#25566
Re:List image for submenus only 12 Years, 9 Months ago Karma: 760
Hello,

Could you provide a link to a page where we can see a menu?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#25567
Re:List image for submenus only 12 Years, 9 Months ago Karma: 0
I've put a copy of the website on www.demo-mwebs.com/sandbox

The menus are in the orange part, named "werknemer" and "werkgever"
The administrator has disabled public write access.
 
#25568
Re:List image for submenus only 12 Years, 9 Months ago Karma: 760
Add the next CSS rule:

Code:


.werkgever ul.ux-menu ul.ux-menu-sub a 
{
 background-image: url(modules/mod_ariextmenu/mod_ariextmenu/js/css/images/bullet_oranje.gif) !important;
 background-repeat: no-repeat !important;
 background-position: left center;
}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#25571
Re:List image for submenus only 12 Years, 9 Months ago Karma: 0
Thanks a lot, that works

But when I click on a link in this menu (for example on Werknemers -> Werkwijze), on the following page the background image is not shown. It is actually only working on the homepage, not on second level pages.
And one more minor detail, how do I get a margin of lets say 8px in front of the background image?

Sorry for asking, but sometimes CSS is really driving me mad ...
Last Edit: 2012/02/27 17:24 By PaysB.
The administrator has disabled public write access.
 
#25591
Re:List image for submenus only 12 Years, 9 Months ago Karma: 760
This problem with Joomla! SEF, use the next CSS property:

background-image: url(/sandbox/modules/mod_ariextmenu/mod_ariextmenu/js/css/images/bullet_oranje.gif) !important;

instead of:

background-image: url(modules/mod_ariextmenu/mod_ariextmenu/js/css/images/bullet_oranje.gif) !important;

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