I am using the inbuilt scss compiler and its working great. I have been able to set variables in my config.toml file and have my main.scss file pull them in and they show in my css.
I have a scenario where I would like to use page variables in my css and I do not know how to do it or even if it is possible (I have tried to work it out). The reason I want to do this is because I want to be able to control the css value of object-position: using the page param banner_offset
Thank you for referring me to those docs. I don’t fully understand how hugo pipes works but I’ve got them working with the following code in head.html partial.
The reason I am asking how to use Params from a partial html file is that I do not know how to use Params from the config.toml file as well as Params from a partial. I’ve tried to find docs online for this but I’ve not found any that I understand.
Thank you for clarifying that. I apologise I have not explained myself properly, I do not want to use Site.Params, I want to use Page.Params. Each page has a banner image and each image needs to be aligned in a specific way, so I would like to use a .Page.Param in the CSS for each banner.