Site logo

Archived topic

Click to tweet

2 replies · Started by Amanda on August 23, 2015

Viewing posts 1–3 of 3

Hi, I am trying to change the background color of my better click to tweet to something other than white, and I can not figure out how or if it is possible. I am very new to this. Thank you for any help.

Hello Amanda,

You can use this code:

/* Change the background color */
.bctt-click-to-tweet {
background-color: #BBEB2A;
}

/* Change the color of the text */
.bctt-ctt-text a {
  color: #ff0000!important;
}

/* Change the color of the Click to tweet */
a.bctt-ctt-btn {
  color: #0051ff!important;
}

I added some code to change the color of the texts too, just change the hex values and you are good to go.

If you need help to use this code, check this tutorial: https://generatepress.com/knowledgebase/adding-css/
If you need help with the color values, check this: http://www.color-hex.com/

Thank you so much! I was pulling my hair out trying to figure out how do to this, it worked perfectly!

This archived topic is closed to new replies.