Archived topic
Elements Block-Design displayed in Editor, but not Frontend / Website
6 replies · Started by Helen on February 25, 2023
Hi, I have a problem with the styling of block elements (GeneratePress - Design - Elements). Unfortunately, this is not adopted in the frontend. For example, I’ve created a container with a background color - everything is displayed correctly in the Gutenberg editor, but if I click publish and then check the block element integrated on the website, the container is displayed without a background color. Similar issue with buttons. Here, for example, I have the button displayed in the editor in a global color. On the website, however, it is grey / without color styling. I've already researched and tried a lot, but nothing has helped so far. I hope you can help me! Thanks a lot :)
Ps: I don’t have this issue with styling-settings in normal pages or posts. The problem occurs just with Elements.
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Claro, it is in the private information. Thank you a lot!
Hi there,
you would need to check with the UAGB plugin developer as that plugin needs to check for the gp-elements post type to load it styles.
Alternatively use GenerateBlocks, as our plugin works with the Elements module :)
Unfortunatly, I have the same Issue when I use GenerateBlocks.
Ah sorry, I see it’s working! Thank you. I now have problems with recreating the styling I wanted - are there some patterns from GenerateBlocks I can use? I just find pre-defined patterns from the plug-in which I can not use in elements..
Sorry for the questions :/
No apologies necessary _ happy to be of help.
Do you mean these patterns ?
https://generateblocks.com/library/
Is there anything specific you need ?