Tagged: 

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #199151

    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

    #199168

    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

    #199175

    Hi Josue,

    Thanks so much for your quick response! Here you are: http://newsite.expresswriters.com/

    Thanks,
    Josh

    #199236

    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

    #199292

    Hey! Thank you for the code, but nothing has changed. I even put !important on them and it still didn’t render…. :(

    #199297

    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

    #199306

    Hey Josue,

    Does this replace the code that I added earlier?

    Thanks,
    Josh

    #199310

    Yes, replace it.

    Cheers!
    Josue

    #199320

    Awesome thanks! :)

    #199322

    You are welcome, glad we could help :)

    Regards,
    Josue

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Creating two buttons side-by-side in 1/2 layout element’ is closed to new replies.