.buttonstyle not working
-
I've inserted the css and added the HTML class to various pages trying it out but nothing.
this text is just a test page to show
http://bridgingages.co.uk/getstarted-2
'sign up now' text is also a buttonstyle...any thoughts?
Thanks
-
Dear @Ros_rgb
what exactly do you want to achieve?it is not clear just from looking at the pages.
Best!
Marius
-
I was going for simple button style like you've showed in documentation>>
.buttonstyle a{
padding: 15px 20px;
display: inline-block;
background-color: #e8e8e8;
border-radius: 3px;
line-height: 1;
text-decoration: none;
border-bottom: none;
color: black;
opacity: 1;
white-space: nowrap;
}.buttonstyle a:hover{
background-color: #f0f0f0;
text-decoration: none;
border-bottom: none;
color: black;
opacity: 1;
}using this code, but It hasn't had any affect
-
Dear @Ros_rgb
you need to give the button a link.The CSS looks for a link:
.buttonstyle a { padding: 15px 20px; display: inline-block; background-color: #e8e8e8; border-radius: 3 }
The a means that it looks for a link.
Try to link the button to something and let us know if it worked.
All the best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it