How can I add a custom CSS file to the Debut theme?

Hello,

I have recently switched from Minimal to Debut theme. I need to customize it and my preferred approach is to create a new CSS stylesheet (like theme-custom.css). That’s what I did with the Minimal theme and it was pretty easy to add this new CSS file to theme.liquid file. However, I am a bit lost as to how I should add the CSS file for the Debut theme. The CSS seems to be called differently and at several places.

That’s how theme.liquid looks like in Debut with 3 references to the theme.css file:


...

...

  
...

How should I amend the code to point to my other CSS file theme-custom.css?

Thanks very much in advance!

1 Like

@britsy83

sorry for this issue please try this


@KetanKumar

Thanks for the suggestion but what about the other portions of the call that refer to theme.css. Also the onLoadStylesheet() function only refers to theme.css and the function is already called above, so is it really necessary?

Tks.

1 Like

@britsy83

no doesn’t necessary

1 Like