Help CenterYour websiteEditing pages and blocks
How do I write my own CSS for a block?
Every block on your pages carries class names that do not change, so a rule you write today keeps working. .pspun-block matches any block. .pspun-block--media matches a picture, .pspun-block--prose a piece of writing, and so on: the pattern is .pspun-block-- followed by the block's name in lower case. A Container is .pspun-container, and the blocks inside one carry their own names as well.
Write the rules in your website's Code section, under Custom CSS. They load after the theme, so they win.
More in Editing pages and blocks
- Can my articles open with a dark title band?
- Can I underline the end of my hero headline?
- How do I add a photo credit to a hero picture?
- Can my banner pictures be black and white, or darker?
- Can the band behind my banner text show a texture or picture?
- My menu is hard to read over a light photo. Can the photo be darker behind it?
- Can the menu be listed down the right side of the page?
- Can the carousel arrows be smaller, without a box?
Still stuck? Email [email protected].