• ALthough it’s great that colors for text and background can be easily set in the backend, I’d love to be able to override that with CSS.

    I was assuming it could be done by modifying functions.php and get rid of the code that actually creates the settings for the backend.

    As I am working with a child theme, I copied the Fluxipress functions.php into my child theme folder to create a modified version in a clean way, but that gives me instant fundamental error messages when reloading the site (even without any modification).

    Am I missing something basic? (I am just a ‘cowboy coder’, not really a programmer)
    Is there another way to override the set colors?

    Thanks,
    Enno

    recodeLAB Shanghai

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter recodelab

    (@recodelab)

    *edit*

    Ok, I found out my basic mistake with the functions.php, i.e. that the child theme functions.php does not replace but supplement the parent theme function file.

    I also found some tutorials/documentation in the web, how to remove functions (remove_theme_support, etc., for example here: http://wp.tutsplus.com/tutorials/creative-coding/how-to-modify-the-parent-theme-behavior-within-the-child-theme/), but none of the examples showed there seem to work with the way it is set up in Fluxipress, as the customisation code for the theme looks very different (to me anyway) in the functions file.

    recodelab I’m in the exact same situation as you with Fluxipress but in my case I wanted to create a child theme that would remove the word “Home” from the header, which is controlled within the functions.php file under the CSS section.

    This is a great theme and the customization features are nice but I wish the CSS for the custom settings was not in the functions.php file because that makes it virtually impossible to make a child theme. The WP codex suggests that theme developers include this code in the parent functions.php file:

    if ( ! function_exists( 'theme_special_nav' ) ) {
        function theme_special_nav() {
            //  Do something.
        }
    }

    And it looks like Fluxipress does not have this. Hopefully the author will include it in a future update.

    For now it looks like the only workaround is to make your CSS changes in the parent functions.php and then save that as a separate file on your hard drive. If the parent theme is ever updated and you lose your settings you would need to open up your saved functions file in a text editor and copy and paste it into functions.php within the WordPress theme editor.

    I know that’s a pain. The fact that the theme author has not responded in these forums for several months may mean that he’s moved on to other things so perhaps we won’t have to worry about Fluxipress ever being updated and screwing up our changes.

    Or maybe someone else here in the forum can offer a fix to this issue we could not find. Best of luck!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Fluxipress: Override Theme Custom colors in css’ is closed to new replies.