OroCommerce Forums

Covering OroCommerce topics, including community updates and company announcements.

Forums Forums OroCommerce How to change the color of new arrival icon

This topic contains 6 replies, has 2 voices, and was last updated by  Michael 3 years, 11 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • Creator
    Topic
  • #32737

    zhex900
    Participant

    Hi,

    Can anyone please show me how to change the colour of the new arrival icon.

    Thank you!

    Jake He

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #32738

    Michael
    Keymaster

    In your custom theme set different value to the $product-sticker-icon-new-arrival-background scss variable, e.g.

    #32739

    zhex900
    Participant

    Thank you!

    I have made the change in my custom theme. It worked.

    I ran the following commands
    app/console oro:assets:install –env=prod –symlink
    app/console assetic:dump –env=prod
    app/console oro:requirejs:build –env=prod

    #32740

    Michael
    Keymaster

    What have you got in css/layout/mena/styles.css ? Search this generated file for product-sticker–icon-new_arrival

    And is this the correct path to the image file – /menatheme/frontendbundle/images/sticker-new.svg ?

    #32741

    zhex900
    Participant

    Thank you for your reply. I have posted the working code.

    #32742

    zhex900
    Participant
    #32743

    Michael
    Keymaster

    Perfect! I thought it didn’t work :-)

Viewing 6 replies - 1 through 6 (of 6 total)

The forum ‘OroCommerce’ is closed to new topics and replies.

You will be redirected to [title]. Would you like to continue?

Yes No