WordPress.org

Ready to get started?Download WordPress

Forums

Genesis Simple Headers
Header Text-ColorPicker disappeared when Plugin activated (2 posts)

  1. Manuel Freund
    Member
    Posted 1 year ago #

    Hi and Thanks for that great plugin.

    I just ran into a minor issue when I activated it. The color picker to define the Header Text-color just disappeared. I realized that the "add_theme_support"-function in the main.php-file (line 456) caused this.
    The Array contains 'textcolor' => 'ffffff' while the default text-color is defined by 'default-text-color'. So when I changed the line to

    add_theme_support( 'custom-header', array( 'default-text-color' => 'ffffff', 'admin_header_callback' => 'gsh_admin_style' ) );

    everything worked fine again. I'd appreciate it if you could add this in a future update.

    Also when using eleven40 child theme I had trouble replacing the original image. I managed to fix this by adding
    'CSS_ADVANCED_HIDE' => '#title, #title:before, #title:after',
    to the eleven40-array.

    Another problem with eleven40 is that the header-height is set to 90px. I changed this by adding

    <?php if ($gsh_theme_name == 'eleven40 Child Theme') {
    echo 'min-height: ' . HEADER_IMAGE_HEIGHT . 'px;';
    } ?>

    to the gsh_advanced_style-function. I was wondering if you can think of a more elegant way to add this possibility to the plugin so it can gradually be predefined for other themes that work like this.

    http://wordpress.org/extend/plugins/genesis-simple-headers/

  2. fwchapman
    Member
    Posted 1 year ago #

    I'm having the same issue with the color picker disappearing after activating this plugin. Here's what I'm using:

    WordPress 3.5.1
    Genesis 1.9.2
    News 2.1
    Genesis Simple Headers 2.2

    Moreover, if I set the text color before activating the plugin and then activate the plugin, the color I chose does not appear in the header text. Deactivating the plugin restores the chosen color, though.

    Thank you,

    Fred Chapman

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.