vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Change button new thread (https://vborg.vbsupport.ru/showthread.php?t=295380)

tinoco2 02-22-2013 11:36 AM

Change button new thread
 
Hello, i would like change this:

https://vborg.vbsupport.ru/external/2013/02/9.png

I would like change this button for other, how can i do it ?

Regards, thanks.

kh99 02-22-2013 03:20 PM

That's not really a button, it's just a link. The text is in a phrase and it's made to look like a button using CSS. So you either need to provide different CSS, or else edit the template and change the code to use an image.

tinoco2 02-22-2013 04:54 PM

Quote:

Originally Posted by kh99 (Post 2405796)
That's not really a button, it's just a link. The text is in a phrase and it's made to look like a button using CSS. So you either need to provide different CSS, or else edit the template and change the code to use an image.

Thanks very much kh99 , where is the template?

John Lester 02-22-2013 05:20 PM

Quote:

Originally Posted by tinoco2 (Post 2405826)
Thanks very much kh99 , where is the template?

You can do this one of two ways actually. The first option is to adjust the "style vars" in your admin control panel. The second is to place the code below in your additional.css template. Either way the results are the same.

ACP -> Style & Templates -> Style Manager -> your style here -> Style Variable Editor -> Secondary Content

To change the TEXT COLOR you want to edit secondarycontent_color
To change the BACKGROUND COLOR you want to edit secondartycontent_background
To change the FONT you want to edit secondarycontent_font

To make the changes via the additional.css file

ACP -> Styles & Templates -> Style Manager -> your style here -> Edit Templates -> CSS Templates -> additional.css

Copy the following code into additional.css.

Code:

.newcontent_textcontrol {
    background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #992845 !important;
    border: 0 none;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 3px 8px #DDDDDD;
    clear: right;
    color: #FFFFFF !important;
    display: block;
    float: left;
    font: 14px Arial,sans-serif;
    padding: 4px 15px;
}

To change the BACKGROUND color you need to change the #992845 to the hex color of your choice.

To change the TEXT COLOR you need to change the #FFFFFF to the hex color of your choice.

To change the FONT (and FONT SIZE ) you need to change font: 14px Arial,sans-serif

tinoco2 02-22-2013 06:24 PM

THANKS VERY MUCH JOHN LESTER

tanzeelniazi 02-27-2013 11:19 AM

Quote:

Originally Posted by John Lester (Post 2405830)
You can do this one of two ways actually. The first option is to adjust the "style vars" in your admin control panel. The second is to place the code below in your additional.css template. Either way the results are the same.

ACP -> Style & Templates -> Style Manager -> your style here -> Style Variable Editor -> Secondary Content

To change the TEXT COLOR you want to edit secondarycontent_color
To change the BACKGROUND COLOR you want to edit secondartycontent_background
To change the FONT you want to edit secondarycontent_font

To make the changes via the additional.css file

ACP -> Styles & Templates -> Style Manager -> your style here -> Edit Templates -> CSS Templates -> additional.css

Copy the following code into additional.css.

Code:

.newcontent_textcontrol {
    background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #992845 !important;
    border: 0 none;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 3px 8px #DDDDDD;
    clear: right;
    color: #FFFFFF !important;
    display: block;
    float: left;
    font: 14px Arial,sans-serif;
    padding: 4px 15px;
}

To change the BACKGROUND color you need to change the #992845 to the hex color of your choice.

To change the TEXT COLOR you need to change the #FFFFFF to the hex color of your choice.

To change the FONT (and FONT SIZE ) you need to change font: 14px Arial,sans-serif

Great Info Thanks All


All times are GMT. The time now is 03:09 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.00947 seconds
  • Memory Usage 1,732KB
  • 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
  • (2)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete