New Landing How can we help? Atelier Post width without sidebar?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Posted in: Atelier
  • #184692
    NiO
    Member
    Post count: 233

    Hi Swiftideas,

    How wide should a post display if no sidebar is selected? I assumed that it would use the full width of the page as specified in theme options (so the default 1170 for instance). However it doesn’t. Am I overseeing a parameter somewhere?

    Normal pages to use the full width when disabling the sidebar …

    Thanks,
    johan

    #184869
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    This is by design. A full width post isn’t ideal design wise at 1200px.

    You can either override the classes with the filter we’ve provided:

    $content_wrap_class = apply_filters( 'sf_post_content_wrap_class_nosidebar', 'col-sm-8 col-sm-offset-2' );

    or this custom css:

    .content-wrap.col-sm-8.col-sm-offset-2 {
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
    }

    – Kyle

    #184877
    NiO
    Member
    Post count: 233

    Hy Kyle,

    Thanks for this. That gives me some flexibility ๐Ÿ™‚

    You are referring to filters. It’s the first time I hear about them. Where do I find them or docs about it?

    Thanks,
    Johan

    #184897
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    We don’t currently have a list of them in the documentation

    – Kyle

    #184901
    NiO
    Member
    Post count: 233

    Hah, then i’ll avoid to touch them or be very very careful ๐Ÿ™‚

    #184903
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok no problem

    #201415
    NiO
    Member
    Post count: 233

    Hi Kyle,

    Unfortunately this workaround doesn’t seem to work anymore. Has something changed in the theme that could have caused this?

    Many thanks,
    Johan

    #201434
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Which method did you use?

    – Kyle

    #201451
    NiO
    Member
    Post count: 233

    Hi Kyle,

    My apologies. It still works fine. I was looking at a post written in a previous theme, that I did not update yet … the posts I tested this with initially still works fine ๐Ÿ™‚

    By the way: which of the two methods is best for performance … or doesn’t it matter that much?

    Thanks,
    Johan

    #201465
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great ๐Ÿ™‚

    There is no difference on performance

    – Kyle

    #201473
    NiO
    Member
    Post count: 233

    Thanks Kyle!

    #201475
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register