Support » Theme: Unit » Create full-width posts

  • Resolved alvenae

    (@alvenae)


    Hi, is there a way to enable full-width for posts like it is for pages? I like the full-width option for my pages and my posts would need a full-width option too.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Unit!

    You can add this CSS to your site to make the posts full-width:

    .singular-post .main {
      padding: 0 8.334%;
    }

    Please copy & paste the code above into the “Additional CSS” section in the Customizer (Appearance > Customize), and it will take effect right away.

    Thank you very much, it worked as intended. Another nice thing to have would be an option during post edit where you can select the width as it is with the pages, but this should work as a workaround in the mean time. I really like the theme and it is working well so far for me.

    Theme Author Ben Sibley

    (@bensibley)

    Glad to hear that!

    You’re right, a full-width template for posts would be a great addition to the theme. WordPress actually didn’t have this option available for developers when Unit was first made, but they’ve since added it. I’ll include it in the roadmap for Unit/Founder 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Create full-width posts’ is closed to new replies.