vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Change colour of forum categories (https://vborg.vbsupport.ru/showthread.php?t=317280)

ozzy47 02-12-2015 10:13 AM

Like this.

Code:

background: red;

HM666 02-12-2015 12:02 PM

Try this then since Chris found the info:)

Open your additional.css template and look for the code he posted:

Code:

.tcat {
    background: url("images/styles/Movara/style/tcatBG.gif") repeat-x scroll left top rgba(0, 0, 0, 0);
    border: 0 none;
    clear: both;
    color: #343b42;
    float: left;
    height: 47px;
    margin-top: 8px;
    width: 100%;
}

.tcatLeft {
    background: url("images/styles/Movara/style/tcatLeft.gif") no-repeat scroll left top rgba(0, 0, 0, 0);
    height: 47px;
}

And try changing it to this:

Code:

.tcat {
    background: #21262b;
    border: 0 none;
    clear: both;
    color: #343b42;
    float: left;
    height: 47px;
    margin-top: 8px;
    width: 100%;
}

.tcatLeft {
    background: #21262b;
    height: 47px;
}


markoroots 02-12-2015 12:23 PM

Thanks for your replies guys.
But I have tried to change the code like HM66 says but still nothing change.

--------------- Added [DATE]1423751801[/DATE] at [TIME]1423751801[/TIME] ---------------

Ozzy I have tried also in your way but nothing change. :(
I don't know why Vb don't make a good graphic interface to control all these settings by the acp.
It's really incredible...

ozzy47 02-12-2015 01:47 PM

They did, but the style developer choose to not use it properly. :)

HM666 02-12-2015 02:01 PM

Er yeah have to agree 100% why on earth they did it that way who knows. Honestly if you are not well versed in something like this and you just have to have it changed you might want to look into hiring someone to change it for you. Its almost impossible to diagnose it without actually being in your admin panel and looking right at it I'd bet.

Try replacing the earlier code with this code:

Code:

.tcat {
    background-color: #21262b;
    border: 0 none;
    clear: both;
    color: #343b42;
    float: left;
    height: 47px;
    margin-top: 8px;
    width: 100%;
}

.tcatLeft {
    background-color: #21262b;
    height: 47px;
}


John Lester 02-12-2015 05:28 PM

Try changing it to this:

Code:

.tcatRight {
    background:#21262b !important;
    height:47px;
}


ozzy47 02-12-2015 08:02 PM

Really should not need the !important as the css is already defined in the additional.css file, all we are doing is changing it. But it won't hurt.

HM666 02-12-2015 09:07 PM

Quote:

Originally Posted by ozzy47 (Post 2537208)
Really should not need the !important as the css is already defined in the additional.css file, all we are doing is changing it. But it won't hurt.

If the other css does not work though the OP may need that as it will force it to look at that css instead of some other rogue code elsewhere. Who knows where/what the original designer did exactly so using that edit might just help or it might not. Would not hurt to try if all else fails. :)

markoroots 03-13-2015 01:41 PM

Great! It works!
Many thanks guys. :)
Sure that for me is better to hire some one, because I'm going crazy...
but believe me in this period, I have really few money.. :( :)
Another little thing if it is possible is:
how to make the up corners of this element roundish?
Thanks in advance.

HM666 03-13-2015 02:51 PM

Just the top?

Code:

.tcatRight {
    background:#21262b !important;
    height:47px;
    border:1px solid #000000;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

You can change the border color to what color you want and the radius to a larger number if you find that 5px is not enough. I use 8px or sometimes 10px depending upon how I want the style to look.


All times are GMT. The time now is 06:45 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.01042 seconds
  • Memory Usage 1,739KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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