Archived topic
"Search" theme author bio element is driving me crazy!
3 replies · Started by Martí on February 13, 2023
Hello,
I installed the Search theme 2 days ago and I reconverted some aspects to suite my needs. One of them being the author bio element, which displays a box, in my case, at the beggining of the right side sidebar of the blog posts.
The thing is that when editing the element and displaying it in administrator mode, everything is OK. However, when I display the website in incognito mode or another browser. The bio element is not centred and looks horrendous! As you can see in the image, a -30px margin left is added and I HAVE NOT configured it...

However in my wp admin mode...

I can guarantee there is no cache issues involved.
Hope anyone can help me, I am relatively new, don't know if it is a recurrent thing, but I've done my search and found nothing.
Thanks,
Martí.
Hi there,
The thing is that when editing the element and displaying it in administrator mode, everything is OK. However, when I display the website in incognito mode or another browser.
This generally means that there is a caching or optimization issue going on.
Can you disable all plugins except for GP Premium and GenerateBlocks for us to take a look?
Let me know :)
Yes, it was the optimize CSS delivery option of the WP Rocket plugin, which states the following: "Optimize CSS delivery eliminates render-blocking CSS on your website. Only one method can be selected. Remove Unused CSS is recommended for optimal performance."
I chose remove unused CSS, and this seemed to alter the contents when the page was served "optimized". I can exclude "CSS filenames, IDs or classes that should not be removed" in a CSS whitelist, would you be able to tell me which ones?
This optimization is not crucial to my site, as I stated with some tests with GtMetrix, but reduces CSS to a minimum and saves me like 30-40KB per page and about 20ms (6 or 7 page requests). Would be nice to have :)
Thanks a lot,
Martí.
I chose remove unused CSS, and this seemed to alter the contents when the page was served “optimized”. I can exclude “CSS filenames, IDs or classes that should not be removed” in a CSS whitelist, would you be able to tell me which ones?
You can try excluding the entire GenerateBlocks plugin folder if that helps.
I'm not a big fan of WP Rocket personally - here are the optimization tips we use:
https://generatepress.com/fastest-wordpress-theme/
https://docs.generatepress.com/article/configuring-autoptimize/