MemberSeptember 22, 2020 at 9:20 pm
Hi @mronn !
Upon checking the page you linked, I noticed that the buttons are already center-aligned on my end. It seemed that the cached CSS file was updated sometime after you posted. Have you checked if the button alignments are also fixed on your end? If not, you can try clearing your website’s cache.
MemberNovember 1, 2021 at 11:48 am
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.
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.Navigate to your WordPress plugins folder and get to the folder for Ultimate Blocks.Go to the src folder.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).Paste the defaults.php file you downloaded into the folder.Repeat steps 3-5, this time going to src/blocks/button/ and replacing the existing
block.php with the one you just downloaded.
here you can find more about WordPress also https://www.creativebin.com/brands/design-source-wordpressthemes
- This reply was modified 2 months, 3 weeks ago by andrew.
Viewing 1 - 3 of 3 replies