-
AuthorPosts
-
April 12, 2018 at 1:40 pm #940930
Hello Support Team,
I use a secondary menu. I would like to display the secondary menu on mobile phones in the burger menu.
Is there any possibility to switch it for small screens?
ThanksApril 13, 2018 at 1:09 pm #941475Hey Andreas_BS,
Thank you for using Enfold.
That’s not possible at the moment, unfortunately. One workaround is to include the secondary menu items in the main menu and then use css to hide them on desktop and display them on mobile view. Let us know if you need help with that.
Best regards,
IsmaelApril 16, 2018 at 8:21 am #942458Hey Ismael,
thanks for that advise. So I tried out this: CSS class for the secondary menue (name: secondarymenu)
> CSS code:
@media only screen and (max-width: 767px) {
.secondarymenu {display:none;}}new menu in the main menu, CSS class (name: secmenu2)
> CSS code:
@media only screen and (min-width: 768px) {
.secmenu2 {display:none;}}But it doesn’t work. Can you please help me with the CSS code?
April 18, 2018 at 2:19 am #943329Hi,
Thank you for the update.
How did you add the css class attribute? Did you use the menu items’ css class field? Please provide the login details in the private field. We’ll add an example.
Best regards,
IsmaelApril 18, 2018 at 8:45 am #943489Hello Ismael,
yes, I used the CSS class field in the menu. Please find the login details in the private content.April 18, 2018 at 8:46 am #943490And the login url…
April 19, 2018 at 3:49 pm #944135Hi,
I fixed a little error in your custom CSS and targeted menu items using their ID’s. Please review your website :)
Best regards,
YigitApril 23, 2018 at 6:20 am #945247Hi Yigit,
thank you. I’ve added a new menu (Über den Autor) and wanted to hide the menu on desktop. So I used the following CSS:
@media only screen and (min-width: 768px) {
#menu-item-2043 {display: none;}}I wonder why it doesn’t work.
Greetings
AndreasApril 23, 2018 at 9:13 am #945303Hello Yigit,
seems that it works now.April 23, 2018 at 8:09 pm #945530Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Basilis -
AuthorPosts
- The topic ‘mobile secondary menu’ is closed to new replies.