- This topic has 6 replies, 2 voices, and was last updated 4 months ago by Leo.
September 13, 2020 at 2:09 pm #1441776Alessio
few things are not working correctly on my site with generateBLOCKS. For example, I have two containers in a grid, both set to 50% width.
The CSS code for the 50% width-containers is completely non-existant though and they’re both using 100% width…
I don’t know why, but the CSS code for 50% isn’t being generated anymore, even though it should. I can’t find it in the html explorer in chrome either.
I’ve tried updating it, re-setting it or clearing the cache — no luck.
I’ve done the exact same thing in the about us page of my website and that worked.
I’ve temporarily “fixed” it by hardcoding the 50% width as CSS (it’s in the html code above the interview box), but other things like the padding of the interview questions and answers are still messed up, even though everything is set in the generateblocks block options.
So, in short, generateblocks is ignoring some block options I have set for no apparent reason, even though the same settings work on some pages.
Maybe, adding the whole block as a reusable block creates that problem? Because that’s what I did and it has worked fine before I did that. Just a guess, though.
Could you please fix that? Thank you! It happened more than once now.September 13, 2020 at 2:20 pm #1441783Alessio
That blue-highlighted box which I selected is supposed to have a width of 87%. I’ve set the width to 87% in the GenerateBlocks options, you can confirm that.
However, that just didn’t make it to the actual CSS-Code — that’s why that box is so small.
Note that the width-CSS for that is hard-coded on screen sizes smaller than 990px.September 13, 2020 at 4:39 pm #1441850LeoStaffCustomer Support
Any chance you can disable the caching plugin so we can take a closer look at the code?
The re-useable block is handled by WordPress/Gutenberg and can definitely create some weird issues like this.September 13, 2020 at 7:35 pm #1441946Alessio
is it fine if you can just try cleaning the cache? I don’t wanna lose the settings of my caching plugin.
You can do that under Settings > WP Rocket > Clear cache. That should clean the Runcloud nginx cache too.
If you’re logged in, the cache should be disabled anyways.
Thank you!September 13, 2020 at 7:50 pm #1441955LeoStaffCustomer SupportSeptember 14, 2020 at 6:02 am #1442445Alessio
Uhhh…. that’s weird, it seems to be working now.
That’s how it looked like yesterday:
(the image in the
intervieweeBoxwas also set to 100% width as you can kind of see in that image.)
It has also looked the same for other people around the world visiting my website (so it wasn’t just my browser cache). And yes, I did clean my WordPress cache(s) multiple times yesterday.
I don’t know what happened but it fixed itself overnight.
That’s not the first time this happened though, so there may really be a problem with reusable blocks or caching — I’m not sure.September 14, 2020 at 6:20 am #1442461
- You must be logged in to reply to this topic.