Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • in reply to: Sidebar width is a major problem #221315
    cbswiftideas
    Member
    Post count: 4

    I see. As others have said, it’s really unfortunate that there’s no solution for this.

    in reply to: Sidebar width is a major problem #220600
    cbswiftideas
    Member
    Post count: 4

    I guess I was a little early with that post.

    When I change span8->span10 and span4->span2, pages produced with “Classic Editor” format correctly, but not pages produced with Swift Page Builder.

    The page body content is the original width (span8) and left-justified. The right sidebar content is the correct width (span2) and right-justified.

    This issue occurs for pages created before the change, and after the change.

    I’m guessing SPB needs to be re-calibrated somehow.

    in reply to: Sidebar width is a major problem #220599
    cbswiftideas
    Member
    Post count: 4

    For anyone else who comes across this and doesn’t understand how to “adjust span4 and span8 in the page.php file”…

    spanX determines how many of the columns in the 12-column grid the relevant item will span.

    The page title spans all 12 columns, so in that section you will see “span12”.

    If you want to make your body a little wider, look for

    <div class="inner-page-wrap <?php echo $page_wrap_class; ?> clearfix">

    and replace the next “span8” with “span9”.

    If you want to make your sidebar a little narrower, look for

    <?php if ($sidebar_config == "left-sidebar") { ?>

    and replace the next TWO “span4″s with “span3” (changes both right and left sidebar to span3)

    You are just search/replacing the text, there’s nothing fancy going on here. Don’t expect to necessarily understand exactly what’s going on in the code.

    Side note: If you enable sidebars on both sides, the default layout is

    Left: span3
    Body: span6
    Right: span3

    So if you are using two sidebars, consider whether you might change this as well.

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