• Hi all

    I know I can add a css class to a block, but how do I style a whole page?

    What I mean is I need this on one of my pages:

    <body>
    <div class=class1>
    <div class=class2>
    <p> [Content goes here] </p>
    </div>
    </div>
    </body>

    All of my pages are using standard templates, so I don’t want to mess around with that. Surely there is a way to do this in the Gutenberg editor??

    Thanks

    • This topic was modified 4 years, 2 months ago by Jan Dembowski.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Would creating a group and adding your content to it not work. There are blocks for post and query loop blocks you can use to add your post if that is what you want. I guess it really depends on what content you are trying to use. If you create custom post types you might have to add them to the theme.json file. I still trying to figure it out myself.

    Thread Starter wbuchanan

    (@wbuchanan)

    Thank you – yes Group is exactly what I needed!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Style the whole page’ is closed to new replies.