excluding a menu item

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

excluding a menu item

Postby detoner » 20 Apr 2012, 08:59

Hi
Do you know how you would exclude a menu item via the style css. I currently have a problem that a menu item does not display in the admin area - so I cannot access it to delete it!

I have tried this code in the style.css - and other variations - would you know that would work?

.page_item page-item-1004{display:none;}

html code is
div class="col-control center"
ul class="sf-menu"
li class="page_item page-item-1004" - this is the item I do not want to display

Many thanks in advance
Dawn
detoner
 
Posts: 36
Joined: 20 Apr 2012, 08:41

Re: excluding a menu item

Postby drake » 20 Apr 2012, 09:39

.page-item page-item-1004 means... nothing of class page-item...
You can try to address directly the right element.
Code: Select all
li.page-item-1004 {display:none;}


Instead of editing style.css, add the code above to Suffusion Options -> Backend -> Custom Includes -> Custom Styles - from there will overwrite any previous loaded styles from files.
drake
 
Posts: 3775
Joined: 26 Jul 2011, 07:56
Location: Constanta, Romania

Re: excluding a menu item

Postby detoner » 21 Apr 2012, 04:56

yes thank-you so much - I was trying with a dot!

worked as you posted
Dawn
detoner
 
Posts: 36
Joined: 20 Apr 2012, 08:41


Return to Support Requests

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Neossersilm, tiessyVed and 6 guests