Archived topic
Issues with Images/Text After Latest GenerateBlocks Plugin Update
8 replies · Started by Torey on July 11, 2022
It seems like I started having issues once I updated to the latest version of GenerateBlocks 1.5.2 last week.
Where I use blocks (home page and a few others page), two things I notice are happening:
1. Center aligned text is being ignored and is left justified (this is happening on both home page and even an above-header element).
2. Custom sizes ignored for images.
3. Columns/Grids being ignored and stacked on desktop (this could have been due to some of the image sizes being ignored)
I had to redo my entire shop page using brand new containers, grids, etc just so the images would render the exact size I needed rather than random small/large images all over the place. This seemed to fix the issue on the one page.
My home page headers should ALL be centered, but they're all left justified (had to redo this page a bit to fix issues with images as well, but text still not centered).
Above header element text should be centered, but it's showing left justified (it looks odd being left justified).
I'm not sure what I can do to fix some of these issues. Whether it be to roll back to a previous version or something else.
Thanks!
Some images that should be centered are also being left justified.
Hi Torey,
Let's deal with 1 issue at a time.
I checked your homepage, and the h2 title is added using WP's heading block, and the Amazon affiliate text is added using a paragraph block. GB has no control over the WP core block, so it's unlikely caused by GB updates:
https://www.screencast.com/t/jINc1BWXU
I can see that your H2 title is set to align center, but your site is missing that CSS.
Can you clear cache and disable your cache plugin to test?
Hi Ying, thanks for checking on this for me.
I did clear my cache (it's on the backend of WP Engine) and cleared cache through NitroPack and disabled.
Everything still looks the same.
I did a quick test and used the headline block from GP for a test headline and it centered fine (I since deleted).
The funny thing is when I go into the actual home page to edit, it all looks like it should be (headlines and images centered).
I can easily switch all of my headlines on the home page using the headlines block from GP to fix the centering issue.
The funny thing is when I go into the actual home page to edit, it all looks like it should be (headlines and images centered).
If not in the editor, but logged in as admin, does the text centered? I think your site is missing front-end CSS for the WP heading and paragraph blocks.
I can easily switch all of my headlines on the home page using the headlines block from GP to fix the centering issue.
I would recommend doing so :)
Yes, when logged in as admin and editing the home page, all looks like it should (centered headlines and images).
I'll switch out all the headlines on home page so it looks better.
Now for the purple banner up top - I'm using an element and I think I'm using the GP container and text should be centered, but isn't.
Not sure why that's the case there.
Quick update - on the above header banner element, I switched to GP headings using Paragraph and made sure the text was centered and it looks good on desktop. For some reason, mobile isn't centered, but I'll still work on it.
Last update and I think we're finished (for now lol). It looks like the banner up top is working on mobile now. I'll start migrating some of the headlines using GP going forward and see if this helps.
Thank you so much for your help!
Hi Torey,
Glad it works now with GB's headline block.
In general, GB's headline block gives more control over every aspect compared to WP's heading block :)