×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: CSS question: Changing button

CSS question: Changing button 9 years 8 months ago #27535

  • Andre Basel
  • Andre Basel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
What CSS code can I use to change the for background colour of the button to #333333.? I have tried
.cmc-signup .btn-primary {
	background-color: #333333;
}

But that does not work.

CSS question: Changing button 9 years 8 months ago #27538

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Andre,

that should normally work, maybe you added it before the "normal" definition - try adding !important to it then:

.cmc-signup .btn-primary {
background-color: #333333 !important;
}

Kind regards,

Yves

CSS question: Changing button 9 years 8 months ago #27549

  • Andre Basel
  • Andre Basel's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
It only appears to change the rollover and then only partially.. I must be doing something wrong. No worries things are a little bust at present. I will look at it later. Thanks for the suggestion.
  • Page:
  • 1
Time to create page: 0.234 seconds