I don't like the default button style. It's really boring. I am using
<input type="submit">
type buttons. Can I style these somehow in css? If not, the other way of doing it i guess would be to use a div instead, and make it a link. How do you make those work with forms?
A style attribute on a <button> tag assigns a unique style to the button. Its value is CSS that defines the appearance of the button.
This can be done by navigating to Appearance » Customize » Additional CSS. Then just click Save & Publish, and you're done.
You can also add buttons to your websites with the anchor tag. The anchor tag is primarily used to add links to your websites, but you can style it with CSS to look like an actual button. The advantage of this is approach is that you can link to a page without any JavaScript.
You can achieve your desired through easily by CSS :-
HTML
<input type="submit" name="submit" value="Submit Application" id="submit" />
CSS
#submit { background-color: #ccc; -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius:6px; color: #fff; font-family: 'Oswald'; font-size: 20px; text-decoration: none; cursor: pointer; border:none; } #submit:hover { border: none; background:red; box-shadow: 0px 0px 1px #777; }
DEMO
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With