New Landing How can we help? Cardinal Increase Column Span for Primary Blog Post Content

Viewing 8 posts - 1 through 8 (of 8 total)
  • Posted in: Cardinal
  • #159555
    ovollc
    Member
    Post count: 48

    I’d like to increase the width of the primary content area on a Blog Post in Cardinal.

    I’d like to increase this by 2 columns.

    It currently spans about 730px in width; which I think is about 8 columns (Bootstrap-wise). I’d like to take it to 10 columns, which I assume would leave a column padding on each side (assuming 12 columns total width).

    What’s the best method/place to modify this?

    Thank you kindly for your assistance!

    Attachments:
    You must be logged in to view attached files.
    #159583
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    You’ll need to edit the single-post.php found in swift-framework/layout

    – Kyle

    #159594
    ovollc
    Member
    Post count: 48

    Thanks, Kyle. Can you point me to line/what I should change? Or is it obvious?

    Kyle

    #159598
    ovollc
    Member
    Post count: 48

    Got the file open now. It’s not obvious to me, so if you could point me in the right direction I’d greatly appreciate it.

    Thank you!

    #159599
    ovollc
    Member
    Post count: 48

    And I found it.

    Here’s the code for anyone else looking:

    Change this:

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

    To this:

    
    $content_wrap_class = apply_filters( 'sf_post_content_wrap_class_nosidebar', 'col-sm-10 col-sm-offset-1' );
    }
    
    #159603
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that you managed to resolve the issue.
    Thanks
    Mohammad

    #173384
    ovollc
    Member
    Post count: 48

    Now that you have the Swift Framework plugin, what should I do about updates to the single-post.php file? Will the plugin over-write these?

    #173429
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Will reply in the new topic you created.

    -Rui

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

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

License required for one of the following items
Login and Registration Log in · Register