Welcome! To use this support forum, please Login or Join Today!

You are here → Home :: Forum Home :: General WordPress :: WordPress :: Thread


Changing font size for one section


Total Posts: 45

Joined 2013-06-24


Greetings all,

I am looking to change the font size of just one section on a page. It's currently just 'paragraph; but not sure how to make it a step or two smaller.

My CSS/PHP knowledge it rather limited but I don't mind learning :)

Total Posts: 3667

Joined 2011-04-27


Each WP page has a unique body class, so you could add a CSS rule for just that page.

Without a link to the page or an example of the markup the best I can tell you is to add something along these lines:

body.page-id-X p {font-size:10px;}