I’m playing with some custom setting on a button and I’m not sure how to use the developer setting in the Button. What is the syntax for custom ID attribute in developer setting?
Here is the css code I’d like to use. What do I enter in the Custom ID attribute of the button? .example #example? Is the syntx on my css correct? I’m placing in quick css on general styling page.
Thank you.
Mike
.example {
color: #009345 !important;
text-transform: uppercase;
background: #ffffff;
padding: 20px;
border: 4px solid #009345 !important;
border-radius: 6px;
display: inline-block;
transition: all 0.3s ease 0s;
}
.example:hover {
color: #413f8a !important;
border-radius: 50px;
border-color: #413f8a !important;
transition: all 0.3s ease 0s;
}
Hey Mike,
If you have entered example in Custom ID Attribute, then in Quick CSS (or CSS in general) you can use: #example
If you have entered example in Custom CSS Class, then in Quick CSS you can use: .example
I hope this helps :)
Best regards,
Nikko