Site logo

Archived topic

Moving from another theme broke my site

21 replies · Started by Pablo on April 1, 2021

Viewing posts 16–22 of 22

I use blocky, astra and nuki theme and this is the very first time i have this issue, this is what is normally do:

I setup the website as contained in 1280px
when i need a 100% width i create in Gutenberg as a 100%

That way what is not declared as 100% haves 1280px, i don't see the big problem here or why this is so extraordinary.

If im right your point is i have to manually declare block by block the width. Maybe this could be a solution - not the smarter one but a solution- when i start the site. RIght now is just not a option.

I cant believe the team who create the fastest theme of them all just have to options, or everything looks like a banner, or everything is inside a box. Really?

No, setting the width of the content container should not have to be done inside every block. This is something the block plugin you're using should set globally, like GenerateBlocks does.

Right now, you're expecting GeneratePress to somehow know the container width you want to use, and apply it to third-party block plugins it has no idea exist. It simply isn't possible.

Is there any way for you to show me a version of your site using the old theme? That way I can at least tell how the width was being applied, and we can do use the same solution in GeneratePress.

Also, I'm still seeing this CSS being served: https://www.screencast.com/t/wCV4up3m

That's going to cause issues no matter what plugin/theme you're using.

Looking at this more, perhaps the solution is to simply remove the Full Width option Elvin suggested here: https://generatepress.com/forums/topic/moving-from-another-theme-broke-my-site/#post-1718691

It seems like the blocks you're using are forcing themselves to be full width, so that option isn't needed. What happens when you remove it?

This is what I'm seeing with that option removed and the weird body padding removed: https://www.screencast.com/t/6o7okpIB2

Tom thanks so much for your help, what actually work perfectly and is what i need... The content is displayed at 1280px except when i declare in Gutenberg to be 100%. I already contact FlyPress to ask why is this happening just with your theme, but i know is nothing in your end, thanks again.

Glad I could help!

This archived topic is closed to new replies.