• Resolved bloggingbeats

    (@amitgargjind)


    Hi

    Button alignment on all posts changed to left automatically.

    I think it is after the last update.

    Please let me know the solution on an urgent basis.

    Thanks
    Amit Garg

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Alexis Pandaan

    (@alexius08)

    Hi @amitgargjind! Thanks for letting us know. We recently changed the default alignment of button blocks from center to left. Keeping old button blocks center-aligned in the editor has been done, but we forgot to do the same thing in the frontend.

    Here’s what you can do to fix it.

    1. Download this file and save it under the filename of defaults.php. Also, download this file and save it under the filename of block.php.
    2. Navigate to your WordPress plugins folder and get to the folder for Ultimate Blocks.
    3. Go to the src folder.
    4. Inside the folder, look for a file named defaults.php, and rename it into something else (just to make sure you still have the old file when the new one doesn’t work).
    5. Paste the defaults.php file you downloaded into the folder.
    6. Repeat steps 3-5, this time going to src/blocks/button/ and replacing the existing block.php with the one you just downloaded.

    Please let us know how it goes.

    Thread Starter bloggingbeats

    (@amitgargjind)

    Hi Alexis

    First of all thanks for the quick response. Though I have already updated all my blog posts.

    I opened all my blog posts in edit mode and hit update. This worked well for me.

    Regards
    Amit Garg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Button alignment’ is closed to new replies.