New: Learn Statamic on Laracasts!

We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Conditional CSS?

Bob Gillespie January 22, 2019 by Bob Gillespie

I am a long time WP guy learning Statamic.

Can I target a page ID for unique css? Lets say I want to change the h1 on just 1 page to 80px, my WP brain wants to write:

.page-id-22 h1 { font-size: 80px; }

Is there a Statamic equivalent? .is_page-3cd2d431-699c-417c-8d57-9183cd17a6fc h1 { font-size: 80px; }

Thank you!

Answered by Jack McDade!
>>>>>>> Answered <<<<<<<
2 Replies