Website Building » Wix » How Do I Hide a Page Section in Wix?

How Do I Hide a Page Section in Wix?

Last updated on January 1, 2023 @ 11:04 am

There are a couple different ways that you can hide a page section in Wix.

One way is to simply delete the content from the page. This will remove the section from the live site. To do this, click on the section you want to delete and then press the “delete” button.

GREAT NEWS:

Exciting update! We've collaborated with Wix to offer WBI users with a free plan for all website creation needs - Explore the details here.

Another way to hide a page section is to use the “hide on” feature. This will allow you to hide the section on certain devices or screen sizes.

To do this, click on the section you want to hide and then go to the “hide on” dropdown menu. Select the devices or screen sizes where you want the section to be hidden.

PRO TIP: If you are considering hiding a page section on your Wix website, be aware that this may negatively affect your website’s search engine optimization (SEO). When hiding a page section, the content of that section will not be visible to search engines and may therefore not be indexed. This could result in a loss of traffic to your website.

You can also use CSS to hide a page section. CSS stands for Cascading Style Sheets and is a code that helps style websites.

To use CSS to hide a page section, go to the “Settings” tab and then click on “Advanced Settings.” Next, click on “Custom Code.” In the box labeled “Head Code,” paste in the following code:

<style>
  .myClass {
    display: none;}
</style>

Replace “myClass” with the class name of the section you want to hide. Now go back to the page and add the class name to the section you want to hide. For example, if the section you want to hide has a div element with the class section-to-hide, you would add the class name myClass to that div like this:

<div class="section-to-hide myClass">
   This section will be hidden when the page loads.
</div>
Morgan Bash

Morgan Bash

Technology enthusiast and Co-Founder of Women Coders SF.