Skip to content

styling {children} #709

@horak

Description

@horak

I'm using the Gatsby Starter Blog and would like to style my pages a bit differently. Adding additional css files is not a problem, but in keeping with the best practices described in the readme, I'd like to understand how to style those inline making use of that nifty head-injected css.

I've been trying to add styles the {{children}} prop within _template.js, am I barking up the wrong tree?

Ideally, I'm just looking to, for example, change the padding on the <h3>'s on my pages.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions