Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1314470

    Hi, I am using logo left, menu right layout with a top header.

    Is it possible to get the menu item description to show up like is available when using a left sidebar with a menu below the logo?

    If anyone can point me in the right direction that would be great! Even just which files I could look at to find the avia-menu-subtext might be enough.

    Thanks in advance!

    D

    #1315047

    Hey dustingrof,
    Thank you for your patience, please try going to WordPress ▸ Menus ▸ Screen Options ▸ Description and ensure this option is enabled, it will add a Description field to your menu items
    2021-08-07_004.png

    Best regards,
    Mike

    #1315896

    Hey Mike, thanks for the reply! I got that part, and understand that the description is only available on left or right sidebar layouts. Not available on header top layouts. I am looking for the theme files where I could see the left sidebar code and then maybe grab it myself to put in the top header layouts.

    Thanks!

    #1316039

    Hi,
    Thanks for the feedback, I examined this further and found that the element is available in the top menu layout, it is hidden with this css:

    .avia-menu-subtext, #top .sub-menu .avia-menu-subtext {
        display: none;
    }

    so you can easily override it with some css such as display:block; or display:inline; , but it will require some more css to get it to work well.
    Here is some css I came up with as a starting point for you, but it depends on your layout:

    #avia-menu > [id*='menu-item-'] > a {
    	line-height: 14px !important;
        padding-top: 36px !important;
    }
    #avia-menu > [id*='menu-item-'] > a .avia-menu-subtext {
        display: inline;
    }
    #avia-menu > [id*='menu-item-'] > a .avia-menu-subtext::before { 
    	content: "\A"; 
    	white-space: pre; 
    }

    2021-08-10_001.png

    Best regards,
    Mike

    #1316494

    Hey Mike, thanks for that! I didn’t realize it was available on the parent menu items. Good news!

    I was originally wanting it on the children of the menus and in the mega menu, but I have went a different direction.

    #1316588

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Menu description in different menu layout’ is closed to new replies.