zarahoffman
11-14-2016
06:30 AM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
hoverable button css not working within my .optin-form class
Hi, I was modifying the appearance of a mailchimp embed form, and everything is working except the hover effect background on the button (even though I copied & pasted what's used for the normal buttons on my site). I can make the button look like it should, the link changes color when I hover, but the background won't.
This is the code:
.optin-form input.button:hover {
background: #824f8f;
border-color: #824f8f;
}
I've googled this and people suggest
input[type="button"]:hover
I've tried that, but it doesn't work. Does anyone have another solution that doesn't use javascript, just CSS?
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
zarahoffman
11-14-2016
06:36 AM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Put in the wrong code. I meant this:
.optin-form input.button:hover { background: #824f8f; border-color: #824f8f; }
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report