Website Building » Wix » Can You Change the Margins on Wix?

Can You Change the Margins on Wix?

Last updated on January 2, 2023 @ 5:41 pm

When it comes to website design, Wix is a popular platform that allows users to create and customize their own sites. One thing that you may want to do with your Wix site is change the margins. This can be done in the HTML code for your site.

To change the margins on your Wix site, you will need to edit the code in the <head> section of your site. You will want to add the following code:

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.

<style>
  p { margin: 0px; }
</style>

This code will set the margins for all <p> tags on your site to 0px. You can change the 0px to another value to set the margins to a different size. For example, you could use 1em, 2em, or 3em.

PRO TIP: If you are planning to change the margins on your Wix website, be aware that this may adversely affect the overall layout and design of your site. Proceed with caution and always back up your site before making any major changes.

Once you have added this code, you will need to save and publish your site for the changes to take effect.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.