Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1355967

    We have updated our website to the latest enfold 5 theme. Since then, it seems that the custom.css is not being used, we can only see the dynamic_avia/enfold_child css. We have disable all caching plugins (also in the theme itself), but it still does not load the custom.css.

    #1355980

    Hey kariem112,

    Did you activate the option to delete the old CSS and JS files under Enfold->Performance? If that doesn’t help, then please include admin WordPress login details in private, and let us know which CSS is not applying.

    Best regards,
    Rikard

    #1355982
    This reply has been marked as private.
    #1356023

    Hi,

    Thanks for that. If you want to use a separate style sheet file in your child theme, then please try to enqueue it first in functions.php:

    function enqueue_custom_css () {
        wp_enqueue_style( 'custom-styles', get_stylesheet_directory_uri() . '/custom.css', array(), '1.0', 'all' );
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_custom_css' ); 

    Otherwise you could simply use style.css.

    Best regards,
    Rikard

    #1356026
    This reply has been marked as private.
    #1356057

    Hi,

    There is padding applied to that element, is that what you are trying to get rid of? If you have a screenshot highlighting your intentions, then please share that with us.

    Best regards,
    Rikard

    #1356059
    This reply has been marked as private.
    #1356104

    Hi,

    You have this CSS coming from your child theme:

    @media (min-width: 1600px) {
    .service-boxes .iconbox_content {
        min-height: 490px !important;
    }
    }

    I can’t find the actual CSS in the child though, so maybe it’s coming from cache?

    Edit; it’s added in Quick CSS in the English language, I checked Dutch only at first.

    Best regards,
    Rikard

    • This reply was modified 3 years, 8 months ago by Rikard.
    #1356106
    This reply has been marked as private.
    #1356118

    Hi,

    Did you read my edit above?

    Edit; it’s added in Quick CSS in the English language, I checked Dutch only at first.

    Best regards,
    Rikard

    #1356120
    This reply has been marked as private.
    #1356129

    Hi,

    Great, I’m glad that we could help. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

    #1356148

    You can close it, thanks again!

    #1356166

    Hi,

    Thanks for letting us know, I’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Enfold keeps using dynamic avia instead of custom.css’ is closed to new replies.