Contact Form – Send Button Colours
-
Hi,
Could someone please tell me the CSS to change the colours of the button on this page http://djmetalwork.co.uk/contact/
I want to change the static and hover colours.
Thanks for your time.
Tom
The blog I need help with is: (visible only to logged in users)
-
Hi,
To change the color of the “send” button on the contact page of your blog, add following CSSinput[type="submit"] { border-color: black; color: black; }And to give hover effect add following CSS
input[type="submit"]:hover { background-color: black; border-color: white; color: white; }You can give color according to your requirements.
Thanks,
Aakash Patel -
-
Thank you, this post was very helpful and I added it to my blog. I noticed my Submit Button in my Subscription widget doesn’t have a border. Is there a way to override the theme and add a border?
-
-
Hi @seachangeeditor, I’m seeing no content or widgets on the site you referenced. I also do not see that you have the WordPress.com Premium Plan upgrade, which would be required to add custom CSS to your site.
-
Sorry about that thesacredpath, I was testing something and changed my static front page. I currently have the Business Plan and able to add custom CSS to my site. I would like to add a black border to my submit button in the Blog Subscription section.
-
Hi, thanks. Go to Customize > CSS, delete all the informational text in that window, and paste in the following custom CSS. You can adjust the 2px width and color code as desired.
form input[type="submit"] { border: 2px solid #fff !important; } -
-
You are welcome. Most of the time we try to construct the CSS selectors in such a way that we do not need the !important keyword, but in some instances, like this on, we have to use it.
- The topic ‘Contact Form – Send Button Colours’ is closed to new replies.