WordPress.org

Forums

Montezuma
How to increase the width of this table space ? (3 posts)

  1. arokialist
    Member
    Posted 2 years ago #

    How to increase the width of this table space ? , i tried by changing the various columns but i am unable to get the output.
    So please help in this issue.
    i want this table to be elaborated and and 100% free right.
    reference link : http://sparsen.net/list-of-life-insurance-companies-in-india/
    Thank you Sir.

  2. CrouchingBruin
    Member
    Posted 2 years ago #

    I'm not sure what you mean when you say that you "want this table to be elaborated and and 100% free right." Do you mean that you want to hide the sidebar on the right for just this post so the table goes across the entire page? You can do that by adding some CSS at the beginning of the post (make sure you are in the Text editor and not the Visual editor when you make this change).

    <style>
    /* Hide the sidebar */
    #wigetarea-one {
       display: none;
    }
    /* Extend the width of the content area */
    #content {
       width: 100%;
    }
    </style>

    If you are referring to the width of the columns inside the table, you should post your question to the TablePress support forum.

  3. CrouchingBruin
    Member
    Posted 2 years ago #

    Oh, I almost forgot a better way to create posts or pages with no sidebar for just one post/page: Custom page templates. It's one of the strengths of the Montezuma Theme, the ability to create multiple virtual templates. Go to Appearances > Montezuma Options > Main Templates and read the documentation on how Custom Page Templates work. Then create a new Main Template by copying single.php into a new Custom template called no_sidebar.php, for example. Edit the no_sidebar.php file to remove the sidebar code and change the class of content from col8 to col12.

    Then for any post where you don't want a sidebar, select no_sidebar as the Virtual Template from the drop-down in the lower right of your post editor.

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic