How do I allow a long Thread Title to wrap over to a second line

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • David Copeland
    Senior Member
    • May 2000
    • 1354
    • 4.2.5

    [Forum] How do I allow a long Thread Title to wrap over to a second line

    How do I allow a long Thread Title to wrap over to a second line so that the title does not get truncated on the single top line?

    Here are screen shots of the sample full thread titles as they appear in the New Posts or Active Posts search results on a single line using FULL SCREEN view:
    Click image for larger version

Name:	VBtitleFull..jpg
Views:	1
Size:	38.6 KB
ID:	3715297

    And here is how the same thread titles get truncated because there is no wrap to a second line:
    Click image for larger version

Name:	VBtitleShort..jpg
Views:	1
Size:	55.5 KB
ID:	3715298

    And here is how I want the thread titles to wrap to second and third lines (as we had in VB Ver 3):
    Click image for larger version

Name:	VBtitleWrap..jpg
Views:	1
Size:	85.9 KB
ID:	3715299

    DAVID COPELAND
    Licensed VB Holder Since 2000
    Celebrating 22 Years with VB
  • setishock
    Senior Member
    • Jun 2005
    • 1334
    • 4.2.x

    #2
    Increase the amount of characters allowed in a thread title.
    I personally would reduce the size of the font and unbold everything. That's just eating up a lot of real estate on the line. Using a smaller font size would allow for more text to be displayed in the same space.
    Last edited by setishock; Fri 12 Mar '10, 9:48am.
    ...

    Comment

    • David Copeland
      Senior Member
      • May 2000
      • 1354
      • 4.2.5

      #3
      Originally posted by setishock
      Increase the amount of characters allowed in a thread title.
      Where would I do that?

      DAVID COPELAND
      Licensed VB Holder Since 2000
      Celebrating 22 Years with VB

      Comment

      • David Copeland
        Senior Member
        • May 2000
        • 1354
        • 4.2.5

        #4
        I still need to know where I can change the amount of characters allowed in a thread title.

        DAVID COPELAND
        Licensed VB Holder Since 2000
        Celebrating 22 Years with VB

        Comment

        • freestyle
          Senior Member
          • Jun 2005
          • 123
          • 4.0.0

          #5
          Admin CP >

          Settings >

          Options >

          MESSAGE POSTING AND EDITING OPTIONS >

          >Maximum Characters Per Thread/Post Title<
          ...

          Comment

          • David Copeland
            Senior Member
            • May 2000
            • 1354
            • 4.2.5

            #6
            Originally posted by freestyle
            Admin CP >

            Settings >

            Options >

            MESSAGE POSTING AND EDITING OPTIONS >

            >Maximum Characters Per Thread/Post Title<
            Apparently that does not control the ability to force the topic title to wrap to a second line. Please see the image samples I posted above.

            DAVID COPELAND
            Licensed VB Holder Since 2000
            Celebrating 22 Years with VB

            Comment

            • freestyle
              Senior Member
              • Jun 2005
              • 123
              • 4.0.0

              #7
              at a certain point, maybe you have to set a fixed width of the forums (or that specific table/column). I'm not sure... My forum is fixed at 1000px wide.

              (I bet someone from vB knows though.)
              ...

              Comment

              • Lynne
                Former vBulletin Support
                • Oct 2004
                • 26255

                #8
                I already posted the css for this very recently. However, it looks like I didn't keep a copy of it. If I recall, the overflow is set to hidden for the title and you need to change that to visible and then set the next line to clear:both (something like that).

                Please don't PM or VM me for support - I only help out in the threads.
                vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                Want help modifying your vbulletin forum? Head on over to vbulletin.org
                If I post CSS and you don't know where it goes, throw it into the additional.css template.

                W3Schools &lt;- awesome site for html/css help

                Comment

                • David Copeland
                  Senior Member
                  • May 2000
                  • 1354
                  • 4.2.5

                  #9
                  Originally posted by Lynne
                  I already posted the css for this very recently. However, it looks like I didn't keep a copy of it.
                  I think what you are referring to is here:


                  In the above thread you provide the valuable code I needed to add to the additional.css . Then the author of the thread returned and stated he changed it from 40% to 100%, which is what I did - and it the title wrap is now WORKING!

                  Go here to see the difference you made for me.

                  The remaining area for title wraps is now in the Active Topics search results that are still not wrapping. They too are getting truncated.

                  Using the above sample link , go ahead and click on the nav bar item titled Active Topics and choose last 3 Days. (If you are prompted to log in, use the User Name GUEST, and a password of 2010 - in order to see the search results on that page are still not wrapping.

                  Originally posted by Lynne
                  the overflow is set to hidden for the title and you need to change that to visible and then set the next line to clear:both (something like that).
                  Where do I change the "overflow" to change from "hidden" to "visible" ?

                  DAVID COPELAND
                  Licensed VB Holder Since 2000
                  Celebrating 22 Years with VB

                  Comment

                  • David Copeland
                    Senior Member
                    • May 2000
                    • 1354
                    • 4.2.5

                    #10
                    Lynne, any word on my last post to you?

                    DAVID COPELAND
                    Licensed VB Holder Since 2000
                    Celebrating 22 Years with VB

                    Comment

                    • Lynne
                      Former vBulletin Support
                      • Oct 2004
                      • 26255

                      #11
                      That is not the thread I was thinking of. The CSS was something like this (this is for the search results page).

                      Code:
                      .searchtitle {overflow: visible; height: auto;}
                      .threadbit .threadmeta {clear:both;}

                      Please don't PM or VM me for support - I only help out in the threads.
                      vBulletin Manual & vBulletin 4.0 Code Documentation (API)
                      Want help modifying your vbulletin forum? Head on over to vbulletin.org
                      If I post CSS and you don't know where it goes, throw it into the additional.css template.

                      W3Schools &lt;- awesome site for html/css help

                      Comment

                      • David Copeland
                        Senior Member
                        • May 2000
                        • 1354
                        • 4.2.5

                        #12
                        Originally posted by Lynne
                        That is not the thread I was thinking of. The CSS was something like this (this is for the search results page).

                        Code:
                        .searchtitle {overflow: visible; height: auto;}
                        .threadbit .threadmeta {clear:both;}
                        Wonderful job, Lynne! That did it! Thanks so much for your help. The threads are now wrapping in all of the search results pages without getting truncated.

                        David

                        PS: Congrats on your new VB Avatar.

                        DAVID COPELAND
                        Licensed VB Holder Since 2000
                        Celebrating 22 Years with VB

                        Comment

                        • s0lidgr0und
                          Senior Member
                          • May 2007
                          • 802
                          • 3.6.x

                          #13
                          Is that existing code to be edited, or code to be added to additional.css?
                          s.molinari - I would like to ask all customers to definitely feedback issues with the software and be specific with the issues, but to basically suck-up what happened in the past and try to just look forward.

                          Comment

                          • David Copeland
                            Senior Member
                            • May 2000
                            • 1354
                            • 4.2.5

                            #14
                            Originally posted by s0lidgr0und
                            Is that existing code to be edited, or code to be added to additional.css?
                            It is the code to be ADDED to the additional.css

                            And it is two lines of code, as shown.

                            DAVID COPELAND
                            Licensed VB Holder Since 2000
                            Celebrating 22 Years with VB

                            Comment

                            • s0lidgr0und
                              Senior Member
                              • May 2007
                              • 802
                              • 3.6.x

                              #15
                              Eh, that's what I tried at first. While it does, in fact, wrap the titles to the second line, it makes the rest of each block look like crap.
                              s.molinari - I would like to ask all customers to definitely feedback issues with the software and be specific with the issues, but to basically suck-up what happened in the past and try to just look forward.

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...