• Hi Derek,

    I have a custom css field, and have this style rule:

    header {
       opacity: {{header_opacity|0.9}};
    }

    When header_opacity is unset (installed theme the first time) its not getting the default value, and throws a css error:

    header {
       opacity: ;
    }

    Please a solution for this.

    Thanks in advance. Best Regards.

    https://wordpress.org/plugins/option-tree/

  • The topic ‘default values in dynamic.css (theme mode) not working’ is closed to new replies.