How to change column span tag on single post pages?

Asked on March 10, 2016 in Customization.

on the single post page  the following class is used:

<article class=”column span-8″>

I’m trying to identify the file that contains this code so that I can change it it to span-12?


bart-insight Developer
  • Possible Answers to Your Question:

  • 1 Answer(s)
    Answered on March 17, 2016.

    Hi there,

    You don’t need to do that, just turn off the sidebar on posts and it will go to span12 by itself.

    The span is set by the layers_center_column_class function, which can be filtered to set a different span. You otherwise need a child theme with a copy of the single.php to change the HTML to set the class manually.

    Can you direct me to where I would turn off the sidebar on posts? I don’t see an option for that on the post edit page. I do have a child theme setup, so worst case I can go that route.

    Thanks again.

    on March 17, 2016.