/ Documentation /Spectra One/How to Hide and Show Block Elements?

How to Hide and Show Block Elements?

Introduction

People engage with your website in different ways on desktop, mobile, and tablet devices so you may sometimes want to show or hide content on your website to these specific users. If you want to hide certain blocks when a visitor is viewing on those devices you can easily do so with the built-in disable settings in the Spectra One theme. All you need to do is use the toggle options and choose which devices to hide. This article provides instructions and options on how to effectively show or hide block elements using the Spectra One theme.

Hide blocks in Spectra One theme

One of the notable challenges with Gutenberg, the block editor in WordPress, is its limited responsiveness options. However, the Spectra One theme addresses this issue by introducing a feature that allows you to hide elements or blocks specifically on desktop, tablet, or mobile devices. It’s important to note that this feature currently applies only to core blocks and not to third-party blocks.

Utilizing the toggle options

To hide blocks based on specific devices in the Spectra One theme, you can take advantage of the built-in disable settings. These settings offer convenient toggle options that enable you to choose which devices you want to hide content from. By selecting the appropriate toggle options, you can easily tailor the display of your website’s content to provide a more optimized experience for your visitors on different devices.

Customizing the user experience

The ability to show or hide block elements using the Spectra One theme provides you with greater control over the user experience on various devices. For instance, you may want to simplify the layout on mobile devices by hiding certain blocks that may not be as crucial for smaller screens. On the other hand, you may want to showcase additional content or features on desktops to take advantage of the larger screen space. With these customization options, you can ensure that your website is engaging and accessible to users across different devices.

Conclusion

Incorporating responsive design principles is crucial for ensuring a seamless user experience across different devices. With the Spectra One theme’s built-in disable settings, you have the flexibility to hide blocks selectively on desktop, tablet, and mobile devices. By utilizing the toggle options and following the instructions provided, you can easily customize the display of your website’s content, providing a more optimized experience for your visitors. Take advantage of this powerful feature to tailor your website’s layout and enhance engagement across various devices.

Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

On this page
Build Ultra High Performance
Websites, Without Coding

Whether you are a beginner, marketer, or professional, Spectra has the tools and resources you can rely on to succeed

Get Notified When Available

Note - You can purchase the Essential Toolkit now and easily upgrade to the Business Toolkit once it becomes available.

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Get your hands on Spectra Pro

Enter your name and email address to get access to Spectra Pro.