Okay
  Public Ticket #220963
Changing colour of Like graphic
Closed

Comments

  • Tomaz started the conversation

    Hi there, I tried changing the colour of Like graphic (the heart) but apparently also the number of likes changes to that colour. 

    Could you please provide me with a snippet of code for only changing the colour of the HEART graphic, while leaving the text (number of likes) in black?

    d32b2b - this is the hash number for the heart I want to change the colour to.

    Kind Regards

    Tomaz

  •  8,839
    Tahir replied

    Hey Tomaz!

    Add this into the Custom CSS box located in your Salient Options panel:

    body .n-shortcode .nectar-love .icon-salient-heart {
        color: #d32b2b !important;
    }
    

    Cheers


    ThemeNectar Support Team 

  • Tomaz replied

    Hello Tahir!

    I have put the following code snippet into the Custom CSS Box, but nothing changed. 

    Please advise.

    Thanks!

    Tomaz

  •  8,839
    Tahir replied

    Hey Tomaz!

    Please see attached screenshot. It seems to be working alright. Try clearing your browser cache. 

    Thanks


    ThemeNectar Support Team 

  • Tomaz replied

    Hi Tahir!

    please see attachment, it works only within an article, but on the News page as you can see in the attachment it is not working yet.

    Please advise

    Thanks!

  •  8,839
    Tahir replied

    Add this into the Custom CSS box located in your Salient Options panel :

    body .post-meta .nectar-love i {
        color: #d32b2b !important;
    }
    

    Cheers


    ThemeNectar Support Team 

  • Tomaz replied

    Awesome! That worked, thanks Tahir for your great support.

    Ticket Closed :)