How to Hide Content Blocks in Odoo Website Builder 18 ent
When designing your website, sometimes you need to hide specific sections either temporarily or based on the device being used. Odoo’s website builder makes it easy to manage the visibility of content blocks with just a few clicks.
Why Hide Content Blocks?
To prepare content for future campaigns without showing it immediately.
To tailor the content differently for desktop and mobile devices.
To simplify the page during design reviews or testing phases.
Step-by-Step Guide to Hide Content Blocks
1. Navigate to the Website Module
Go to the Website module in your Odoo dashboard.
Select the webpage you want to modify.
Click on Edit to enter the website builder.
2. Select the Content Block
Scroll through the page and identify the block or section you wish to hide.
Click on the block to open its customization options.
3. Use the Visibility Settings
In the block customization menu (usually appearing as a sidebar or dropdown after you click the block), look for Visibility Settings.
You will find toggle switches for:
Hide on Desktop: Enable this option if you want the block to be visible only on mobile devices.
Hide on Mobile: Enable this option if you want the block to show only on desktop devices.
4. Save Your Changes
After adjusting visibility settings, click Save to confirm changes.
The block will now automatically be hidden on the devices you specified.
Benefits of Device-Specific Visibility
Optimized User Experience: Customize content presentation for mobile and desktop.
Faster Page Load: Hide heavy content blocks for mobile to keep the site responsive.
Easier Testing: Temporarily remove distractions while testing or reviewing pages.
Pro Tips
Preview your website on both desktop and mobile after hiding content to ensure everything appears as intended.
Use "hide on mobile" for large banners or complex elements that don’t display well on small screens.
Regularly audit hidden blocks to avoid leaving unused content behind.
Conclusion
Hiding content blocks on specific devices is a simple but powerful feature in Odoo’s website builder. It allows for cleaner design, better performance, and a more tailored user experience.