Tagged: Buttons
Greetings,
I’m looking to create two equally sized buttons side-by-side in a one half width element.
An example of what I’m trying to achieve would be here: http://kapost.com/
Thank you so much in advance :)
Josh
Hi Josh!
Put the two buttons in your page and provide us with the link so we can give you a custom CSS code.
Best regards,
Josue
Hi Josue,
Thanks so much for your quick response! Here you are: http://newsite.expresswriters.com/
Thanks,
Josh
Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.avia-builder-el-1 avia-button-center { float: left; padding-right: 10px; }
.avia-builder-el-1 .avia-button.avia-size-medium { min-width: 250px; }
Cheers!
Yigit
Hey! Thank you for the code, but nothing has changed. I even put !important on them and it still didn’t render…. :(
Hey!
Try adding this code to the Quick CSS:
.avia-button-wrap.avia-builder-el-5, .avia-button-wrap.avia-builder-el-6{
float: left;
width: 50%;
}
@media only screen and (max-width: 767px) {
.avia-button-wrap.avia-builder-el-5, .avia-button-wrap.avia-builder-el-6{
float: none;
width: 100%;
}
}
Cheers!
Josue
Hey Josue,
Does this replace the code that I added earlier?
Thanks,
Josh
Yes, replace it.
Cheers!
Josue
Awesome thanks! :)
You are welcome, glad we could help :)
Regards,
Josue