June 11, 2021 at 2:57 pm
#89491
Theme Horse Support Team
Keymaster
Hi Mravi,
Actually it a Menu description but it can be done manually as you have shared. Add unique Class Name to specific menu (like ‘apro-class’ in example) then add the below Custom CSS code to ‘Appearance > Customize > Additional CSS’.
.apro-class > a:before {
content: "New";
}
.apro-class > a:before {
position: relative;
position: absolute;
top: -8px;
right: 15px;
background-color: #a1b32e;
color: #ffffff;
padding: 2px 5px;
border-radius: 3px;
font-size: 11px;
font-weight: normal;
}
@media (max-width: 991px) {
.apro-class > a {
display: flex;
}
.apro-class > a:before {
position: inherit;
top: auto;
right: auto;
-ms-flex-order: 2;
order: 2;
padding: 3px 5px;
margin-left: 8px;
}
}
If you have to add the bubble to other menu item then you have to repeat the same code adding next unique Class Name to menu.
Thanks