The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Button CSS help request

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #203818

    I’ve got an “add to cart” button on my website that I’m trying to adjust, and I’ve done my homework and got the background color and hover color just right, but for the life of me, I can’t change the text color! Driving me nuts. Finally came here hoping you geniuses can help.

    Here’s what I have:

    .btn {font-size: 12px !important;}
    .btn {background: #ff9900 !important;}
    {background-color:#ffb13b !important;}

    The button’s text color is black by default, but I’d like to change it to white. Any thoughts?



    Hi Senff,

    Thank you for the informative reply–I am admittedly new to CSS, but I do try to figure things out on my own prior to asking someone (this is actually the first time I’ve asked anything online).

    Here’s a link to a screenshot of the button layout I’m referring to:

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.