StyledThemes

Post a Comment Background Color

Home Forums WordPress Themes – Premium Pure & Simple Post a Comment Background Color

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17441
    Judy Asman
    Participant

    Hi again! I wanted to know if you could please advise on how to change the background color for the Post Comment button:

    http://www.chrissybcrafts.com/ideas/june-ideas/

    I would like for it to be pink. I searched high and low for the code in both the style sheet as well as the location of the PHP code in case I needed to change the css class there. Finally, I’m giving in to contact you. Thank you so much for your patience.

    #23063
    Sushil Adhikari
    Moderator

    Hi there,

    Please add this following css on child theme style.css file to change color of post comment.

    .single-post .btn.green {
        background-color: #f597cc;
    }

    Note: You can change background color value as per your requirement. You can see here for different color code:
    http://www.w3schools.com/cssref/css_colors.asp

    And to change background color on hover you use this css:

    .btn.green:hover, .btn.green:focus, .btn.green:active, .btn.green.active {
        background-color: #f597cc;
        color: #fff;
    }

    Here also you can change the background color value as per your requirement. You can see here for different color code:
    http://www.w3schools.com/cssref/css_colors.asp

    Note: Please use child theme style.css file to add custom css otherwise your changes will lost on theme update

    Let us know how it will goes.

    Thanks

    #23067
    Judy Asman
    Participant

    Thank you again, Sushil! 🙂

    #17442
    Binaya D
    Participant

    Hi Judy,

    You are welcome ! if you face any problem in future then please feel free to contact us.

    Thanks

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