Notifications
Clear all

wpForo 1.x.x [Closed] Header paragraphs

4 Posts
2 Users
0 Reactions
595 Views
Posts: 9
Topic starter
(@alsansan)
Active Member
Joined: 4 years ago

Hello. It is possible to configure paragraph styles like (h1, h2, h3), etc.?

I give "24pt" font size to titles in forum posts but that title has same line-height as normal text so it looks strange, and i want to give top and bottom margins to that titles. 

Greetings.

3 Replies
Alvina
Posts: 1863
Moderator
(@alvina)
Member
Joined: 5 years ago

Hi @mocs,

I give "24pt" font size to titles in forum posts but that title has same line-height as normal text so it looks strange, and i want to give top and bottom margins to that titles. 

Please provide in a screenshot what exactly you want to change.

2 Replies
(@alsansan)
Joined: 4 years ago

Active Member
Posts: 9

@alvina well I think I found the classes i wanted to change

#wpforo #wpforo-wrap h3{font-size:18px; padding:5px 0; margin:0; line-height:18px; font-weight:500; text-transform:none;}
#wpforo #wpforo-wrap h2{font-size:22px; padding:10px 2px; margin:0; line-height:22px; font-weight:bold; text-transform:none;}
#wpforo #wpforo-wrap h1{font-size:26px; padding:10px 2px; margin:0; line-height:22px; font-weight:bold; text-transform:none;}

 

But it would be possible to change the editor text size selector (12pt,14pt,18pt, etc.) to a header selector (h1, h2, h3...)? In order to be more user friendly than changing the thread code manually (<h1></h2>).

Thanks.

Alvina
Moderator
(@alvina)
Joined: 5 years ago

Member
Posts: 1863

@mocs,

But it would be possible to change the editor text size selector (12pt,14pt,18pt, etc.) to a header selector (h1, h2, h3...)?

It does not have any relation to the wpForo, it belongs to TinyMCE plugins. So it will be better if you contact to the TinyMCE plugin's support and ask them this question.