Home › Forums › All Other Themes › Accordion menu in I Am One Pro
- This topic has 10 replies, 3 voices, and was last updated 7 years, 1 month ago by Sonnal S Sinha.
-
AuthorPosts
-
March 17, 2017 at 1:00 pm #65853
Hi,
This menu works fine on web, but on mobile it’s just one long list (eventually it’ll be about 50 links).
http://www.knight-graphics.co.uk/dev/
How can I make an accordion menu on mobile, please?
Ta,
Ross
March 17, 2017 at 1:08 pm #65858Hi Ross,
Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box
Add this code there:
.nav{height:auto !important;}
Regards,
DaveMarch 17, 2017 at 1:18 pm #65861Blimey, that was quick!
Have tried that Dave but it hasn’t made a difference.
Can you double check the site on mobile please?
Ta,
Ross
March 17, 2017 at 1:29 pm #65869Hi Ross,
Can you send us screenshots? Upload your screenshot on imgur.com and paste the share URL here.
Regards,
DaveMarch 17, 2017 at 1:55 pm #65879Here you go.
http://imgur.com/a/c5qSs
March 20, 2017 at 7:48 am #66027Kindly send us WordPress admin details here: sktthemes.net/contact will apply a scroll bar.
Regards,
ShriMarch 21, 2017 at 11:58 am #66230Hi Ross,
You can use these plugins for menu:
https://wordpress.org/plugins/wp-responsive-menu/
https://wordpress.org/plugins/responsive-menu/screenshots/Regards,
BradMarch 22, 2017 at 12:50 pm #66351Hi Brad and Shri,
I installed the above plugin – I now have a menu which works how I want it to, thanks.
However, BOTH menus are now showing on mobile. There’s a box in the plugin which says: “Enter the css class/ids for different elements you want to hide on mobile separeted by a comma(,). Example: .nav,#main-menu”
Can you tell me the code I need to add please to get rid of the ‘web’ nav on mobile, and leave the responsive one? “nav,#main-menu” just stops the web one from opening – I need it gone completely.
Here’s a grab: http://imgur.com/a/tCrxa
Or you can try the site on your phone: http://www.knight-graphics.co.uk/dev/
Ta,
Ross
March 22, 2017 at 1:20 pm #66365Hi Ross,
Kindly go to Appearance»Theme Options»Basic Settings»Custom CSS Box:
Add this code there:
@media screen and (max-width:767px) {
.toggle { display:none;}
}Regards,
BradMarch 22, 2017 at 2:14 pm #66373Worked! Thanks very much Brad!
March 23, 2017 at 4:45 am #66405🙂
-
AuthorPosts
- The topic ‘Accordion menu in I Am One Pro’ is closed to new replies.