Hiding sub-menu item

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Nov 30, 2013 12:44 pm
Reply with quote
Report this post
I have created a submenu within one of the Top menu items Despite "Show sub-menu items" selected NO it show under the Multimedia item. Others are fine, only this one http://oi39.tinypic.com/23m3c76.jpg

How can I hide it?
User avatar
Expert Boarder

GK User
Sat Nov 30, 2013 1:38 pm
Reply with quote
Report this post
Hi.
Please add URL here or using PM.
I've to check - and then I will tell you.

Because there are two technique - you can hide only selected submenu items or all . Which you choose?
User avatar
Platinum Boarder

GK User
Sat Nov 30, 2013 1:44 pm
Reply with quote
Report this post
Thank you! I have just sent you a PM. Click to Multimedia and you will see than submenu "Music" appears only there.
User avatar
Expert Boarder

GK User
Sat Nov 30, 2013 2:20 pm
Reply with quote
Report this post
Done. Music item has been hidden.
I've used this:
Code: Select all
li.item-752 {display:none }
User avatar
Platinum Boarder

GK User
Sat Nov 30, 2013 2:23 pm
Reply with quote
Report this post
That was quick! Thank you so much!! There are lots of things to learn,
User avatar
Expert Boarder

GK User
Wed Dec 04, 2013 5:19 pm
Reply with quote
Report this post
How about the Menu Main? I just would like to hide sub-menus one of the main menu items. The same code doesn't work for the main menu.
User avatar
Expert Boarder

GK User
Wed Dec 04, 2013 11:26 pm
Reply with quote
Report this post
Yes, because you have to use another menu item ID and class. Each menu item has different ID.
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:30 pm
Reply with quote
Report this post
Yes, I did a different id but I think the code is different for the MAIN menu. The code below suggested in another thread by you but how can I edit it only for one item?

.gkMenu > ul > li > .childcontent .gkcol { display:none}
User avatar
Expert Boarder

GK User
Wed Dec 04, 2013 11:35 pm
Reply with quote
Report this post
According to your PM message please use this

Code: Select all
#menu689, #menu566, #menu567 { display:none  }


Using this method you can control which menu items (from Main Menu) are hidden and which are not.
User avatar
Platinum Boarder

GK User
Wed Dec 04, 2013 11:37 pm
Reply with quote
Report this post
It has worked!! Thanks a million!!
User avatar
Expert Boarder

GK User
Thu Dec 05, 2013 12:56 pm
Reply with quote
Report this post
Sorry, one more thing. After hiding sub-menu a line appears under the menu when I try to click: See please http://oi39.tinypic.com/xb0mth.jpg

Not a big deal but I just wanted to ask in any case if there is a way to remove it.
User avatar
Expert Boarder

GK User
Thu Dec 05, 2013 9:08 pm
Reply with quote
Report this post
... Using simple CSS hiding menu items technique it would be a little bit harder.

This line is from
Code: Select all
.gkMenu > ul div.childcontent li {
    border-top: 1px solid #444444;
    margin: 0;
    padding: 0 16px;
}


So, let's try this override
Code: Select all
 .gkMenu > ul div.childcontent li { border-top: 1px solid #1C1C1C; } 


I've changed color of line - simple and safe.
User avatar
Platinum Boarder

GK User
Thu Dec 05, 2013 9:33 pm
Reply with quote
Report this post
It worked! Thank you so much!!!
User avatar
Expert Boarder


cron