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 03-07-2015, 01:27 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How to style per theme the default customize theme

I've tried this:

Code:
/* --- General --- */

#colorbox_page_background {
background-color: rgba(252, 231, 231, 0.68) !important;
}

#colorbox_page_link_color {
background-color: rgb(192, 26, 26);
}

#colorbox_title_text_color {
background-color: rgb(98, 97, 97);
}

/* --- General --- */

/* --- Buttons --- */ 

#colorbox_button_background {
background-color: #BF3E25;
}

#colorbox_button_border {
background-color: #a8a8a8;
}

/* --- Buttons --- */ 



/* --- Modules --- */
#colorbox_module_background {
background-color: #831B1B;
}

#colorbox_module_border {
background-color: #831B1B;
} 
/* --- Modules --- */ 



/* --- Inactive Modules --- */ 

#colorbox_moduleinactive_text_color {
background-color: white;
}

#colorbox_moduleinactive_link_color {
background-color: #C01A1A;
}

#colorbox_moduleinactive_background {
background-color: #831B1B;
}


/* --- Inactive Modules --- */ 



/* --- Content --- */ 
#colorbox_content_link_color {
background-color: #C01A1A;
}

/* --- Content --- */ 


/* --- Headers --- */ 

#colorbox_headers_link_color {
background-color: #C01A1A;
}
/* --- Headers --- */
But when I hit the default button it doesn't work. I'm talking about the styling options that each user can have for their own profile.


What I want is to choose the default colors for all users PER theme.

Is that possible?
Reply With Quote
  #2  
Old 03-08-2015, 12:53 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure what you're asking, but I'm not really in to styles so maybe someone else will understand. But I don't know where you're putting that CSS or which default button you're talking about.
Reply With Quote
  #3  
Old 03-08-2015, 01:14 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
I'm not sure what you're asking, but I'm not really in to styles so maybe someone else will understand. But I don't know where you're putting that CSS or which default button you're talking about.
The option to style your own profile? That you can choose your own colors.

In that panel of choices you have certain type of buttons at the top left.
Reply With Quote
  #4  
Old 03-08-2015, 01:59 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, I'm with you now, but it looks like you'd need code to do that. If you use the "Save As Site Default" button (which only appears if you're a super admin) you can save one profile as the default, but it doesn't look like there's any provision for saving one per style.

You should probably search for existing mods, if you haven't already.
Reply With Quote
  #5  
Old 03-08-2015, 05:14 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
OK, I'm with you now, but it looks like you'd need code to do that. If you use the "Save As Site Default" button (which only appears if you're a super admin) you can save one profile as the default, but it doesn't look like there's any provision for saving one per style.

You should probably search for existing mods, if you haven't already.
I don't think there is one.
Reply With Quote
  #6  
Old 03-08-2015, 05:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, if you don't save a site default then it uses style variables for a default, which *are* per style of course, but it looks like they're variables that are used in other places.
Reply With Quote
  #7  
Old 03-08-2015, 05:31 PM
MistViper MistViper is offline
 
Join Date: Jan 2015
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kh99 View Post
which *are* per style of course, but it looks like they're variables that are used in other places..
well those variables I want to choose through css. As shown in the code example in the OP.
Reply With Quote
  #8  
Old 03-08-2015, 05:40 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MistViper View Post
well those variables I want to choose through css. As shown in the code example in the OP.
OK, but that won't work because you'd have to change the variables in php.
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 08:45 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.03890 seconds
  • Memory Usage 2,227KB
  • 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_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete