Website Building » Shopify » How Do I Change My Shopify Liquid?

How Do I Change My Shopify Liquid?

Last updated on October 1, 2022 @ 11:13 pm

If you’re using Shopify’s default theme, then you can change your shop’s colors, fonts, and layout by editing the theme’s stylesheet. To do this, you’ll need to use a code editor like Dreamweaver, Notepad++, or Sublime Text. Once you’ve found your stylesheet, open it in your code editor and look for the following lines of code:

/* Add your color changes here */

#main-header { background: #000000; }

The line that begins with /* Add your color changes here */ is called a comment. Comments are notes that you can add to your code to remind yourself or others what a certain section of code does.

The second line of code is where you can actually change the color of your shop’s header. In the example above, the header would be black (#000000).

To change the color of other elements on your shop, simply find the element’s name in the stylesheet and change the color code next to it. For example, if you want to change the color of all links on your shop to red, you would find the following line of code in your stylesheet and change #333333 to #ff0000:

PRO TIP: If you are not comfortable working with code, we recommend that you reach out to a Shopify Expert to help make these changes for you. Making changes to your Liquid code can result in unexpected errors on your store if done incorrectly.

a { color: #333333; }

Remember to save your changes before exiting the code editor.

/* Add your color changes here */

#main-header {background: #000000; }

The line that begins with /* Add your color changes here */ , is called a comment. Comments are notes that you can add to

your code to remind yourself or others what a certain section of code does. The second line of code is where you can actually change the

color of your shop’s header. In the example above,the header would be black (#000000).

To change the color of other elements on your shop,simply find the element’s name in hte stylesheet and change

the color code next to it.For example if you want to change the color fo all links on your shop t ored ,you would find hte following line

of code in teh stylesheet and chnage #333333 to #ff0000.

Remember tou save yoru changes before exiting teh code editor.


Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.