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 07-05-2014, 02:12 AM
men2dope men2dope is offline
 
Join Date: Jul 2014
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Reduce Space In Postbit

Hello guys, I'm having this real annoying issue with my forum. Unfortunately there's some extra spacing between the message area and the posts signature. (EXAMPLE BELOW!)



I've searched online ALL DAY for answers and falling into short, misguided responses on the web. I really would like to know from somebody who is experienced in this, how to fix this problem. Is there a code I need to edit in the theme manager? Or a plugin? Anything that could fix this is needed and appreciated.

This is how I want it to look.

Reply With Quote
  #2  
Old 07-05-2014, 08:17 AM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Find .postbitlegacy .after_content in the postbit.css CSS template and remove clear: both; or change both to right.
That should do the trick.
Reply With Quote
Благодарность от:
Lynne
  #3  
Old 07-05-2014, 01:19 PM
men2dope men2dope is offline
 
Join Date: Jul 2014
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dave View Post
Find .postbitlegacy .after_content in the postbit.css CSS template and remove clear: both; or change both to right.
That should do the trick.
THANK YOU SO MUCH!!!! :up:
Reply With Quote
  #4  
Old 07-05-2014, 07:46 PM
KGodel's Avatar
KGodel KGodel is offline
 
Join Date: May 2011
Location: Indiana
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a good question. I have an additional one: is there a way to align it to the bottom? Right now the signatures are in the middle of the content area which looks a bit awkward.
Reply With Quote
  #5  
Old 07-05-2014, 07:49 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KGodel View Post
This is a good question. I have an additional one: is there a way to align it to the bottom? Right now the signatures are in the middle of the content area which looks a bit awkward.
I'm not entirely sure what you mean, but you could set a min-height to the .postbitlegacy .postrow.has_after_content class and change it to your needs.
What this does is that it forces a minimum height, and once a post reaches a height that's more than the min-height, it will automatically stretch with the content.

Example:

PHP Code:
.postbitlegacy .postrow.has_after_content{
  
min-height300px;

Reply With Quote
  #6  
Old 07-05-2014, 07:54 PM
KGodel's Avatar
KGodel KGodel is offline
 
Join Date: May 2011
Location: Indiana
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is what we have: http://imgur.com/4cCydH9

Here is what I'm looking to do: http://imgur.com/8zWpRmO
Reply With Quote
  #7  
Old 07-05-2014, 07:57 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KGodel View Post
Here is what we have: http://imgur.com/4cCydH9

Here is what I'm looking to do: http://imgur.com/8zWpRmO
Yes, you should be able to do that with the instructions in my previous post.
Reply With Quote
  #8  
Old 07-05-2014, 08:00 PM
KGodel's Avatar
KGodel KGodel is offline
 
Join Date: May 2011
Location: Indiana
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But there is no way to ensure that the signature area will align with the bottom of the content every time without using min-height?
Reply With Quote
  #9  
Old 07-05-2014, 08:12 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm you could try the following:

HTML Code:
.postbitlegacy .postdetails{
  position: relative;
}

.postbitlegacy .after_content{
  position: absolute;
  bottom: 10px;
  width: 79%; /* Change this to your needs to fix the width of the signature separator. */
}
Reply With Quote
  #10  
Old 07-05-2014, 08:22 PM
KGodel's Avatar
KGodel KGodel is offline
 
Join Date: May 2011
Location: Indiana
Posts: 332
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Took some tinkering, changed bottom to a percentage but its working fairly well. Thanks Dave.

Now we're getting errors like this: http://prntscr.com/3zqyzj
Reply With Quote
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 05:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.10631 seconds
  • Memory Usage 2,263KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_html
  • (1)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete