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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-16-2014, 08:44 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Member Profile block backgrounds are the wrong color?

Hi there!

I've learned quite a bit about StyleVars and all the edits to additional.css that can really alter the look and feel of a standard vB fourm. I've just been stumped trying to figure out how to make the following changes (on the attached screenshot).

I was able to change the background color of the user's top information box by manually editing the #userinfoblock section of additional.css in my active style.

HTML Code:
#userinfoblock {
	border: solid 1px #2E3539;
	border-top: none !important;
	background-color: #2E3539;
	padding-bottom: {vb:stylevar padding};
#2E3539 is the dark gray color, this worked perfectly. How do i now go about changing the text color for the links that are normally visible here Send Private Message, Add to Ignore List etc.

Secondly, i was not able to figure out where the background-color codes are for the Mini Statistics, Recent Visitors, and Friends sections. I would need to do the same thing to these blocks as well.

Perhaps i am going about this all wrong? These particular "blocks" on the left side don't seem to follow the color scheme i have in place in any of the other StyleVars i've experimented with.

Maybe there is an easy solution to this, and i'm just too big of a n00b to figure it out? I've used FireBug to track down DIV's and other elements that control much of the colors in the forum but this has me banging my head against the wall.

Any help would be greatly appreciated!!!
Attached Images
File Type: jpg DI_member_CSS_bad.jpg (129.7 KB, 0 views)
Reply With Quote
  #2  
Old 05-16-2014, 09:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have a custom style, so I can't tell on yours, but on mine I can add this to my additional.css file to change it:

HTML Code:
#sidebar_container a {
color: pink !important;
}
Reply With Quote
  #3  
Old 05-17-2014, 04:47 AM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Lynne!

After reading countless threads about "how to change the color of this, and that" i'd like to personally thank you for your awesome responses to questions about styling in vB. All your input has been spot on.

Your suggestion to add the #sidebar_container a worked in the sense that i was able to change the color of the font, which is great! However this is half the battle.

Do you have any idea about the part of my opening post that asked how to change the background color of the other boxes on the left hand side of the user info page?

Especially Mini Statistics, Friends and Recent Visitors?
Reply With Quote
  #4  
Old 05-17-2014, 05:21 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try:

HTML Code:
#sidebar_container .userprof_content .blockrow {
background-color: pink;
}
You may need to add an "!important" to that one also.
Reply With Quote
  #5  
Old 05-20-2014, 09:56 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You may need to add an "!important" to that one also.
Awesome! It didn't actually require the !important to change the color. Doing great so far...

I can fix the icons no problem, but i've been unable to figure the last two bits of this color scheme.

The "header" background color is perfect right above the "Registered Member" section, but below it in the Mini Statistics, Friends, and Recent Visitors... there appears to be some kind of 1px solid horizontal border. How can i get rid of that, or at least change the color so that it blends in with the brown above it? Any idea where this code is hiding?

Lastly:

The Join Date, Last Activity, and Blog Entries are the wrong color, why didn't they change with the update to #sidebar container...
Attached Images
File Type: jpg DI_member_CSS_misc.jpg (35.2 KB, 0 views)
Reply With Quote
  #6  
Old 05-21-2014, 02:25 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this:

HTML Code:
#sidebar_container .blockrow {border-top: 0px;}

dl.stats dt,
#sidebar_container dl.stats,
#sidebar_container .userprof_content.blockbody,
#sidebar_container .userprof_content .time,
.userprof_content .time {color: red}
Change color accordingly.

.
Reply With Quote
Благодарность от:
Lynne
  #7  
Old 05-21-2014, 04:18 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
Try this:

HTML Code:
#sidebar_container .blockrow {border-top: 0px;}

dl.stats dt,
#sidebar_container dl.stats,
#sidebar_container .userprof_content.blockbody,
#sidebar_container .userprof_content .time,
.userprof_content .time {color: red}
Change color accordingly.

.
Seven Skins- Thanks for the reply! This code got rid of the border strip issue.

HTML Code:
#sidebar_container .blockrow {border-top: 0px;}
Which is perfect. Thank you for this snipet of code.

However the second part did not change the "Join Date / Last Activity / Blog Entries" text... but rather changed the text of the date displayed, last activity date information, and the number of blog entries (0). (see attached screenshot)
Attached Images
File Type: jpg mini_stats_wrong_color.jpg (24.9 KB, 0 views)
Reply With Quote
  #8  
Old 05-21-2014, 05:54 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try adding !important to it:

HTML Code:
dl.stats dt,
#sidebar_container dl.stats,
#sidebar_container .userprof_content.blockbody,
#sidebar_container .userprof_content .time,
.userprof_content .time {color: red !important;}
Reply With Quote
Благодарность от:
tbworld
  #9  
Old 05-21-2014, 07:58 PM
409industries 409industries is offline
 
Join Date: Jan 2008
Posts: 63
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was it. the !important part was needed to get all the text to change colors.

Thanks guys! On to the next challenge.
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 10:39 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.07421 seconds
  • Memory Usage 2,274KB
  • Queries Executed 14 (?)
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
  • (7)bbcode_html
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (3)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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_attachment
  • 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