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?

Hide specific menu element
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Hide specific menu element
#30958
Hide specific menu element 11 Years, 10 Months ago Karma: 0
Hello!
I need to hide specific menu element. When I've used simple menu I made this by applying this piece of code:
Code:


li.item-xxx {display: none;}


Because it is first element now I do in such way:
Code:


li:first-child {display: none;}


But if in future I'd hide another element, how I can make this ?
This example haven't worked for me:
Code:


.ux-menu-item-main ux-menu-item-level-0 ux-menu-item444 ux-menu-item-parent-posX {display: none;}


Thank you!
The administrator has disabled public write access.
 
#30959
Re:Hide specific menu element 11 Years, 10 Months ago Karma: 748
Hello,

Use the next CSS rule:

Code:


.ux-menu LI.ux-menu-itemXXX {display: none;}



Where XXX is ID of menu item. You can find it in Joomla! menu manager.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#30961
Re:Hide specific menu element 11 Years, 10 Months ago Karma: 0
Thank you for your prompt reply!
Definitely will try
The administrator has disabled public write access.
 
Go to topPage: 1