I enabled mega menu for the main nav.
I tried copying and pasting the html code for an av button shortcode to the description of the menu item, however the button doesn’t display. Only the hyperlinked text does. Any suggestions as to how to get this to work?
Hey gerardbao,
Not sure why it’s doing that but you can try to target it using the following CSS:
#menu-item-10549 .avia-button-wrap {
your code here
}
or
#menu-item-10549 .avia-button-wrap a {
your code here
}
Regards,
Rikard
Tried using adding that CSS code with this styling.
#menu-item-10549 .avia-button-wrap {
border: 3px solid #fff;
background: transparent;
}
Nothing changed.
Hey!
Please use the below css in Enfold > General Styling > Quick CSS
.sub-menu .avia-button.avia-color-blue {
background-color: #7bb0e7!important;
border-color: #6693C2!important;
color: #fff!important;
padding: 9px 10px 7px!important;
min-width: 80px;
border-radius: 30px;
color: #fff;
text-decoration: none!important;
}
Best regards,
Vinay
That helped. However the button is cropped off on the bottom a little early. How can I fix that?
Also, while we’re at it, how do I update the paragraph text style for that sub menu in the mega menu?
Thanks,
Hi!
The missing border has got something to do with the padding try and adjust the paddings.
To edit the paragraph text please goto appearance > menu and select the menu item.
Best regards,
Vinay
I understand how to edit the text in the menu. But I want to edit the text style. I’d like to make the font size smaller.
Hi!
Please use the below css :)
#header .avia_mega_text_block {
line-height: 18px;
font-size: 14px!important;
}
Regards,
Vinay