Community Forums › Forums › Archived Forums › General Discussion › Copyblogger Theme Colors
Tagged: copyblogger theme colors
- This topic has 4 replies, 2 voices, and was last updated 10 years, 8 months ago by JetAviator7.
-
AuthorPosts
-
August 17, 2013 at 5:20 am #57024JetAviator7Member
I am using the Copyblogger child theme and I used to be able to change the theme's color in the Genesis "Theme Settings" page but now that option has disappeared - where do you change the Copyblogger theme colors now?
John
http://aviator-sunglasses.netAugust 17, 2013 at 3:46 pm #57082RobGMemberTry accessing the style.css file that's were most of the custom elements are.
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossAugust 19, 2013 at 3:08 pm #57424JetAviator7MemberAll at once my theme color in my Copyblogger child theme has been changed to Orange and I want to use Blue.
There used to be a drop down box in the Geneses "Theme Settings" which gave me the choice, but now it has disappeared.
I see that there is a style.php file which says there will be a drop-down box somewhere but I can't locate where that drop down box is.
Can anyone help me change the color on my Copyblogger child theme?
My website is: Aviator Sunglasses
John
August 19, 2013 at 5:08 pm #57442RobGMemberYou might have to acces your style.css file to make any changes to the themes colors. What are you wanteing to change?
To speed up the process please post the link to the website in question.
We recommend using Firebug to view source codes http://getfirebug.com/
RobGoss WordPress Developer
We build WordPress websites for your business or personal goals
http://www.robgoss.com / Follow me Twitter / https://twitter.com/robgossAugust 19, 2013 at 6:40 pm #57468JetAviator7MemberI want to use the Blue theme color and NOT the Orange theme color which is currently being displayed.
There used to be a drop-down box in Genesis "Theme Settings" which allowed you to choose the theme color but that box has disappeared now.
There is a style.php file which is as follows:
<?php
add_action( 'genesis_settings_sanitizer_init', 'copyblogger_sanitization' );
/**
* Add style switcher setting to Genesis sanitization
*
*/
function copyblogger_sanitization( $pagehook ) {
genesis_add_option_filter( 'no_html', GENESIS_SETTINGS_FIELD, 'style_selection' );
}add_action( 'genesis_theme_settings_metaboxes', 'copyblogger_settings_metaboxes' );
/**
* Add metaboxes to the Genesis settings page
*
*/
function copyblogger_settings_metaboxes( $pagehook ) {
add_meta_box( 'genesis-theme-settings-style', __( 'Copyblogger Color Scheme', 'copyblogger' ), 'copyblogger_theme_settings_style_box', $pagehook, 'main', 'high' );
}/**
* Outputs the HTML necessary to display the extra form elements on Theme Settings
*
*/
function copyblogger_theme_settings_style_box() {$color_schemes = apply_filters( 'copyblogger_colors', array(
'copyblogger-blue' => __( 'Copyblogger Blue', 'copyblogger' ),
'copyblogger-orange' => __( 'Copyblogger Orange', 'copyblogger' ),
) );?>
<p><label><?php _e( 'Color Scheme', 'copyblogger' ); ?>:
<select name="<?php echo GENESIS_SETTINGS_FIELD; ?>[style_selection]">
<option value=""><?php _e( 'Copyblogger Red', 'copyblogger' ); ?></option>
<?php foreach ( $color_schemes as $id => $label ) {
printf( '<option value="%s" %s>%s</option>', $id, selected( $id, genesis_get_option( 'style_selection' ), 0 ), $label );
} ?>
</select>
</label></p>
<p><span class="description"><?php _e( 'Please select the Copyblogger color scheme from the drop down list and save your settings.', 'copyblogger' ); ?></span></p><?php
}add_filter( 'body_class', 'copyblogger_style_body_class' );
/**
* Filters the body classes to add the proper style-specific class.
*
*/
function copyblogger_style_body_class( $classes ) {if ( $style = genesis_get_option( 'style_selection' ) ) {
$classes[] = esc_attr( sanitize_html_class( $style ) );
}return $classes;
}
This looks to me like it is supposed to put a drop down box in the Genesis "Theme Settings" but it is not there.
Any suggestions?
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.