Search.../

Section CSS Classes

Note: This feature is only available to Wix Studio users.

You can use the classes listed below to style your Section elements with CSS.

For more information on styling your elements with CSS, see Styling Elements with CSS and the MDN CSS reference docs.

Note: If the component has Media set up in the Background of the design panel, then CSS properties will not apply to it. To apply CSS properties, first toggle off the Media & pattern switch in the Background section of the design panel.

Important: Element structure and undocumented class names may change without advance warning. To avoid unintended style changes to your site, select elements with the documented class names only.

.section

Targets section elements. For example:

.section {
width: 90%;
border-top: 5px solid black;
padding-top: 2rem;
margin-top: 2rem;
}
css | Copy Code

Was this helpful?

In This Article
  1. .section