Archived topic
Migrating from Divi
3 replies · Started by Stanley on January 28, 2022
Really not liking the lack of functionality I have in moving from Divi to generatepress, though the load speed - the reason I converted - is good. My mobile page is exactly like the desktop page and is too "bloated" for a mobile page. I loved the ability in Divi to choose to hide a module on mobile view. I do not see any way to do this on generatepress. Perhaps my developer did not set it up right. Looking at the homepage in edit it just looks like one huge page. Thanks
Hi Stanley,
To hide a block on mobile you can use GP's built-in CSS class: hide-on-mobile and hide-on-tablet.
https://docs.generatepress.com/article/responsive-display/#using-our-hide-on-classes
https://wordpress.com/support/adding-additional-css-classes-to-blocks/
Thank you for your response. It is hard for me to tell how the developer organized the page. He did an adequate job, but is no longer available to me. When I enter the page in block design I see several blocks with these words
"this block contains unexpected or invalid content"
There is a button in that block that says "attempt block recovery".
It is not clear to me they are pertaining to the text above or below that warning block or what I need to do. Did he set this page up incorrectly?
Hi there,
if you see a notice like: “this block contains unexpected or invalid content” then that IS the block that is 'broken' so you cannot see the content in the editor.
This happens because the HTML in the block is not recognised. Before clicking attempt block recovery you can switch the Editor to Code View ( 3 dot menu it tool bar ) to see what code has been added there