Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1315668
    peadar
    Participant

    Hello, how can I get the submenu items to display on a single line.

    The attached images shows how each submenu item is displaying on multiple lines rather that one line per item.

    Thanks in advance, I look forawrd to hearing from you.

    Kind regards,

    Peter

    #1315694
    Paul R
    Moderator

    Hi Peter,

    To make it one line, you can add this under Custom > Edit Global CSS in the Customizer.

    
    .desktop .sub-menu .sub-menu {
        width:400px;
    }
    

    You may change 400px to adjust the width of sub menu.

    Hope that helps

    #1315758
    peadar
    Participant

    Hello, that doesn’t seem to do it.

    When I click ‘inspect’ and copy the outer html on the menu item highlighted in the picture I get the following;

    <span class=”ubermenu-target-title ubermenu-target-text”>Bright Water Landscape Partnership</span>

    Clicking ‘copySelctor’ I get the following;
    #ubermenu-nav-main-21-primary > li.ubermenu-item.ubermenu-item-type-post_type.ubermenu-item-object-page.ubermenu-item-has-children.ubermenu-item-23447.ubermenu-item-level-0.ubermenu-column.ubermenu-column-auto.ubermenu-has-submenu-drop.ubermenu-has-submenu-flyout > ul > li.ubermenu-item.ubermenu-item-type-post_type.ubermenu-item-object-page.ubermenu-item-has-children.ubermenu-item-23493.ubermenu-item-auto.ubermenu-item-normal.ubermenu-item-level-1.ubermenu-has-submenu-drop.ubermenu-has-submenu-flyout > ul > li.ubermenu-item.ubermenu-item-type-post_type.ubermenu-item-object-page.ubermenu-item-29246.ubermenu-item-auto.ubermenu-item-normal.ubermenu-item-level-2 > a > span

    Does that make it clearer?

    Thanks again.

    Kind regards,

    Peadar

    #1315810
    Thai
    Moderator
    This reply has been marked as private.
    #1315813
    peadar
    Participant
    This reply has been marked as private.
    #1315892
    Rupok
    Member

    Hi there,

    Thanks for the credentials. Let’s try this :

    .ubermenu .ubermenu-item .ubermenu-submenu-drop {
      min-width: 350px;
    }

    If you need more width then just change the value.

    Cheers!

    #1315923
    peadar
    Participant

    Brilliant, how could I amend it so that the width of the first dropdown isn’t affected? (see pic)

    Thanks again.

    Kind regards,

    Peadar

    #1316017
    Rupok
    Member

    Hi Peadar,

    Thanks for writing back. In that case you can add the code like :

    .ubermenu .ubermenu-item .ubermenu-submenu-drop .ubermenu-submenu {
      min-width: 350px;
    }

    Cheers!

    #1317089
    peadar
    Participant

    🙂 great support as always!

    Thanks, Rupok.

    Peadar

    #1317231
    Christian
    Moderator

    You’re welcome.

  • <script> jQuery(function($){ $("#no-reply-1315668 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>