WordPress.org

Ready to get started?Download WordPress

Forums

SmartAdapt
[resolved] Remove & occupy left navigation with increased post & comments size? (6 posts)

  1. Charlie Crocker
    Member
    Posted 1 year ago #

    Hi again,
    Really enjoying your theme. Very clean and robust.
    Men of the Sword
    Could you tell me if possible how I could remove the left navigation menu while increasing the posting and comments content to occupy the remaining space to the left? If so, will this cause mobile rendering problems?

    Thanks!

  2. netbiel
    Member
    Theme Author

    Posted 1 year ago #

    Hi

    Yes, it is possible: you should remove container class="four columns" (first child of #main container) in header.php file. After that you have to modify all files containing #content div. You should change class from twelve to sixteen columns (class="twelve columns" -> class="sixteen columns").

    I have not tested this in detail but it should work.

  3. Charlie Crocker
    Member
    Posted 1 year ago #

    Thanks!
    I removed the - [container class="four columns" (first child of #main container) in header.php file]. The postings and comments then occupied the space on the left where the navigation was. However, after editing the [(class="twelve columns" -> class="sixteen columns")] in the header php, the side bar on the right displaces beneath the postings and comments section at the bottom of page at sixteen columns, so I reverted it back to twelve. I then searched for all other instances of [(class="twelve columns" -> class="sixteen columns")] in all files and could not locate anymore.

    Please advise how to maximize the postings and comments sections to fully occupy the now empty columns to the right of the comments and posting sections without shifting the right sidebar to the bottom.

    Thanks again :)

  4. netbiel
    Member
    Theme Author

    Posted 1 year ago #

    You wrote that you changed class="twelve columns" in header.php but next step after remove navigation column is changing class of the container with id="content" in all files which contain it: index.php, page.php ... Something like that:

    <div role="main" class="sixteen columns" id="content">
    ...
    </div>

    It should work :)

  5. Charlie Crocker
    Member
    Posted 1 year ago #

    netbiel! I edited the sections you indicated and it performs as expected now. Thank you for your help - your blog is great!

  6. Charlie Crocker
    Member
    Posted 1 year ago #

    Oh, and marking this "Resolved"

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic