[Resolved] Different Content Layouts Setup

Home Forums Support [Resolved] Different Content Layouts Setup

Home Forums Support Different Content Layouts Setup

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #105108
    Zoe

    I’d like to customize different content layouts for posts and pages.

    For example –

    – “Separate Containers” for pages
    – “One Container” for posts

    Is it possible to do like that?

    Thanks Tom.

    #105187
    Tom
    Lead Developer
    Lead Developer

    Hmm, might be tough..

    Set everything to one container, then add this CSS (assuming you’re using the right sidebar):

    .page.right-sidebar.one-container .site-main {
        margin: 20px 20px 20px 0;
        padding: 0;
    }
    
    .page.one-container .inside-right-sidebar {
        margin-bottom: 20px;
        margin-top: 20px;
    }
    
    .page-container .widget {
        margin-bottom: 20px;
    }

    That should do separate containers on pages, and then use the one container setting for everything else.

    #105323
    Zoe

    First try (this morning), it didn’t seem to work. I will try that CSS when I get home.

    Here’s what I want to achieve.

    I use “sections” addon for home page. That’s how I setup –

    Customize
    ———
    Content Layout = Separate Containers

    Sections Addon
    ————–
    Box Type = Contained
    Inner Box Type = Contained

    That way, the home page displays in boxed layout with background.

    I don’t want to display other regular pages and posts (with sidebars) in separate containers layout.

    #########################################

    I try the other way –

    Customize
    ———
    Content Layout = One Container

    Sections Addon
    ————–
    Box Type = Contained
    Inner Box Type = Contained

    Then, the regular pages and posts (with sidebars) displays in one container but the home page is in full-width layout – not in boxed layout with background anymore.

    #105342
    Tom
    Lead Developer
    Lead Developer

    Hmm, the sections should still be in the boxed layout regardless of the content layout setting.

    Do you have a link where you’re trying this so I can take a look?

    #105345
    Zoe

    Hi Tom

    This is how I setup –

    Content Layout = One Container
    Box Type = Contained
    Inner Box Type = Contained

    The sections from home page are not in boxed layout. They are in full-width layout and cover the background image.

    http://bestmyanmarmovie.com/thrive/home/

    #105371
    Tom
    Lead Developer
    Lead Developer
    #105387
    Zoe

    Hey Tom

    After adding CSS to child, it works!

    Thanks you so much.

    #105388
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.