Support » Theme: Libre » LIBRE 2: Full-width posts

  • Resolved sjcallas

    (@sjcallas)


    Posted this at the .com forum, was redirected here:

    I have downloaded Libre 2 for my self-hosted blog. I have created a child theme for it and want to make the Full Width, No Sidebar Page Template (templates/full-width-page.php) layout the default layout for my blog posts. My sidebar widget is empty but it still does not make it full width like the template page. Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you plan to leave the sidebar empty, and not have it display anywhere on the site at all, you can use some CSS to achieve your goal, without a child theme:

    .no-sidebar.singular .site-main {
        width: 100%;
    }

    That will only work while the sidebar is empty though – if you plan to use a sidebar somewhere else on the site, let me know. That’ll need some child theme edits 🙂

    Thanks Chad, that worked!

    You’re welcome!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘LIBRE 2: Full-width posts’ is closed to new replies.