Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #773608

    I want to override wp-content/themes/enfold/css/dynamic-css.php in my child theme so I can remove the strong element from the color:$primary styling.
    However, because dynamic-css.php is added via require at the end of wp-content/themes/enfold/includes/admin/register-dynamic-styles.php, I am unsure of how to override it.
    Do I need to override register-dynamic-styles.php as well? Where/how should I hook into the framework using functions.php?

    #774423

    Hey hooksandlattice,

    If you only want to add a different style to the strong tag then I think you should be able to do so with CSS? If that is not what you are looking to do then please try to explain a bit further.

    Best regards,
    Rikard

    #777558

    I can (and currently am) overriding with css. Just wanted to know how this would be accomplished if overriding styles became unruly.
    The real issue is that we don’t like that the Primary Color setting affects both links and strong tags.

    #779035

    Hi,

    I’m sorry but you can’t override the dynamic stylesheet in the child theme. The actual generated css file will be uploaded in the wp-content > uploads > dynamic_avia folder. Please use the Quick CSS field or the child theme’s style.css file to override the default styling of the element.

    Best regards,
    Ismael

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