Notifications
Clear all

Style Changing the style of WPforo sidebar

6 Posts
2 Users
2 Likes
305 Views
marsm
Posts: 39
Topic starter
(@marsm)
Trusted Member
Joined: 2 years ago

Is there a way of changing the style of the WPforo side to match my theme?

5 Replies
3 Replies
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825
Posted by: @marsm

Is there a way of changing the style of the WPforo side to match my theme?

add this to custom css

#wpforo {
max-width: 1430px;
margin: 20px auto;
padding-left: 15px;
padding-right: 15px;
}
#wpforo #wpforo-wrap {
padding: 20px;
}

Dashboard > Forums > Settings > Style (custom css)

Reply
marsm
(@marsm)
Joined: 2 years ago

Trusted Member
Posts: 39

@tutrix, thank you for the quick reply. I placed the code but it didn't work.

Here's a link to my theme's sidebars: https://renewableheatinghub.co.uk/category/questions-answers

Here's the forum: https://renewableheatinghub.co.uk/forums

As you can see the fonts and spacing are very different across both.

Reply
Tutrix
(@tutrix)
Joined: 3 years ago

Noble Member
Posts: 825

@marsm 

the CSS code above adjusts the forum to your blog (watch the video)

https://www.screencast.com/t/eq9vBTNajIJz

use your desktop pc and not your phone to see the change

font, font size etc. you can also change via CSS

Reply
Tutrix
Posts: 825
(@tutrix)
Noble Member
Joined: 3 years ago

@marsm 

Example for widget-title

#wpforo #wpforo-wrap .widget-title,
.wpforo-widget-wrap .widget-title{
border-bottom: none;
color: #000;
font-size: 22px !important;
font-weight: 600 !important;
font-family: 'Playfair Display', serif !important;
line-height: 50px;
text-transform: uppercase;
}
#wpforo #wpforo-wrap .widget-title::before,
.wpforo-widget-wrap .widget-title::before{
content: '';
position: absolute;
width: 30px;
height: 2px;
background: #3f51b5;
margin-top: 50px
}
Reply
1 Reply
marsm
(@marsm)
Joined: 2 years ago

Trusted Member
Posts: 39

@tutrix thank you.

Reply