vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Changing date text colour above posts (https://vborg.vbsupport.ru/showthread.php?t=313322)

donkspurs 07-29-2014 11:37 AM

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;

https://vborg.vbsupport.ru/external/2014/07/9.png

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'.

Lynne 07-29-2014 02:57 PM

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.

donkspurs 07-29-2014 04:10 PM

Quote:

Originally Posted by Lynne (Post 2508869)
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'.

Lynne 07-29-2014 07:39 PM

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.

donkspurs 07-29-2014 08:26 PM

Quote:

Originally Posted by Lynne (Post 2508924)
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.

Rafa-el 07-29-2014 08:54 PM

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

donkspurs 07-29-2014 11:16 PM

Quote:

Originally Posted by Rafa-el (Post 2508938)
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) :(

Lynne 07-30-2014 12:02 AM

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?

donkspurs 07-30-2014 11:35 AM

Quote:

Originally Posted by Lynne (Post 2508953)
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;

https://vborg.vbsupport.ru/external/2014/07/3.png

Definitely something overriding this specific code though, as you say. Just no idea what exactly. :(

Lynne 07-30-2014 02:13 PM

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.


All times are GMT. The time now is 05:04 AM.

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.01697 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_html_printable
  • (2)bbcode_php_printable
  • (4)bbcode_quote_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