Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #839975

    Hey guys,
    the only time my custom style works is if I put it in the Quick CSS field of your theme.
    the Child theme itself won’t respond. Any thoughts?

    • This topic was modified 7 years, 3 months ago by Justin.
    #840166

    Hey Justin,
    Are you using Child/style.css
    Do you have any caching plugins?
    Have you tested with all plugins disabled?

    Best regards,
    Mike

    #840172

    No caching. Not using any plugins.
    Very in-progress work.

    As in am I defining @import url(“../Enfold/style.css”); in the child theme or..?

    I uploaded the Child Theme through your admin and activated it and imported PARENT settings.

    #840252

    Hi,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Best regards,
    John Torvik

    #840265

    See below, Let me know what you find, thanks!

    #840908

    Hi Justin,

    Could you point to the element that you are trying to apply the styles? Or the one that you need help with? I see the scroll down link styles there, but where is it?

    Best regards,
    Victoria

    #840942

    Vic, I am working within the QUICK CSS section of your theme.
    the site was responding to some styling, but not to most. So needless to say I placed all the CSS in the QUICK CSS section and I have been working there to keep the process rolling given to the delay and slow responses from support. I understand your theme is very popular now, and you guys have a ton of support tickets open – so I completely understand.

    #841077

    Any update here? Thanks!

    #841685

    Hi,
    Are you using @import url(“../Enfold/style.css”);
    this can cause issues, as pointed out here: Child Themes: Enqueuing the parent theme stylesheet instead of using @import
    Please try enqueuing in your functions.php file

    function load_parent_stylesheet() {
      wp_enqueue_style( 'parent-styles', get_template_directory_uri() . '/style.css' );
    }
    add_action( 'wp_enqueue_scripts', 'load_parent_stylesheet' );

    Here’s some more info about enqueuing from WordPress Codex

    Best regards,
    Mike

    #842091

    Thanks Mike that seemed to work, thanks!
    I was not using @import.
    I was only doing what I have always done in the past with Enfold, which is to install the child theme and import the parent theme through the Enfold admin settings. Not sire why it didn’t work this time. I have done it countless times in the past.

    #843513

    Hi,

    Glad that Mike helped you. Thanks for using Enfold :)

    Best regards,
    Nikko

    #866479

    So I have the following code in my functions file…

    function load_parent_stylesheet() {
    wp_enqueue_style( ‘parent-styles’, get_template_directory_uri() . ‘/style.css’ );
    }
    add_action( ‘wp_enqueue_scripts’, ‘load_parent_stylesheet’ );

    Yet the only time I see the website reflect on the front end is when I add it to your CSS section under the GENERAL STYLING Tab.
    Can you tell me what’s wrong with the above code? Thanks

    #866557

    Hi Justin,

    Can you try to replace this part of your code:

    wp_enqueue_style( ‘parent-styles’, get_template_directory_uri() . ‘/style.css’ );

    to this one:

    wp_enqueue_script( 'parent-styles', get_template_directory_uri() . '/style.css', array(), '1.0.0', 'all' );

    If you make an update to the css, just change 1.0.0 to 1.0.1, this will help fetch the new css instead of the cached version stored in the browser. Hope this helps.

    Best regards,
    Nikko

    #866565

    Didn’t seem to work

    #866566

    In fact. … whatever that was scrunched my whole suite up LOL…it’s a mess. Removed all the code from the functions file.

    #866575

    Hi,

    Try to use the child theme from this post: https://kriesi.at/documentation/enfold/using-a-child-theme/ then just add your other modifications there. Hope this would help.

    Best regards,
    Nikko

    #866580

    That worked. Thanks!

    #866591

    Hi Justin,

    Glad we could help. Thanks for using Enfold :)

    Best regards,
    Nikko

    #866904

    Not fixed. Faces with the same issue. Clearec cache and all that stuff. No changes reflecting on front end.

    #867066

    Hi,
    Sorry to hear you are still having this issue, I tried to login but it seems to not be working right now, can you please update the login info.
    To recap, you would like all of your css in the Quick CSS to work from the child theme css instead?

    Best regards,
    Mike

    #867796

    Hey Mike!
    Yes. However it seems to be working and responding today?

    #868288

    Hi,

    Glad that it worked, probably it’s cached. I tried to test it using the login details you gave but I got this:

    Your IP has been flagged for potential security violations.

    Best regards,
    Nikko

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.