Add embedded CSS code as part of theme file


(Jane Jojo) #1

I use a fork of the material stock theme with my custom styling edit going into the forked version and then using the Github remote URL for pulling and using the theme.

I’ve not been successful in adding the embedding code to the theme source control. So I ended up adding it to admin/customize/themes/ -> Edit CSS/HTML->Embedded CSS

The drawback here is that it gets overwritten with every source code pull.

Is there a way to add this to the theme files in github and pull it over? My attempts were unsuccessful.

Here’s my blog URL using the custom embedded CSS


and how embedding is configured.


(Sam Saffron) #2

Yeah absolutely, common/embedded.scss should work.