vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Threadbit lastpost height (https://vborg.vbsupport.ru/showthread.php?t=311146)

djvj 05-07-2014 06:32 PM

Threadbit lastpost height
 
How do I stop the clipping occurring on the text at the bottom of the last post column?

See attached image. Inside the yellow box you can see how the text is clipped at the bottom of each thread.

I tried setting the height in each of these css, but it didn't help:
.threadbit .threadinfo
.threadbit .alt
.threadbit .threadstats
.threadbit .threadlastpost

https://vborg.vbsupport.ru/external/2014/05/48.png

tbworld 05-07-2014 06:54 PM

To assist you in CSS, a link to your board is almost necessary.

You can give this a try, it may not be exactly what you are looking for. Possibly, a better solution might be altering the template for finer control; as the change posted below will alter all line heights in the 'last post' block.

Past this in the bottom of your 'additional.css' template.
Code:

#forums a.username {
    line-height: 20px;  /* Adjust this accordingly */
}


djvj 05-07-2014 07:10 PM

Thanks tbworld, but that didn't change anything. I tried a few different values and nothing changed.

My forums can be found at www.hyperlaunch.net/forum. Image above was from the blackend theme, which is where I was doing my test changes for now. The problem exists on the site's default theme too.

I appreciate your help.

tbworld 05-07-2014 07:24 PM

Quote:

Originally Posted by djvj (Post 2496701)
Thanks tbworld, but that didn't change anything. I tried a few different values and nothing changed.

My forums can be found at www.hyperlaunch.net/forum. Image above was from the blackend theme, which is where I was doing my test changes for now. The problem exists on the site's default theme too.

I appreciate your help.

You could try:
Code:

.lastpostby {
  line-height: 20px;
}

Make sure you clear your browser cache, or you will not see any changes. Better yet, when you are developing set your browser cache to '0' bytes or disable it (depending on the browser you are using).

If you add the code incorrectly in the 'additional.css' template, then the CSS code will not execute (skipped).

djvj 05-07-2014 08:04 PM

Still nothing tbworld.

I tried clearing the cache like you suggested, also tried on IE (normally use chrome) and it looked the same there too. Just installed the cache killer addon instead

It's odd that the column with the thread title doesn't clip the text, yet the last post column it does.

tbworld 05-07-2014 08:26 PM

Quote:

Originally Posted by djvj (Post 2496712)
Still nothing tbworld.

I tried clearing the cache like you suggested, also tried on IE (normally use chrome) and it looked the same there too. Just installed the cache killer addon instead

It's odd that the column with the thread title doesn't clip the text, yet the last post column it does.

Looked at your current page. You had:
Code:

line-height:100pt  <-- should be 100px,  if that is the line height that you want.
I set the line-height to 20px and it looked fine. Maybe I am looking at the wrong thing?


You may also have to set the height, as I just noticed they use a block element "<div>" there.
Code:

.lastpostby {
  height: 20px;
  line-height: 20px;
}


djvj 05-08-2014 12:08 AM

That was me playing around. I did try px at first.

You said you were able to fix it on your end, so I played around with the css in chrome and figured out the proper one I had to set. Thanks for giving me the idea. This is what fixed it for me:

Code:

.threadbit .threadlastpost dd {
    height: 20px;
}



All times are GMT. The time now is 06:56 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00990 seconds
  • Memory Usage 1,730KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete