CSS for Submit Button
-
Hi everyone,
I did search the forum and read what I could on this topic, but I still need help. I have applied custom CSS on the submit button that you can see on my landing page (muriha.com) when accessing from a desktop. I can also see the changes when I’m in editing mode. However, when I go to the URL from mobile, I don’t see the CSS being applied there. It is the default grey button with black text. This is the code that I have entered in Theme Customizer:
.yikes-easy-mc-form .submit-button-inline-label {
width: 10% !important;
margin-top: 23px !important;
color: white !important;
}Based on a forum I read, I tried to add the code below in addition to the code above, and noticed that on mobile, the button changed the background from grey to white, and added a border with a drop shadow on the button. That doesn’t reflect on the desktop site (it still shows the changes that I want). Seems like it’s only not reflecting on mobile?!
This is the code I got from another forum:
.yikes-easy-mc-form .yikes-easy-mc-submit-button {
background-color: #ffffff;
background: #ffffff;
font-size: 16px;
border: none;
}Edit: after tons of refreshing, the grey border with the drop shadow went away. can someone just tell me the easy way to get the button to work on both mobile and desktop. i don’t think i need both sets of code…
The page I need help with: [log in to see the link]
The topic ‘CSS for Submit Button’ is closed to new replies.