[Resolved] Click to tweet

Home Forums Support [Resolved] Click to tweet

Home Forums Support Click to tweet

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #131591
    Amanda

    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.

    #131592
    Jean Paiva
    Developer

    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/

    #131821
    Amanda

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

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.