Forum Replies Created

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • @cmsweb-online: Yes, you can turn on the option when you’re done. The modifications on the style.css file should be safe when updating.

    Thanks for this, I allready did the update and everything seems fine ;-)
    If not, I will inform you again.

    Best regards,
    Jeroen

    disable the caching under Enfold Child (settings) -> Performance -> “CSS file merging and compression”, and as you’re there you can also deactivate “Javascript file merging and compression”. THIS should be the developer mode by default i think.
    After this you will
    -> see all the original files loaded into the html source code
    -> be very very happy that you only need to reload your browser after changing something in your style.css in your enfold-child folder.

    Dear Virtualant,

    I highly appreciate you sharing your solution discovered as theme user ;)
    Before I got this reply, the coincidence were that I exactly find the same solution early evening (as posted on

    And yes! It works and me is very much happy haahha ^^
    It did took a full week but hey, now we can get busy on the nicer stuff named “styling” !

    Only 1 drawback with those options off – it has a dramatic effect on the site’s loadtime.
    Question 1 can I savely put those options on (once I’m done styling) ?
    Question 2 to be sure, is it completely ‘safe’ updating v4.4 > v4.4.1 (does it keep existing internally- and extern (child style.css) styles etc. or do you have a recommendation how to act in these?)

    Once again, thanks for sharing and the input!
    Also @ CreativeFedora merci for the input,

    Regards,
    Jeroen

    • This reply was modified 6 years, 6 months ago by cmsweb-online.

    Hi Rikard,

    Can you please read

    Victoria from support wrote;

    If you do not use the css merging the styles from the file style.css from your child theme should apply as they are, no need for saving them like theme options. The css that goes to the dynamic avia is the styles you put in the Quick css box and other settings in the theme options.

    If this is true, can you please investigate my functions.php and style.css? *
    In the sourcecode

    I see my css is not loaded at all ……..Please confirm.
    Maybe there’s some code missing (or incorrect).>

    Thanks a lot for helping me out, I appreciate the effort.

    Regards, Jeroen

    • This reply was modified 6 years, 6 months ago by cmsweb-online.
    in reply to: enfold_child.css in wp-content/uploads? #966247

    Hi Victoria,
    That’s exactly what i’m looking for! But if you look at the sourcecode at http://www.real2drive.nl you see my child’s style.css isn’t loading at all.
    Please help me out because i’m running out of time….
    I highly appreciate the effort, I paste my style.css and functions.php under this line. Thanks for your input!

    style.css

    /*
    Theme Name: Enfold Child
    Theme URI: https://cmsweb.online
    Description: Child theme customized for real2drive
    Author: cmsweb.online
    Author URI: https://author.cmsweb.online
    Template: enfold
    Version: 1.0
    Text Domain: enfold
    */

    h1 {
    color: white;
    }

    #footer {
    padding: 15px 0 30px 0;
    z-index: 1;
    background: #0095DB;
    }

    #socket {
    font-size: 11px;
    margin-top: -1px;
    z-index: 1;
    background-color: #0095db;
    }

    #producten {
    background-repeat: no-repeat;
    background-image: url(//www.real2drive.nl/wp-content/uploads/20180514_140450.jpg);
    background-attachment: fixed;
    background-position: top right;
    }

    functions.php

    <?php

    /** 1. Load the parent enfold\style.css file */
    /** 2. Note: a custom.css file is located in enfold\css\ */
    /** 3. Is this both setup correctly in functions.php ? */

    function total_child_enqueue_parent_theme_style() {

    // Dynamically get version number of the parent stylesheet (lets browsers re-cache your stylesheet when you update your theme)
    $theme = wp_get_theme( ‘enfold’ );
    $version = $theme->get( ‘Version’ );

    // Load the stylesheet
    wp_enqueue_style( ‘enfold-style’, get_template_directory_uri().’/style.css’, array(), $version );

    }
    add_action( ‘wp_enqueue_scripts’, ‘enfold_child_enqueue_parent_theme_style’ );

    Still waiting on a straightforward answer……………

    in reply to: enfold_child.css in wp-content/uploads? #963190

    Hi Victoria,

    Thank you for your quick reply.
    I appreciate the answer, aldo it was not exactly what I’ve meant.
    Therefore I started a new topic a few days ago, maybe you can read the exact ‘problem’ and solution I (and many users) would really be gratefull for.
    Here is my topic.

    Thanks a lot!
    Jeroen

    in reply to: enfold_child.css in wp-content/uploads? #962481

    we are struggling with using enfold in our development cycle.
    usually we a have a dev server and a staging server which sync via rsync for all files related stuff and via https://wordpress.org/plugins/wp-migrate-db/ for everything db. this usually works with well written themes.
    with enfold (which is superbly written, don’t get me wrong!) we learned, that some kind of css stub is put into wp-content/uploads/enfold_child.css (we are using the child theme). we started rsyncing this file as well, but it seems to appear/disappear in mysterious ways so that the target website isn’t finding it.
    can someone from the support team explain what happens and maybe has an idea how to mitigate this?

    Hi,

    It took me days to find this out (as descriped), but I need to count on my own style.css located in the enfold-child directory.(so without saving the ‘general styling’ in the backend) over and over again after a small adjustment in the css.

    Is there an url which regenerates the CSS so that we can call this after our rollout to staging? right now, we need to manually change “something” which is not very practical.

    I agree, this is far from practical in the proces of custom styling a site.

    Is there a way to make the style.css from the child theme, the “leading one” (what it always is in other themes) ?
    The theme itself is amazing and outstanding (my compliments!).

    But child themes are being used to override all other css styles (if the style is set in the child’s css file) as being last loaded file.
    And it can’t be overwriten by for example, theme updates.

    My technical English is not bulletproof but I hope you can understand the importance of the (creative styling) proces.
    It doesn’t help. So I would be gratefull if you provide a solution for this urgent matter.

    I apreciate the effort, my regards,
    Jeroen

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