How to add custom CSS for my store?

Markdown

View as Markdown

Customizing the look and feel of your online store can significantly enhance the user experience and reinforce your brand identity. Adding custom CSS (Cascading Style Sheets) is one of the most effective ways to achieve this. This article will guide you through adding custom CSS to your store with Custom Scripts.

Open Custom Scripts

Go to your Storelink dashboard and click on Settings > Integrations. Click on the gear icon on the Custom script card.

Add a new script

The Custom Scripts window lists all the scripts in your store on the left. Click on + Add script to create a new one. Keeping each piece of code in its own script makes it easier to find, turn off or remove later.

Add your CSS

Give your script a Name, such as "Custom CSS". Use Page to choose where the styles apply: All Pages, Home, Category, Product, or Cart & Checkout. Make sure the script is Enabled.

Then paste your CSS in the code box, inside <style> tags. For example:

<style>
.product-card {
  border: none;
  border-radius: 0;
  font-weight: 400 !important;
  letter-spacing: 0.025rem;
}
</style>

Click on Save when you're finished.

Tip

If you're not sure how to write the CSS, click on Ask AI in the code box and describe the change you want, for example "remove the border from product cards".

To change or remove your CSS later, open Custom Scripts again and select the script on the left. Turn off Enabled to pause it, or click on Delete to remove it.

Was this article helpful?

Still need help?

Contact us