Notifications
Clear all

wpForo 1.x.x [Solved] Search page layout problem with the result in the search table

4 Posts
2 Users
1 Reactions
943 Views
Posts: 18
 Ief
Topic starter
(@ief)
Eminent Member
Joined: 8 years ago

Hello,

I've got a layout problem with my search page. The results table is too width. 

An example:

https://www.pondlibrary.com/forum/?wpfs=winter

Probably a css problem but I can't find it.

3 Replies
Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

Hi @ief,

Please navigate to Dashboard > Forums > Settings > Style Tab admin page, put the following CSS code in the "Custom CSS code" textarea, save it, delete all caches and check again.

#wpforo #wpforo-wrap .wpforo-search-wrap .wpforo-search-content td.wpf-stext{
white-space: pre-wrap !important;
}

Don't forget to press Ctrl+F5 (twice) on the forum frontend before checking to reload the updated CSS file.   

Sofy
Posts: 4900
 Sofy
Admin
(@sofy)
Support Team
Joined: 7 years ago

I see the same issue on the "Resent post" page. To solve the issue, put the CSS code in the "Custom CSS code" textarea as well:

#wpforo #wpforo-wrap .wpforo-recent-content table{
table-layout: fixed;
}
#wpforo #wpforo-wrap .wpforo-recent-content li i + a{
display:inline-block;
width: 70%;
overflow: hidden;
text-overflow: ellipsis ;
white-space: nowrap;
}
Posts: 18
 Ief
Topic starter
(@ief)
Eminent Member
Joined: 8 years ago

Wonderful. Thanks.