Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

PieMan
Advanced Member

United Kingdom
272 Posts

Pre-sales questions only
(More Details...)

Posted - 03/08/2021 :  06:55:56  
Hi,

I want to remove a category menu item from the left hand vertical menu2 CSS menu system. I know there is CSS code to do this, but I can't find it anywhere.

Any help would be appreciated.

Regards

Mike

Using ECT since 2003.

Edited by - PieMan on 03/08/2021 07:00:53

dbdave
ECT Moderator

USA
10413 Posts

Posted - 03/08/2021 :  13:14:40  
Is this the dynamic menu, or just a static menu where you create the links?

If it's the dynamic menu, and you don't want to disable the category, then we need to see the site so we can look at the output and see if there is a unique class or ID so you could use css to hide it.

You can right click the offending item in the menu and click "inspect" in your browser to see any class (or id) as well.

David

PieMan
Advanced Member

United Kingdom
272 Posts

Pre-sales questions only
(More Details...)

Posted - 03/09/2021 :  02:04:04  
It is the dynamic menu that self populates.

I right clicked and inspected and it shows as id="ect0_80" href="products.php?cat=80".

Regards

Mike

Using ECT since 2003.

dbdave
ECT Moderator

USA
10413 Posts

Posted - 03/09/2021 :  09:05:35  
If that's the case then,

#ect0_80 {display:none;}


Should do the trick in your css file.

Thanks,
David

PieMan
Advanced Member

United Kingdom
272 Posts

Pre-sales questions only
(More Details...)

Posted - 03/09/2021 :  09:15:17  
Excellent Dave, thank you.

I thought it was something simple, but I haven't carried out any web work for about a year and my old brain doesn't remember stuff like that.

Regards

Mike

Using ECT since 2003.

dbdave
ECT Moderator

USA
10413 Posts

Posted - 03/09/2021 :  10:55:33  
Sure Mike, I'm glad to help.

Keep in mind when targeting a class, the class name is preceded with a dot (.) and when targeting an ID, the ID is preceded by the (pound sign if you're old) hastag (#)

David

Edited by - dbdave on 03/09/2021 10:56:20
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000