Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-07-2014, 06:32 PM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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

Reply With Quote
  #2  
Old 05-07-2014, 06:54 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 */
}
Reply With Quote
  #3  
Old 05-07-2014, 07:10 PM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #4  
Old 05-07-2014, 07:24 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djvj View Post
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).
Reply With Quote
  #5  
Old 05-07-2014, 08:04 PM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 05-07-2014, 08:26 PM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by djvj View Post
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; 
}
Reply With Quote
  #7  
Old 05-08-2014, 12:08 AM
djvj djvj is offline
 
Join Date: May 2009
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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;
}
Reply With Quote
Благодарность от:
tbworld
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:52 AM.


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.04020 seconds
  • Memory Usage 2,225KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (5)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (1)post_thanks_box_bit
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete