• I have removed the content from the right side (sidebar) but my main content will not extend beyond the left edge of the sidebar area. Please help me.

Viewing 4 replies - 1 through 4 (of 4 total)
  • 1. There may be a “general page setting” in the themes settings area
    *Maybe “Theme Options” or such

    2. If it’s only for one page, change the sidebar setting on the right side of page ( admin area )

    *It’s probably one of these settings.

    Thread Starter [email protected]

    (@drakesehotmailcom)

    Unlike other templates there is no “full page” option. I have removed the sidebar content but still cant extend my main text to full screen.

    You can add this to your custom CSS area or child-theme’s CSS file:

    /**
     * Remove sidebar
     */
    
    #sidebar {
        display: none;
    }
    
    /**
     * Adjust #main-content's property
     * to accommodate the lack of sidebar
     */
    
    #main-content {
        float: none; /* remove float because the sidebar is gone now */
        width: 85%; /* extends the width of the element */
        margin: 0 auto; /* centers the element */
    }

    Explanation as to which part of the code does what is already commented in there.

    However, I have one recommendation as a professional front-end developer: It’s not a good idea to have the text area extend too wide. To preserve readability, the text area should aim to be around 75 characters in length. Too many characters and it becomes difficult for the reader’s eye to move back across the text and locate the beginning of the next line.

    Extending the width of the main content area to fill the width of the sidebar will make it ridiculously annoying to read the blog posts or whatever text content inside it.

    Theme Author tishonator

    (@tishonator)

    Hi All,

    we’ve just released a new fMedicine theme version (ver. 1.0.9) which includes a Full Width Page template (Template Name: No Sidebars Page).

    Thanks,
    Tihomir
    Tishonator Team

    • This reply was modified 8 years, 1 month ago by tishonator.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove the sidebar area’ is closed to new replies.