Change Background Colour of "NEW" label

This topic has 6 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Robert Hall

  • Avatar: ElitaSharpe
    ElitaSharpe
    Participant
    July 22, 2016 at 10:13

    Previously, I was able to replace the “new” label as seen in ticket#129865.

    With the new update to the theme, it has reverted to the old label. I replaced it again and refreshed the page but now the label doesn’t show a change in the Mega menu. It also does show a label at all in the Product Categories list.

    Can you please tell me how to make the change in my child-theme so I don’t have to do this every time there is an update?

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 22, 2016 at 11:37

    Hello,

    Place your custom new badge image in the wp-content/themes/legenda-child/images folder and add the following css code in child style.css:

    .fixed-header .menu > li .nav-sublist-dropdown ul li.badge-new > a:after, .main-nav .menu > li .nav-sublist-dropdown ul li.badge-new > a:after {
        background-image: url(http://busyneedle.ch/wp-content/themes/legenda-child/images/new-icon.png);
    }
    
    .menu ul > li.badge-new > a:after {
        background-image: url(http://busyneedle.ch/wp-content/themes/legenda-child/images/new-icon.png);
    }

    Best regards,
    Jack Richardson.

    Avatar: ElitaSharpe
    ElitaSharpe
    Participant
    July 29, 2016 at 10:32

    I did as you suggested and no icon appears in either place. If I change the icon to something else (such as Sale), it will appear on the Mega Menu but not on the main Product Category menu. Login in Private Content.

    Please, contact administrator
    for this information.
    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 29, 2016 at 10:56

    Hello,

    Please clear cache and check it now.

    Regards,
    Robert Hall

    Avatar: ElitaSharpe
    ElitaSharpe
    Participant
    July 29, 2016 at 11:05

    That has fixed it for the Mega Menu but it still doesn’t show on the Product Category list in the sidebar.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    July 29, 2016 at 12:26

    Sorry, but we don’t have such feature in our theme to add label to the Product Category list in the sidebar.

    Regards,
    Robert Hall

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

You must be logged in to reply to this topic.Log in/Sign up

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