Child Theme not working

This support request was posted in Flatbase by Plytix

Request ID #30423 Resolved
  • After having a lot of trouble with the child theme not applying the styling correct, I tried to make my own according to your instructions, but it’s still not working for me. Can you send me a child theme that works, I can’t find any child theme downloads anywhere in my account.

    Juanfra Aldasoro

    Hi,

    Thank you for writing.

    Are you using the one included in your ThemeForest package? Is there any chance you can send me the child theme you are using via dropbox or similar?

    You should be able to download the child theme from your account dashboard now, we have updated that.

    Thank you,
    Juan.

    Could you please access the credentials we gave you to upload whatever needs to be uploaded?

    Yes., we installed the themes from our themeforest download, just bought last week. After, we installed the child theme you provided us here.

    We don’t use Dropbox. If you give us an email I could send it over.

    Juanfra Aldasoro

    Thank you for the follow up.

    You can send them to support@nicethemes.com

    Thanks again,
    Juan.

    Juanfra Aldasoro

    Hi,

    I’ve been through your site and I could see that the child theme is installed correctly.

    Would you please tell me what are the things that you are seeing that are not displayed correctly?

    Thank you,
    Juan.

    Hi, all the theme settings we modify are just ignored.

    Regardless we do it through themes->[active theme] -> customize or NiceThemes->theme options, all the changes (e.g. we changed the header color to orange) won’t take any effect in the site.

    Cheers

    Juanfra Aldasoro

    Hi,

    Thank you for the follow up and sorry for the inconvenience this may have caused you.

    There’s an error with the order in which the inline styles are loaded for child themes (they’re loaded before the stylesheet and that’s why you are not seeing any of the changes you made on the Options panel).

    I’ve tried to edit the file I needed to in your site’s dashboard and I couldn’t. Would you please change the line #20 from the file /flatbase/includes/theming/style.php

    From

    add_action( 'wp_enqueue_scripts', 'nice_custom_styling', 8 );
    

    to

    add_action( 'wp_enqueue_scripts', 'nice_custom_styling', 100 );
    

    We’ll have a deeper view on this issue and will include the fix for the upcoming version.

    Thank you again and thanks for your patience.

    Best,
    Juan.

    Juanfra Aldasoro

    Or actually you can also go in your child theme and change the priority in which the styles are enqueued.

    In your child theme functions.php file go to line #19 and change

    add_action( 'wp_enqueue_scripts', 'nice_child_theme_enqueue_styles' );
    

    For

    add_action( 'wp_enqueue_scripts', 'nice_child_theme_enqueue_styles', 1 );
    

    Best,
    Juan.

    That solved the issue.

    Thanks

    Juanfra Aldasoro

    Thank you for the heads up.

    Please let us know if you need any further assistance.

    Best,
    Juan.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic is marked as resolved

Only the topic author can re-open this thread.

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server