How to add class in header section tag?

Asked on December 6, 2016 in Customization.

Hi, I am trying to add class in header section something like this


<section <?php layers_header_class('my_class'); ?>>


and its  giving error, is that any other way?

I am thinking it should be work like this.


<section id="wrapper-content" <?php layers_wrapper_class( 'wrapper_content', 'wrapper-content' ); ?>>

inkcolor Layers User
Reply
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on January 17, 2017.

    Hi there,

    Filter layers_header_class().  If you’re doing that, please share your attempted filter so we can see what’s wrong.

    Reply