#Adding styles to rendered content

2 messages · Page 1 of 1 (latest)

civic beacon
#

I am using content collections and would like to add styles to the HTML which is generated by the render() function. Right now I'm using global styles, but it would be much better if I could add styles to all elements that are rendered in a <Content /> block. Is there a way to do this?

winter pagoda
#

you can use a layout on a content page, and styles from that layout will be included in the html response