Support » Plugins and Hacks » Header Text-ColorPicker disappeared when Plugin activated

Header Text-ColorPicker disappeared when Plugin activated

  • 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.


Viewing 1 replies (of 1 total)
  • 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

Viewing 1 replies (of 1 total)
  • The topic ‘Header Text-ColorPicker disappeared when Plugin activated’ is closed to new replies.