Accordion menu in I Am One Pro

Home Forums All Other Themes Accordion menu in I Am One Pro

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #65853
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    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

    #65858
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30702
    • Total: 30702
    Member since: August 16, 2013

    Hi Ross,

    Kindly go to Appearance>>Theme Option>>Basic Setting>>Custom CSS Box

    Add this code there:

    .nav{height:auto !important;}

    Regards,
    Dave

    #65861
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    Blimey, 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

    #65869
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30702
    • Total: 30702
    Member since: August 16, 2013

    Hi Ross,

    Can you send us screenshots? Upload your screenshot on imgur.com and paste the share URL here.

    Regards,
    Dave

    #65879
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    Here you go.

    http://imgur.com/a/c5qSs

    #66027
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    Member since: June 12, 2013

    Kindly send us WordPress admin details here: sktthemes.net/contact will apply a scroll bar.

    Regards,
    Shri

    #66230
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30702
    • Total: 30702
    Member since: August 16, 2013

    Hi Ross,

    You can use these plugins for menu:

    https://wordpress.org/plugins/wp-responsive-menu/
    https://wordpress.org/plugins/responsive-menu/screenshots/

    Regards,
    Brad

    #66351
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    Hi 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

    #66365
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30702
    • Total: 30702
    Member since: August 16, 2013

    Hi 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,
    Brad

    #66373
    RossRoss
    Member
    • Topics: 5
    • Replies: 12
    • Total: 17
    Member since: January 18, 2017

    Worked! Thanks very much Brad!

    #66405
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30702
    • Total: 30702
    Member since: August 16, 2013

    🙂

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Accordion menu in I Am One Pro’ is closed to new replies.