Return to Support

2.x: Dropdown menu item width

Home Forums Graphene WordPress theme Support 2.x: Dropdown menu item width

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #48720
    Greybox
    Participant

    How can I control the Dropdown menu item width? There is no menu item in 2.x anymore. I would like to set it to 300px.

    Thank you.

    #48745
    Syahir Hakim
    Keymaster

    Copy and paste this code in Additional CSS:

    .navbar .nav ul li a {
       width: 300px;
    }
    
    #48770
    Greybox
    Participant

    I added this CSS and this affects background only. The text does not wrap following the background width like before. Any suggestions?

    #48792
    Greybox
    Participant

    Anybody can help me?

    #48800
    Syahir Hakim
    Keymaster

    Please provide the URL to your site so that we can take a look.

    #48814
    Greybox
    Participant

    http://testing123.zone/

    Please take a look at RADIO CONTROLS and PROXIMITY DETECTION dropdown menu – the text column width does not wrap to 300 pixel width.

    #48824
    Syahir Hakim
    Keymaster

    Copy and paste this code into Additional CSS:

    .navbar .nav ul li a {
       white-space: normal;
    }
    
    #48832
    Greybox
    Participant

    Perfect, thank you very much!!

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.