Notifications
Clear all

[Solved] Full width

46 Posts
4 Users
9 Reactions
1,225 Views
marsm
Posts: 118
Topic starter
(@marsm)
Estimable Member
Joined: 4 years ago

Where can I please find the width settings for wpforo?

45 Replies
Robert
Posts: 10583
Admin
(@robert)
Support Team
Joined: 8 years ago

Hi @marsm,

Widget settings come with widgets. When you put a new widget in a sidebar you see the widget settings in Dashboard > Appearance > Widgets admin page. I'd recommend install Classic Widgets plugin to manage widgets very easy.

1 Reply
marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118

@robert I was referring to the full width of wpforo as a whole, not the widgets. Can I lock the width at a certain number?

marsm
Posts: 118
Topic starter
(@marsm)
Estimable Member
Joined: 4 years ago

I’m still battling with this. The wpforo sidebar is not fitting in properly. Please attached.

 

8 Replies
Robert
Admin
(@robert)
Joined: 8 years ago

Support Team
Posts: 10583

@marsm,

I don't see any issue. You should remove the ad banner if it goes beyond the sidebar borders, it's not controlled by wpForo. 

marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118

@Robert thanks for that. The issue is there's nothing wrong with the banner when displayed on a laptop (see attached), and the ad is designed to fit all our sidebars.

Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4639

@marsm,

To assist you with the solution, please share the URL of the forum.

marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118
Sofy
 Sofy
Admin
(@sofy)
Joined: 7 years ago

Support Team
Posts: 4639

@marsm,

Here is the CSS code you can use: 

div#wpforo {
    width: 98%;
    margin:0 auto;
}
#wpforo #wpforo-wrap {
    padding: 15px;
}

Insert the code in the respective textareas:

  • Single Board Forum:
    • Dashboard > wpForo > Settings > Colors & Styles
  • Multi-Boards Forum:
    • Dashboard > EN Forum > Settings > Colors & Styles
    • Dashboard > FR Forum > Settings > Colors & Styles

More info here: https://wpforo.com/docs/wpforo-v2/settings/colors-styles/#custom-css-code

marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118

@sofy unfortunately that didn’t work. The issue is that it appears that the sidebar narrows on the iPad to honor the forum sizing. Please see attached.

Also the forum sidebar styling is completely different from the rest of my template styling. Can I “replace” wpforo sidebar with one of my template sidebars?

dimalifragis
(@dimalifragis)
Joined: 4 years ago

Famed Member
Posts: 2615

@marsm Sure, why use wpForo sidebar? I never use that. Move all widgets to your theme's sidepanel and use some widget plugin to show / hide things.

Also for your visual issues, please try (if you can) a proper theme, Kadence and you will be able to TUNE everything.

marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118

@dimalifragis thanks for that. Where do I find the place to replace the wpforo sidebar? I have loads of sidebars I can use that I have already created I just don't know where instruct wpforo to use that sidebar.

dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

You have a PRIMARY sidebar for your theme? No? Just move the widgets from wpForo sidebar to that. Nothing else is needed. If wpForo sidebar is empty, it will not show.

 

1 Reply
marsm
(@marsm)
Joined: 4 years ago

Estimable Member
Posts: 118

@dimalifragis yes, but I want my primary sidebar to be different to my wpforo sidebar.

dimalifragis
Posts: 2615
(@dimalifragis)
Famed Member
Joined: 4 years ago

I told you HOW.

Use a widget options plugins to show / hide different widgets on different pages or urls. Or whatever.

https://wordpress.org/plugins/widget-options/

Page 1 / 3