-
OliverS
Hello everyone,
I’d like to add class or IDs to e.g. my main navigation or buttons. What’s the best way to do that in generate press? Thank you.
Regards Oliver -
Alvind
Hi there,
If it is a blocks, you can add the class under the Advanced settings.
https://wordpress.com/support/wordpress-editor/adding-additional-css-classes-to-blocks/ -
OliverS
Hi, thank you Alvind. I understand now how to add a custom class to links.
But how I can add an ID to an element, like images, links, sections, etc.
Thank you very much.
Cheers Oliver -
David
Hi there,
if you select any block, and go to the blocks settings Advanced panel, you can add a HTML Anchor which is the ID attribute.
-
OliverS
Oh, great. Thank you.
-
David
You’re welcome
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.