Community Forums › Forums › Archived Forums › Design Tips and Tricks › Button Color – Wellness Theme
Tagged: button color, wellness theme
- This topic has 7 replies, 2 voices, and was last updated 8 years, 8 months ago by
carasmo.
-
AuthorPosts
-
October 24, 2017 at 9:23 am #212892
Roadturn
ParticipantI want to change the color of the call to action button in Front Page 1.
In css, I changed #000 to #FFE303 ... but it looks funky, with weird edges. Also, the white text won't work with yellow. For now, I've changed it back to the original.
Has anyone performed the magic successfully? I'm a css first-grader.
https://boomalive.comOctober 26, 2017 at 12:30 am #212954Roadturn
ParticipantAnyone?
October 26, 2017 at 2:00 pm #212983carasmo
Participant<img src="https://christinacreativedesign.com/studiopressforum/Screen%20Shot%202017-10-26%20at%203.54.37%20PM.png
" alt=" " />
October 26, 2017 at 2:01 pm #212985carasmo
ParticipantGeesh this forum has a hard time with images:
Link to image:
Use the additional css in the customizer:
/* -- default state front-page 1 button */.front-page-1 .button {
background: #ffe303;
color: #222;
}.front-page-1 .button:before {
border-bottom-color: #ffe303;
}.front-page-1 .button:after {
border-top-color: #ffe303;
}/* -- hover/focus state front-page 1 button */
.front-page-1 .button:hover,
.front-page-1 .button:focus {
background: #222;
color: #fff;
}.front-page-1 .button:hover:before,
.front-page-1 .button:focus:before {
border-bottom-color: #222;
}.front-page-1 .button:hover:after,
.front-page-1 .button:focus:after {
border-top-color: #222;
}
October 26, 2017 at 2:03 pm #212988carasmo
Participant/* -- default state front-page 1 button */ .front-page-1 .button { background: #ffe303; color: #222; } .front-page-1 .button:before { border-bottom-color: #ffe303; } .front-page-1 .button:after { border-top-color: #ffe303; } /* -- hover/focus state front-page 1 button */ .front-page-1 .button:hover, .front-page-1 .button:focus { background: #222; color: #fff; } .front-page-1 .button:hover:before, .front-page-1 .button:focus:before { border-bottom-color: #222; } .front-page-1 .button:hover:after, .front-page-1 .button:focus:after { border-top-color: #222; }
October 26, 2017 at 2:35 pm #212992Roadturn
ParticipantMuch appreciated, Christina. I will reverse-engineer to see where I was missing a gear.
October 26, 2017 at 2:39 pm #212993Roadturn
ParticipantHmmm... Christina, do I just paste that code into the css without changing anything already there? Do I replace something with it? ...
October 26, 2017 at 2:43 pm #212994carasmo
ParticipantYou would just paste this additional CSS panel. They are specific to that front-page area, not site wide.
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.