Drop Down Menu Width

Discussion in 'Squirrel WordPress Theme' started by vsatusers, Jun 16, 2014.

Thread Status:
Not open for further replies.
  1. vsatusers

    vsatusers Guest

    Joined:
    Jun 9, 2014
    Messages:
    6
    Likes Received:
    0
    Is there a way to increase the width of the drop down menus off of the main menu bar? I have text I want to display all on one line, but currently it wraps it to multiple lines.
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS

    Code:
    #menu .ddsmoothmenu li ul {
    width: 200px!important;
    }
    #menu .ddsmoothmenu li li a {
    width: 165px;
    }
     
    Thanks & Regards
    Gourav Shrivastava
     
  3. vsatusers

    vsatusers Guest

    Joined:
    Jun 9, 2014
    Messages:
    6
    Likes Received:
    0
    Thanks you that did it! I have a related question, one of my main menu pages has a lot of sub pages, so many that they don't all show up in the drop down menu. Is there any way to scroll down the drop down menu?
     
  4. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Do let us know your website link.


    Thanks & Regards
    Gourav Shrivastava
     
  5. vsatusers

    vsatusers Guest

    Joined:
    Jun 9, 2014
    Messages:
    6
    Likes Received:
    0
    It's vsatusers.org

    Thanks
     
  6. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    Paste this code in Custom CSS
    Appearance > Theme Option > Styling Option > Custom CSS
    Code:
     #menu .ddsmoothmenu li ul {
    overflow-y: scroll;
    height: 200px;
    overflow-x: hidden;
    }

    Thanks & Regards
    Gourav Shrivastava
     
  7. vsatusers

    vsatusers Guest

    Joined:
    Jun 9, 2014
    Messages:
    6
    Likes Received:
    0
    Thanks very much!
     
Thread Status:
Not open for further replies.

Share This Page