How do I change the size on specific h2 headers

Im using additional css to change the sizes on my headers but I cant find a way to target a specific header.

If these headings are added to some specific page in WordPress/Pages you can target them via the page ID:

.page-123 h2 {font-size:123px}

You can also add some unique CSS classes to these headings in the editor (in the right sidebar while you edit the heading block) and target headings via this class. Also, you can use the browser web inspector to highlight headings and check their CSS classes or other HTML attributes.


Thank you @yevhen this works great!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.