Archived topic
GenerateBlocks style-2070.css bug
5 replies · Started by Morgan on March 24, 2021
After update I found my homepage layout completely borked, turn out this style was responsible:
.gb-container-907d6934 > .gb-inside-container {
padding: 40% 40% 40% 4%; }
This isn't in my css, inline on page, or customizer.
It originates:
http://screen.coach/wp-content/uploads/generateblocks/style-2070.css?ver=1616636099
Hi there,
It's most likely added on the Container Block added as a content on your Home page.
Edit your homepage and select the Container Block with issue:
While the container block is selected, on the right panel, you should see a "Spacing" option.
In this option, check for any padding values assigned. You'll most likely see 40 40 40 4 on its padding settings.
I should have detailed that was the first thing I checked, as I had no idea where it was coming from.
To be clear - I checked this multiple times in Gutenberg, checked it in devtools - was clear about affected container, and I also use block navigation plugin in gutenberg to ensure I highlight the correct container.
I'd cleared cache and rechecked. It just wasn't there.
I have no site caching active.
But, yes, twas where you said.
However, I'm positive A) I didn't add this, B) It wasn't there prior (unless I'm going crazy, which on odds is probably more likely), I'm using GPP 2.0 beta, had rolled back and then forward, I don't know if this is related.
I don't know if this is relevant but the code in the style-2070.css showed:
padding:40% 40% 40% 4%;/* padding:40% 40% 40% 4%; */
Repeated code commented out.
Would make sense if it was random "additional css" i'd added, but this was in the plugin css.
Weird stuff.
However, I’m positive A) I didn’t add this, B) It wasn’t there prior (unless I’m going crazy, which on odds is probably more likely), I’m using GPP 2.0 beta, had rolled back and then forward, I don’t know if this is related.
If you've imported from a Site Library, It's most likely coming from the demo contents imported from that.
It's likely a residual styling from the default layout. :)
It’s likely a residual styling from the default layout.
No, I've been working on this site for a week. It appeared sometime after updates yesterday. It wasn't me.
But, yeah, understand it's hard to verify/replicate, so I'll close.
You can look at the page revision history for clues.
But to confirm: No update would do that. GB will only generate CSS from what's set up on its blocks.
Glad the site looks better now.