vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   vBulletin Blog - Blog Description Background (https://vborg.vbsupport.ru/showthread.php?t=158040)

cheat-master30 09-16-2007 10:00 PM

Blog Description Background
 
Okay, this very minor CSS addition just does one thing; adds the right background to the blog_description property. Because by default, it just places this text on the page background colour with no nice background and no box border. And I felt it looked out of place.

In 'All Style Options', add this under 'Additional CSS':
Code:

#blog_description {background: [same as blog_message]; color: [Same as blog_message]; border: 1px solid black }
Replace as need be. Just felt like posting this because it felt half finished otherwise.

Oh, and change values for the other skins.

Demos:

http://jpicforum.info/blog.php?u=1 (With 10px padding)

http://www.dsultimate.net/Board/upload/blog.php?u=1 (guess why this forum added it).

Thanks to PoetJA-1975 for first demo.

Brandon Sheley 09-17-2007 02:46 PM

screenshot or demo ?

cheat-master30 09-17-2007 03:36 PM

Oh, right. Have one soon.

cheat-master30 09-17-2007 03:42 PM

Screenshot added, and demo is pretty obvious from the screenshot. Oh, and if you thought the border would be thicker, or to change colours, do this:
Code:

#blog_description {background: [same as blog_message]; color: [Same as blog_message]; border: 2px solid GREEN }
Note, highlighted for emphasis. Please removing bolding and decapitalise GREEN before use, or changed as necessary to suit board or style.

PoetJA-1975 09-18-2007 07:41 AM

Demo at: http://jpicforum.info/blog.php?u=1
I added additional padding element: padding:10px;

Thanx very much for the share.
I don't know why on earth that section was designed without any border or background - A little silly in my opinion....

Anyway - Thanx ;)

Jacquii.

cheat-master30 09-18-2007 08:07 AM

^That is why it was added. Because someone screwed quite a bit and didn't realise the effect on aesthetics.

Reeve of shinra 09-19-2007 07:48 PM

I felt the same way, glad you shared this.

cheat-master30 09-19-2007 08:39 PM

No problem. Sometimes a minor thing can help.

Ophelia 09-20-2007 02:13 PM

Having a blonde moment.

I have this:

Code:

#blog_description { background: #FFEA7B; color: [Same as blog_message]; }
I would like a padding around it though. How would I do that?

cheat-master30 09-20-2007 04:45 PM

You would change to:
Code:

#blog_description { background: #FFEA7B; color: [Same as blog_message]; padding: [whatever]; }
Oh, and by the way, if you have not done so, edit the [same as blog_message] and [whatever] to what you want.


All times are GMT. The time now is 10:08 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.01007 seconds
  • Memory Usage 1,728KB
  • 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
  • (4)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete