[Support request] Button's issue

Home Forums Support [Support request] Button's issue

Home Forums Support Button's issue

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1107213
    Yaroslav

    Hi! I tried to change the size of the button (I want these 3 buttons be the same size) and chenged the code and now I have one button displayed incorrectly. Home page
    So my questions are: how to fix the code below and how to make these 3 buttons the same size?

    <!– wp:columns {“columns”:3} –>

    <h3>Blog</h3>
    <!– /wp:heading –>

    <!– wp:paragraph –>
    <p>Here we post the best advice, how-tos and insights into data security.</p>
    <!– /wp:paragraph –>

    <!– wp:button {“className”:”is-style-squared”} –>

     
     

    <!– /wp:button –>

    <!– /wp:column –>

    <!– wp:column –>

    <!– wp:heading {“level”:3} –>
    <h3>Our Services</h3>
    <!– /wp:heading –>

    <!– wp:paragraph –>
    <p>See how we can help protect your business.</p>
    <!– /wp:paragraph –>

    <!– wp:button {“className”:”is-style-squared”} –>

     

    <!– /wp:button –>

    <!– /wp:column –>

    <!– wp:column –>

    <!– wp:heading {“level”:3} –>
    <h3>Contact</h3>
    <!– /wp:heading –>

    <!– wp:paragraph –>
    <p>Want to get in touch? We’d love to hear from you. Here’s how you can reach us.</p>
    <!– /wp:paragraph –>

    <!– wp:button {“className”:”is-style-squared”} –>

    <!– /wp:button –>

    <!– /wp:column –>

    #1107276
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this CSS to use a fixed width for the buttons:

    a.wp-block-button__link, a.button {
        width: 200px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps 🙂

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.