-
AuthorPosts
-
August 4, 2021 at 8:21 pm #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
August 7, 2021 at 5:28 pm #1315047August 9, 2021 at 8:54 pm #1315896Hey 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!
August 10, 2021 at 12:18 pm #1316039Hi,
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;
ordisplay: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; }
Best regards,
MikeAugust 12, 2021 at 9:10 pm #1316494Hey 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.
August 13, 2021 at 10:29 am #1316588Hi,
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 -
AuthorPosts
- The topic ‘Menu description in different menu layout’ is closed to new replies.