CSS class label_new hides the menu name - by therocks36

This topic has 8 replies, 2 voices, and was last updated 9 years, 9 months ago ago by Eva Kemp

  • Avatar: therocks36
    therocks36
    Participant
    March 12, 2015 at 00:59

    When I put a CSS class label_new for a menu item, the name of the menu is hiddem by the label.

    The label_hot and label_sale works well as the label is palced beside the name.

    Please, contact administrator
    for this information.
    7 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    March 12, 2015 at 12:41

    Hello,

    Please add this code in custom.css file:

    .menu .nav-sublist-dropdown ul > li.label-new > a::after {
        left: 28px;
    }

    How to create custom.css you can watch in this tutorial (it’s for Legenda theme but the process is the same).

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: therocks36
    therocks36
    Participant
    March 13, 2015 at 13:30

    This works for this particular one but if I add other label-new for a longer name it goes over the name. I’ve done an example on my site.

    Avatar: Eva
    Eva Kemp
    Support staff
    March 13, 2015 at 13:42

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: therocks36
    therocks36
    Participant
    March 18, 2015 at 16:57

    Here’s the credentials

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    March 18, 2015 at 20:45

    Hello,

    I’ve added this code in style.css of your child theme:

    .menu .nav-sublist-dropdown ul > li.label-new > a::after {
      margin-right: -42px;
    }

    Please check the menu now.

    Regards,
    Eva Kemp.

    Avatar: therocks36
    therocks36
    Participant
    March 18, 2015 at 20:48

    Perfect.

    Thanks.

    Avatar: Eva
    Eva Kemp
    Support staff
    March 18, 2015 at 21:09

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

  • Viewing 8 results - 1 through 8 (of 8 total)

The issue related to '‘CSS class label_new hides the menu name’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.