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 01-24-2011, 05:24 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Reducing and Increasing white spaces in 4.07 (postbit) and add a seperation line too.

Hi All,

I am looking at changing the look of my posts (postbit on vB4.0.7) to look much neater (and similar to what they used to look like in vB3.8.X).

Attached are two images, one as it currently looks "From This" and the other is how I would like it to look "To This".

I would be most grateful if someone could give me layman's terms on how to achieve it please.

Many many Thanks,

Welshy2008.
Attached Images
File Type: jpg FROM THIS.jpg (19.0 KB, 0 views)
File Type: jpg TO THIS.jpg (20.7 KB, 0 views)
Reply With Quote
  #2  
Old 01-24-2011, 05:32 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is supposed to be the difference beside the <hr> under the post title?
Reply With Quote
  #3  
Old 01-24-2011, 06:08 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Lynne,

Thanks for your reply.

Please view the screenshot below of the total of 4 changes that I would like to impliment.

Many Thanks.
Attached Images
File Type: jpg Explaination.jpg (33.5 KB, 0 views)
Reply With Quote
  #4  
Old 01-24-2011, 07:53 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You are not going to be able to do all that exactly unless you totally change the postbit to go back to using tables. I have an article in the Quick Tips forum over on vbulletin.com and not forcing the signature to the bottom and thus decreasing the space between the post and the signature. You just need to use CSS for that. And then to add a line under the post title, you can just use CSS also:

HTML Code:
.postbitlegacy .title, .eventbit .title {    border-bottom: 1px solid black;
}
Reply With Quote
  #5  
Old 01-25-2011, 02:11 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for your reply, Lynne.

I would settle for the line between the Post title and the post content.

(I have tried your code, in your post above, in both postbit.css and additional.css, and it works in neither. I am using postbit). Is there anything I can add in my .css and would you be kind enough as to confirm which .css I add to it to, please?).

I would also like the space to be smaller at the bottom of the signature line - and that is it - I am happy.

But the most wanted one is the line.


Sorry for waffling on.

Many Thanks.
Reply With Quote
  #6  
Old 01-25-2011, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you are using the postbit, then just add:
HTML Code:
.postbit .posttitle {    border-bottom: 1px solid black;
}
And see my signature about where to add it.
Reply With Quote
  #7  
Old 01-25-2011, 06:13 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That one worked - Thanks Lynne.

Just one more thing, If I may, Please?

How would I get a space between the new line under the post title and the top of the post content, Please?

Many Thanks.
Reply With Quote
  #8  
Old 01-25-2011, 09:11 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just add a margin in there too.

HTML Code:
.postbit .posttitle {    border-bottom: 1px solid black; margin-bottom: 10px;
}
Reply With Quote
  #9  
Old 01-25-2011, 09:33 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Worked great Thanks Lynne.

Would it be possible that you know and could tell me how to remove the line at the bottom of the post content and the signature too, please?

Many Thanks.
Reply With Quote
  #10  
Old 01-25-2011, 09:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's just CSS again:
HTML Code:
.signature {    border-top: 1px solid #DDDDDD; }
which is the stylevar signature_border

I would strongly suggest this article/video for you - How To: Find a StyleVar (video version) If you want to style your site at all, you'll be much happier to be able to do it on your own rather than have to ask somebody else how to do it.
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 08:51 AM.


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.04628 seconds
  • Memory Usage 2,277KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_html
  • (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
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (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_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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete