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)
-   -   Another stylevar question (https://vborg.vbsupport.ru/showthread.php?t=298346)

RichieBoy67 05-21-2013 12:42 PM

Another stylevar question
 
Hey all,

I'm really sorry for asking this but i figured it would save time asking here. I have tried using Firebug and I have tried adding css but I am missing something here.

If you go into the blog page I am talking about the "Create New Post" button. I want to change the font color. I believe the reason I am having issues with this is due to the customization feature.

Does anyone know how I can change this font color?

I really appreciate it,
Richie

Lynne 05-21-2013 02:22 PM

Did you try the stylevar control_content_color

RichieBoy67 05-21-2013 03:31 PM

Yes I did and that works fine for the post new thread buttons but it does not work under the blog button.

Thanks

peugeot405 05-21-2013 07:20 PM

go to edit templates
css templates
look for blog.css
then look for this part:

Code:

#pagetitle a.pagetitleinfo.textcontrol, .actionbutton_container a.pagetitleinfo.textcontrol {
        background: {vb:stylevar control_content_background};
        _background-image: none;
        -moz-border-radius: {vb:stylevar control_content_radius};
        -webkit-border-radius: {vb:stylevar control_content_radius};
        border-radius: {vb:stylevar control_content_radius};
        -moz-box-shadow: 0 3px 8px {vb:stylevar control_content_shadow_color};
        -webkit-box-shadow: 0 3px 8px {vb:stylevar control_content_shadow_color};
        box-shadow: 0 3px 8px {vb:stylevar control_content_shadow_color};
        font: {vb:stylevar control_content_font};
        color: {vb:stylevar control_content_color};
        padding: {vb:stylevar control_content_padding};
        border: {vb:stylevar control_content_border};
        display:inline-block;
}


RichieBoy67 05-21-2013 08:28 PM

Thanks, I know i have already made edits and have added css as well in that template but I could have been editing the wrong section. I will try this.

Thanks alot friend. Much appreciated.

Richie

I just checked this and this was the section I already tried. I changed the color to white instead of using the stylevar associated with it but there was no change.

This was what I edited

color: {vb:stylevar control_content_color};

John Lester 05-21-2013 11:11 PM

Did you add !important after the color code and before the ; ?

The code below works for me NOTE this changes more then the text color ;)

Come to think of it ... I think this changes another button elsewhere as well.

Code:

#pagetitle a.pagetitleinfo.textcontrol, .actionbutton_container a.pagetitleinfo.textcontrol {
    background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #397D02 !important;
    border: 0 none;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 3px 8px #DAA520 !important;
    color: #FFFFFF !important;
    display: inline-block;
    font: 14px Arial,sans-serif;
    padding: 4px 15px;


}


peugeot405 05-22-2013 11:11 AM

Quote:

Originally Posted by John Lester (Post 2423448)
Did you add !important after the color code and before the ; ?

The code below works for me NOTE this changes more then the text color ;)

Come to think of it ... I think this changes another button elsewhere as well.

Code:

#pagetitle a.pagetitleinfo.textcontrol, .actionbutton_container a.pagetitleinfo.textcontrol {
    background: url("images/buttons/newbtn_middle.png") repeat-x scroll left top #397D02 !important;
    border: 0 none;
    border-radius: 10px 10px 10px 10px;
    box-shadow: 0 3px 8px #DAA520 !important;
    color: #FFFFFF !important;
    display: inline-block;
    font: 14px Arial,sans-serif;
    padding: 4px 15px;


}


I did a test on my testsite and adding !important should do the trick.
not sure of this changes anything else on the forum

another possibilty is to change:

Code:

#sidebar_container a {
    color: #417D90;
}

but that also affects the sidebar


All times are GMT. The time now is 07:17 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.00988 seconds
  • Memory Usage 1,731KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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