#1 WordPress forum plugin created by gVectors Team

wpForo – WordPress Forum Plugin
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation

Forum

Home | Forum

wpDiscuz - WordPress Comment Plugin
  • Forums
  • Members
  • Recent Posts
Forums
Main Support Forums
How-to and Troubles...
Is it possible to l...
 
Share:
Share
Tweet
Share
Notifications
Clear all

Is it possible to limit topic lenghs?

    Last Post
RSS

RealAct
Posts: 65
 RealAct
Topic starter
May 7, 2020 9:51 pm
(@realact)
Trusted Member
Joined: 4 years ago

Is there any way to limit a new topic title character length? I particularly need to limit how long topics title show in widgets on our homepage.

Thanks

 screenshot_1.png
Topic Tags
Topic Character Limit Topics Titles
4 Replies
Alvina
Posts: 1873
Alvina - Facebook Alvina - Twitter
 Alvina
Moderator
May 8, 2020 1:25 pm
(@alvina)
Member
Joined: 3 years ago

Hi @realact,

Please navigate to the Dashboard > Forums > Settings > Styles admin page put the following CSS code in the "Custom CSS Code" textarea: 

.posttitle{
white-space: nowrap;
width: 50px;
overflow: hidden;
text-overflow: ellipsis;
}

Please note the red marked value can be changed.

Don't forget to delete all caches and press CTRL+F5(twice) on the frontend before checking.

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
RealAct liked
3 Replies
RealAct
 RealAct
(@realact)
Joined: 4 years ago

Trusted Member
Posts: 65
May 8, 2020 9:29 pm
Reply toAlvinaAlvina

@alvina thanks a lot, it works but then I have this little problem, after 250 or so then it doesn't break the title line and it goes outside the sidebar edge.

How could I make it so it breaks the line like it normally does? It's weird because it happens with the "Recent Posts" widget, but not with the "Recent Topics" one.

The page where the problem happens is at https://deepinenespañol.org/ if you want to take a look at the code.

Thanks in advance.

-Eli

 screenshot.png
Reply
Alvina
 Alvina
Moderator
(@alvina)
Joined: 3 years ago

Member
Posts: 1873
Alvina - Facebook Alvina - Twitter
May 9, 2020 9:52 am
Reply toRealActRealAct
Alvina

@realact,

We've just checked on your website and don't find such an issue, everything work as expected. See the screenshot below: https://www.screencast.com/t/9V1Z6yfVt

Please make sure the issue exists and let us know.

 

In case you want to say thank you !)
We'd really appreciate and be thankful if you leave a good review on plugin page. This is the best way to say thank you to this project and support team.

Reply
RealAct
 RealAct
(@realact)
Joined: 4 years ago

Trusted Member
Posts: 65
May 11, 2020 10:01 pm
Reply toAlvinaAlvina
RealAct
Alvina

@alvina thanks for replying, it looks good whenever I keep the width in the code you gave me under 250px; if I go anything above that then it looks like in the screenshot I showed above where the titles go beyond the edge of the sidebar 🙁

Right now my code is like this:

.posttitle{
white-space: nowrap;
width: 250px;
overflow: hidden;
text-overflow: ellipsis;
}

Also ideally I would like to keep it like it is now where the topic titles cannot go above one line, but then this problem happens where the "New" tag cuts out sometimes or is not visible, any way to fix that?

I attached a screenshot. Again thanks a lot for whatever help you could provide.

 screenshot.png
Reply
  All forum topics
  Previous Topic
Next Topic  
Related Topics
  • Breadcrumb on mobile
    4 months ago
  • Topic messed up after reinstalling
    5 months ago
  • Is It Possible To Bulk Delete Old Topics / Threads?
    6 months ago
  • How to change topic posted time?
    10 months ago
  • URL problem and topics not displaying bold
    1 year ago
Topic Tags:  Topic (17), Character Limit (1), Topics (14), Titles (3),

Forum Search

Join Us!

Download wpForo plugin
on WordPress.org

wpForo Addons

wpforo-private-messages wpforo-advanced-attachments-128x128 wpforo-embeds-128x128 wpForo User Custom Fields addon wpForo – Blog Cross Posting addon wpForo Ads Manager wpForo – WooCommerce Memberships Integration wpForo Emoticons wpForo – Tenor GIFs Integration
View all Addons »

Recent Topics

  • Notification bell order

    By teepeenomad, 22 hours ago

  • Not İndexing

    By selinahub, 2 days ago

  • H1 to H6 title tags : remove

    By venus, 2 days ago

  • Can't access forum dashboard 504 gateway time-out

    By Joselito, 2 days ago

  • Sharing with Facebook and Twitter is kind of broken

    By seancallahan, 3 days ago

  • Users cannot access their accounts

    By Kuduly, 3 days ago

Topic Tags

  • css52
  • translation50
  • plugin conflict48
  • seo47
  • new features45
  • buddypress43
  • avatar41
  • moderation40
  • ultimate member40
  • login40
  • forum40
  • registration37
  • threaded layout35
  • cache34
  • editor33
  • menu33
  • shortcode32
  • spam31
  • forum accesses30
  • widget29
View all tags (2188)

Recent Posts

  • RE: Notification bell order

    @tutrix Brilliant, thank you for this! Although, it ...

    By teepeenomad, 2 hours ago

  • RE:

    By Anonymous, 53 years ago

  • RE: Is there a way to add safety features?

    @seancallahan, The feature is in the to-do list, I ca...

    By Chris, 5 hours ago

  • RE: wpForo 2.0.0.1 beta version is released for beta testers!

    Added, thank you.

    By Robert, 23 hours ago

  • RE: Post title length error.

    Hi @hasanaytac, Please provide your forum URL.

    By Chris, 1 day ago

  • RE: Health.gd Health website

    Nice forum, still you have an issue / crash: Uncaught...

    By dimalifragis, 1 day ago

  • RE: Not İndexing

    Google Webmaster will tell you why.

    By dimalifragis, 2 days ago

Share:
Share
Tweet
Share
  Forum Statistics
21 Forums
9,924 Topics
50.2 K Posts
7 Online
47.6 K Members

Latest Post: Notification bell order Our newest member: ccitata037 Recent Posts Unread Posts Tags

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Powered by wpForo | Copyright © 2016-2022 gVectors Team
Copyright Registration Service - Click here for more information or to register work
wpForo is Registered with the IP Rights Office
Copyright Registration Service

Ref: 4477265538
  • Home
  • Forum
  • Migrate to wpForo
  • Addons
  • Addons Demo
  • Documentation