• Resolved adityadongre04

    (@adityadongre04)


    Hi,

    So I had just updated my blog and saw that the old button block is replaced by the new one.

    After making the necessary changes I hit “update” and found that my buttons on the newly updated posts are not aligned centered. Not just this, even if I align them towards the right, they still remain stuck to the left margin.

    After this, I checked the code by inspecting the element and found that the section perfectly uses class=”wp-block-buttons is-content-justification-center”.

    I am not much of a coder but I assume that “justification-center” means my button and its content should be aligned centered.

    Here the screenshot – https://prnt.sc/10jjkzs

    Next, I thought could this be a cache issue? Then I cleared cache from my plugin and also from the hosting but it didn’t resolve the issue.

    Please look into this and kindly fix it ASAP.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Alan Fuller

    (@alanfuller)

    Looks good on Chrome. Are you using a different browser of have you fixed it?

    https://prnt.sc/10jjqxn

    Thread Starter adityadongre04

    (@adityadongre04)

    Hi Alan,

    Surprisingly for me, it is still left aligned on Chrome and Mozilla despite clearing cache too.

    Vlad T

    (@vladytimy)

    Also looking good (centred) on Edge, Firefox, Opera and Brave ?

    Vlad T

    (@vladytimy)

    Then I cleared cache from my plugin

    Did you clear browser cache as well? ??

    Thread Starter adityadongre04

    (@adityadongre04)

    Hi Vlad,

    Yes, I just once again cleared the cache from the browser as well as from the plugin.

    But it still made no change ??

    Thread Starter adityadongre04

    (@adityadongre04)

    The error was because of my cache plugin. Started a new topic there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Button alignment not working on my site’ is closed to new replies.