You are using an unsupported browser. Please update your browser to the latest version on or before July 31, 2020.
close
Home > Glitch in Bio > Customizing Styles
Customizing Styles
print icon

Your Glitch in Bio remix will include a few themes by default. You can edit these or add your own to create just the look and feel you want for your link site. 

 

Try it: Edit a style setting

 

1. In your project, open settings.json and change the theme value from glitch to custom-theme–the style in the preview will change to reflect the theme you've chosen.

 

 

2. Open public > styles > themes > custom-theme.css and change one of the color values, for example change violet to coral. Your preview will update to show the style change you made!

 

 

Editing your style rules

You can make any change you like to your CSS. Your site uses the base styles set out in style.css then the rules in your chosen theme are applied in addition to this.

 

In the custom-theme.css file you'll find initial settings for site-wide properties like colors that you can quickly change the values for, but you can add extra styles to the sheet too. Try adding this to the end of the file–it changes the header element font style:

 

 

h1 {
  font-style:italic;
}

 

 

To get to know the elements in your page, check out the files in the layout folder, or use your browser dev tools (right-click or control+click and choose Inspect). 

 

For inspiration, check out the other theme files included in the project: glitch, gallery, and menu. Apply them to see each one in action by changing the theme setting.

 

 

The CSS code in the other .css files is a great way to learn what you can do with style rules. You can change lots of properties affecting how your site displays, including colors, fonts, layouts, and much more.

 

To learn more about CSS, check out the MDN doc on Getting started with CSS.

Got more questions? Check out our Community Forum!
Open 24/7, the forum is where Glitch makers help each other and show off all the rad apps that they have created. It's the friendliest community of coders on the Web!
Feedback
5 out of 12 found this helpful

scroll to top icon