vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=318016

Search results thread list - thread title wrap oddness.
by Chris-777
28 Mar 2015 20:47

This is on the default style, so I'm ruling out one of the myriad edits I made to my main style.

See here. The title of the third post down in the list is "Since "incoming" NGD's seem to be a thing lately..."

https://www.vbulletin.org/forum/external/2015/04/35.png

On my forum list, when I shrink the browser the table row expands (gets taller) so that the text wraps. However in my new posts search result, the row doesn't grow. The text at the end of the thread title gets bumped below the title. See here:

https://www.vbulletin.org/forum/external/2015/04/36.png

If you look at that same thread again, all you can see is ""Since "incoming" NGD's seem to be a", because the last two words get shoved under the thread title but the cell itself doesn't grow at all.

Any idea what might cause this? I've checked a couple of other default vb4 sites and they don't seem to have the same issue, so it's something I did. I just have no idea what, heh. It doesn't happen in my forum list, only in the New Posts search result listing.

MarkFL 29 Mar 2015 23:57

Got to your "search.css" template, and edit your "searchtitle" class to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will allow the element to grow as needed.

edit: I found a couple of other CSS tweaks are needed...

Go to "threadlist.css" and locate:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And change it to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then got to "additional.css" and add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


OUTL4W 30 Mar 2015 06:50

I believe this is also achieved by going into stylevars then in search box, type "line-height" and it should bring it up under "common" then set height to "auto".

Chris-777 31 Mar 2015 21:37

Thanks guys. That fixed the wrap, but now my thread stats cell doesn't quite make it to the bottom of the row in a search. I've been firebugging it and it looks like it might be threadstats.td, but I can't quite sort what to adjust.

https://www.vbulletin.org/forum/external/2015/03/1.png

This is my site, guest/guest for a login if anyone's more savvy with this and wouldn't mind taking a peek.

--------------- Added 01 Apr 2015 at 11:14 ---------------

Also, if a mod could move this over to the graphics forum I'd appreciate it. (Sorry about that, not enough coffee.)

Chris-777 03 Apr 2015 13:30

This is driving me bonkers, aaaagh!

I made the edits in MarkFL's post, which would do as a bandaid however it makes my replies/views box have the same background as the rest of the thread strip. I'd like to keep it the alt color. Setting the width to auto works for the wrap, but I still have the Ugly Box Of Doom.

I'm looking at it in firebug, and around the default vB replies/views container there's a cell/box:

https://www.vbulletin.org/forum/external/2015/04/37.png

However around mine, that doesn't seem to be there. This is the only wrap that I can get around that area.

https://www.vbulletin.org/forum/external/2015/04/38.png

Looking at the HTML on the default skin:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

vs. mine:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The only difference in mine that I can see is that I shoved a lazy font color tag in there for the time being until I can fix this (I'll do it the right way later). I'm going mad, it feels like I've put more time into this than I have the bulk of the rest of my style. Aaaagh!

MarkFL 03 Apr 2015 15:59

Try adding the following selectors to "additional.css":


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


Chris-777 03 Apr 2015 21:52

That did it, thank you very much! The text is a little top-justified in the cell but I can certainly live with it. Cheers man, that was driving me crazy! :)

MarkFL 03 Apr 2015 23:16

1 Attachment(s)
Quote:

Originally Posted by Chris-777 (Post 2542302)
That did it, thank you very much! The text is a little top-justified in the cell but I can certainly live with it. Cheers man, that was driving me crazy! :)

Change to second selector set to read:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

This will match the top padding of the leftmost element on the line. :cool:

Also add this selector:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Now your data rows will look like the attached...

Chris-777 04 Apr 2015 13:11

And thank you once again!

MarkFL 04 Apr 2015 14:38

One more thing...to get your sticky threads to match the nonsticky threads you should add:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



All times are GMT. The time now is 00:33.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.