top of page

Using the Studio Editor Tools

About CSS Editing

Add your own CSS code to style elements and their individual parts. CSS expands your toolbox while building sites for clients, as you can apply design options and behavior changes that aren't available in the Editor.

Tip:

Check out our Wix Studio Academy webinar on enhancing your design with CSS. For more information about styling with CSS, see the MDN CSS reference docs.

Get more control of your design

Adding CSS to elements opens a whole new range of styling possibilities. It allows you to change the design of an element to your liking, which is especially useful for options that aren't yet available in the Editor.

CSS also gives you the freedom to animate elements as you like. Create your own animations with the properties of your choice, and apply multiple animations to an element if needed.

Another important use of CSS is maximizing responsiveness. For example, use media queries (based on viewport size or device capabilities) to ensure an element looks ideal on all screens.

Note:

Check our supported elements list to make sure you can customize an element with CSS.

Change particular parts of elements

In the Studio Editor, elements are divided into semantic classes so you can customize the individual part you need. For example, buttons have 3 CSS classes:

  • .button: The entire button element.

  • .button__label: The text on the button.

  • .button__icon: The icon on the button.

Once you pick a class from the list, it gets automatically added to the code so you can start working.

Which classes are available?

See the full list of elements and their classes.

A screenshot showing a button selected on the canvas and the available classes, as described in the article

Create custom CSS classes

You can also add your own CSS classes to the global.css page. This lets you apply styling and formatting to the elements that you designate with your custom class, rather than all instances of one specific element. Learn all about custom classes

One global page for all CSS edits

The Code panel in the editor includes a global CSS page for all your edits. The code on this page applies globally, to any element with the relevant class, on all site pages.

The CSS page in the Code panel

The CSS code you add to this page overrides selections you make in other panels in the editor. For example, if you use CSS to change the background of all buttons, it overrides the background you set in the Inspector panel.

How to get started

  1. Access the CSS section in the Code panel:Click the Code icon  on the left side of the editor.
    (If this is your first time on this site) Click Start Coding.
    Click Page Code.
    Click global.css under CSS.

  2. Start styling an element:Select the relevant element on the canvas.
    Note: Make sure the CSS panel is still open.

    (In the CSS panel) Select the relevant class under CSS Classes:Our classes: Select a class under Global classes.
    Your own class: Type it under Custom classes.
    Add your CSS code.

The global.css tab open in the Studio Editor, selecting a text element on canvas and selecting the relevant global class

Need A Professional Website?
Contact Us 
Today!

Google Workspace Error Message: "Your subscription has been suspended by your reseller"

Google Workspace Error Message: Service Is Temporarily Suspended until Your Customer Accepts the New Terms of Service

Google Workspace Error Message: "You already have a Google Workspace business email account. You can manage it from the Google Admin Console"

Google Workspace: Data Migration from an External Email to Your Google Workspace

Google Workspace: Revoking Admin Status to Delete a Workspace Account

Google Workspace: Connecting Your Business Email to a Mail Client Using IMAP and SMTP

Google Workspace: Changing the Language of Your Business Email

Google Workspace: Emails Missing from Your Business Email

Google Workspace: Allowing Access for ‘Less Secure Apps’ in Your Business Email

Google Workspace: Adding Google Workspace MX Records to Your Wix Account

Google Workspace: Setting Up a Domain Alias

Google Workspace: Manually Verifying Your Domain with Google

Google Workspace: Connecting a Business Email for a Domain Pointing to Wix

Google Workspace: Setting Up an Email Alias for an Existing Workspace User Email Address

Google Workspace: Resetting a Workspace User's Password

Google Workspace: Renaming a Workspace User

Google Workspace: Accessing Your Additional Workspace Users

Google Workspace: Purchasing Additional Business Emails from Wix

Google Workspace: Setting Up Business Email Users

Gemini for Google Workspace: An Overview

Google Workspace: Upgrading a Workspace Plan

Google Workspace: Choosing a Plan

Google Workspace: Business Email Sending Limits

Google Workspace: Forwarding Emails From Your Business Email to Another Email Address

Google Workspace: Resetting Your Admin Password

Google Workspace: Accessing Your Admin Console

Google Workspace: Identifying Your Admin Workspace User

Google Workspace: Setting Up Your Business Email on Mobile Devices

Google Workspace: Username and Password Guidelines

Google Workspace: Accessing your Business Email Through Your Wix Account

wix experts
Graphic2Traffic web design
©
bottom of page