-
Author
-
August 8, 2014 at 07:50 #25087miket5b7Participant
From the file “wp-content/themes/sweetdate/assets/styles app.css” I Tried to change the front page Search Button Color to “dc4e02” with the below code. I was unsuccessful. Your help would be greatly appreciated.
Thanks
.form-search.custom div.custom.dropdown ul li.selected:hover { background: #b9f0ff; cursor: default; color: black; }
.form-search .button { background: #dc4e02; border: 1px solid #ffffff; float: left; margin-right: 5px; }
.form-search .button:hover,
.form-search .button:focus { color: white; background-color: #dc4e02; border: 1px solid #ffffff; }
.form-search.custom select {margin-bottom:7px;}
.home #search-bar {border-bottom: 1px solid #ddd;min-height: 48px;}Attachments:
You must be logged in to view attached files.August 8, 2014 at 10:54 #25099CatalinModeratorHello,
Try this instead:
COPY CODE.button:hover, .button:focus, .form-search .button, .form-search .button:hover { your css code }
Add this in your style.css file from your child theme.
Thank you,
CatalinHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAugust 9, 2014 at 07:07 #25239miket5b7ParticipantThank you, but there was no change in the button color. I simple copied your CSS code, and changed the color. Sorry but I’m not a developer, and have no idea what CSS even stands for.
.button:hover, .button:focus, .form-search .button, .form-search .button:hover
{
.form-search.custom div.custom.dropdown ul li.selected:hover { background: #dc4e02; cursor: default; color: black; }
.form-search .button { background: #dc4e02; border: 1px solid #ffffff; float: left; margin-right: 5px; }
.form-search .button:hover,
.form-search .button:focus { color: white; background-color: #dc4e02; border: 1px solid #ffffff; }
.form-search.custom select {margin-bottom:7px;}
.home #search-bar {border-bottom: 1px solid #ddd;min-height: 48px;}
} -
AuthorPosts
The topic ‘Changing Button Color’ is closed to new replies.