Support » Plugin: Kirki Customizer Framework » Can I add some class to css element?

  • Resolved Rozum.no

    (@rozumno)


    Hello!
    Can I somehow output not property of the css element, but add class to css element?

Viewing 1 replies (of 1 total)
  • Plugin Author Ari Stathopoulos

    (@aristath)

    You can, but you’ll have to edit your template files.

    Example:

    <div class="<?php echo esc_attr( get_theme_mod( 'my_setting', 'default_value' ) ); ?>"</div>

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.