Join the Webstudio community

Updated 11 months ago

Target Type Selectors (H1s, Paragraphs, Links)

At a glance

The community member is asking if there is a way to target type selectors like all H1 elements or all links in Web Studio to remove default styles, such as the underline on links. They also noticed a default 1em padding on all paragraph elements that they would like to remove. The comments indicate that the community member will need to use HTML embed and custom CSS to achieve this, rather than using the Web Studio interface. One community member suggests using tokens for specific elements instead of globally setting styles.

Hey! Just wondering if I'm missing something, is there any way in Web Studio to target type selectors like all H1s or all links (to take away the default underline for example)

I also noticed there was 1em padding on all paragraph elements by default that I would like to be able to take off by targeting All Paragraphs.

Easily done with custom css of course, just wondering if I'm not noticing a way to do this with the interface
O
r
4 comments
Currently you will have to use html embed and custom css for that
Ideally though you use tokens for specific things instead of globally setting that.
You will use tokens on those elements in any case I assume.
Got it, thanks man
Add a reply
Sign up and join the conversation on Discord