• Resolved Taylor

    (@taylorb1983)


    When adding a Featured Category block, the Shop now button is no longer centered. If I set it for left or center justification, it stays to the left. However, justifying right sets to the right. How can I make it centered again?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @taylorb1983!

    Could you please link us to the page containing this block so we can take a closer look?

    Cheers!

    Thread Starter Taylor

    (@taylorb1983)

    Hello @rynald0s,

    The site is located at https://brainbustertees.com/

    Thank you.

    Rynald0s

    (@rynald0s)

    Automattic Happiness Engineer

    Hi @taylorb1983!

    Please add the following CSS code to the “Additional CSS” section found in your customizer, and let me know what it results in:

    .hentry .entry-content .wp-block-button {
        text-align: center !important;
    }

    Cheers!

    Thread Starter Taylor

    (@taylorb1983)

    Perfect! Thank you!

    Having the same issue since update. Code above doesn’t work. Using wordpress twentytwenty theme. Thanks

    Hi, I had the same problem after the update I did today. I used the code and it worked as well. Thanks

    When I inspect the code, I can change it and it works using firebug or whatever the mozilla one is now, just can’t get the correct css. I have

    .wp-block-button.aligncenter {
    text-align: center !important;
    }

    I am having the same issue with the button not centering on the image inside the block. I have tried various css changes, including the one suggested above, and nothing has corrected the issue.

    I am using Genesis with the Jessica theme.

    An example page on my site is – https://www.stitchandskein.com/yarn/

    Every site I have using the twenty twenty theme has this issue. Tried posting there too (twenty twenty forum).

    I feel like I have the right CSS but I guess not.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Featured category button no longer centered’ is closed to new replies.