Element CSS Classes
Note: This feature is only available to Wix Studio users.
You can use the classes listed below to style your elements with CSS.
For more information on styling your elements with CSS, see Styling Elements with CSS and the MDN CSS reference docs.
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.
Lightbox classes
.lightbox
Targets lightbox elements. For example:
css | Copy Code.lightbox {border: 5px solid #d1a917;border-radius: 6px;filter: drop-shadow(2px 4px 6px black);}
Line classes
.horizontal-line
Targets horizontal line elements. For example:
css | Copy Code.horizontal-line {border-top: 6px dotted orange;}
.vertical-line
Targets vertical line elements. For example:
css | Copy Code.vertical-line {border-left: 12px dashed pink;}
Search bar classes
.search-bar
Targets search bar elements. For example:
css | Copy Code.search-bar {width: 500px;display: flex;flex-direction: row;}
.search-bar__icon
Targets search bar icons. For example:
css | Copy Code.search-bar__icon {fill: #840292;}
.search-bar__input
Targets search bar input boxes. For example:
css | Copy Code.search-bar__input {border: none;border-bottom: 2px solid #840292;background-color: #dfd2f4;font-family: monospace;}
Was this helpful?