-
AuthorPosts
-
April 5, 2021 at 7:32 pm #1292599
Hi,
i just found this Code to Hide ALL the drop downs in the bar menu, but i want to hide only two specific dropdown.
is that posible?@media only screen and (min-width: 767px) {
nav.main_menu ul.sub-menu {
display: none!important;
}}Thanks
April 7, 2021 at 3:35 am #1292963Hey reinsicht,
Thank you for the inquiry.
Yes, that should be possible. We could use child selectors to target specific elements inside the dropdown, or use their id. But we have to check the site first in order to provide the appropriate css. Please provide the site URL in the private field.
To learn more about child selectors, please check the following article.
// https://css-tricks.com/useful-nth-child-recipies/
Best regards,
IsmaelApril 14, 2021 at 12:10 pm #1294363Hi,
the Webseite :I want to hide only the Dropdown in Menu for Individualisierung and Templates
Thanks!
April 15, 2021 at 11:40 pm #1294639Hi,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan ShannonApril 16, 2021 at 9:37 am #1294738Here is the Link
April 18, 2021 at 9:29 pm #1295022Hey reinsicht,
I’m not seeing anything in the private data section.
Best regards,
Jordan ShannonApril 19, 2021 at 10:30 am #1295207April 20, 2021 at 12:24 am #1295373Hi,
Add this to quick css:
#menu-item-3471 .sub-menu, #menu-item-4960 .sub-menu{ display:none!important; }Best regards,
Jordan ShannonApril 20, 2021 at 7:05 pm #1295602Thanks i used it works fine.
-
This reply was modified 4 years, 6 months ago by
reinkieker.
April 21, 2021 at 8:45 pm #1295873Hi,
Great! Did you need additional help with this topic or shall we close?
Best regards,
Jordan ShannonApril 23, 2021 at 9:53 am #1296250Yes thans!
April 24, 2021 at 2:36 am #1296439Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
This reply was modified 4 years, 6 months ago by
-
AuthorPosts
- The topic ‘Hide some dropdown Submenu’ is closed to new replies.
