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-29-2014, 12:37 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Changing date text colour above posts

I've had a look all through the stylevars for this and can't find it anywhere!

I'm trying to change the text colour of the date & time above each post;



In Stylevars, I changed the 'postbithead_color' which I thought would be it, but it only changed the time text colour in the bar when viewing Private Messages...

Anyone know any reason why the date/time text colour above posts might remain black?

Thanks for any help.


EDIT - For anyone reading this for help, to change this text colour I found I had to change the stylevar 'thead_font_color'.
Reply With Quote
  #2  
Old 07-29-2014, 03:57 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like you may have a custom style, so we would need to actually get a link to see what CSS is affecting it.
Reply With Quote
  #3  
Old 07-29-2014, 05:10 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
It looks like you may have a custom style, so we would need to actually get a link to see what CSS is affecting it.
Thanks for the help again!

Here's the site link; www.fifa247.net/forum.php

We are using the custom style 'orange theme'.
Reply With Quote
  #4  
Old 07-29-2014, 08:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Either you don't allow users to switch styles, or you don't allow users to view the orange theme as I am unable to switch to it.
Reply With Quote
  #5  
Old 07-29-2014, 09:26 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Either you don't allow users to switch styles, or you don't allow users to view the orange theme as I am unable to switch to it.
Sorry, I should have explained it better. The default theme that's on there is the orange theme, but re-skinned to a blue. The screenshot I used was an older image which made things a bit misleading and confusing!

Thanks again for checking for us.
Reply With Quote
  #6  
Old 07-29-2014, 09:54 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add this to your additional.css on the theme you want to change that color:

PHP Code:
#posts .posthead .time, #posts .nodecontrols {
color#000;
}

.
postbitlegacy .posthead {
color#000;

And put the color you want where it says #000
Reply With Quote
Благодарность от:
donkspurs
  #7  
Old 07-30-2014, 12:16 AM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rafa-el View Post
Add this to your additional.css on the theme you want to change that color:

PHP Code:
#posts .posthead .time, #posts .nodecontrols {
color#000;
}

.
postbitlegacy .posthead {
color#000;

And put the color you want where it says #000
Thanks for the help. I've just tried that, changing the colours to #ffcc00 so it would stand out if it did work, and unfortunately it hasn't made any difference to the text colour. (still black)
Reply With Quote
  #8  
Old 07-30-2014, 01:02 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have two different additional.css files called in your source code. The one called 'last' will override the one called 'first'. Are you adding the code to the right ('last') additional.css template?
Reply With Quote
  #9  
Old 07-30-2014, 12:35 PM
donkspurs donkspurs is offline
 
Join Date: Aug 2012
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You have two different additional.css files called in your source code. The one called 'last' will override the one called 'first'. Are you adding the code to the right ('last') additional.css template?
I can only see the one additional.css template. It's the same one I've used in the past for other modifications which have worked fine;



Definitely something overriding this specific code though, as you say. Just no idea what exactly.
Reply With Quote
  #10  
Old 07-30-2014, 03:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here are the two links in the source code:
HTML Code:
<link rel="stylesheet" type="text/css" href="css.php?styleid=5&amp;langid=1&amp;d=1406600035&amp;td=ltr&amp;sheet=additional.css" />

<link rel="stylesheet" type="text/css" href="css.php?styleid=5&amp;langid=1&amp;d=1406600035&amp;sheet=additional.css" />
</head>
You had to have modified your template, or used a plugin, to add one of those. I'd suggest removing it and then trying to add your CSS.
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 09:47 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.04831 seconds
  • Memory Usage 2,264KB
  • 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
  • (1)bbcode_html
  • (2)bbcode_php
  • (4)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_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