WordPress.org

Ready to get started?Download WordPress

Forums

Pricing Table
Conform Table to Columns (2 posts)

  1. sneumann89
    Member
    Posted 1 year ago #

    Hello,

    Is there a way to conform the table size to the number of columns, in order to center the table on the page? For example, when I use 4 columns the table fills the page and looks great, but when I use only 3 the table still spans the page but pushes the columns to the left, and thus there's no way to center them.

    You can see an example here (2nd table is the one with the issue):

    http://69.195.124.93/~avivafit/wordpressbuild/training-menu/

    Any help would be much appreciated. Thank you!

    http://wordpress.org/extend/plugins/pricing-table/

  2. mbrsolution
    Member
    Posted 1 year ago #

    Hi you can change the following css settings. Take a close look at 892px, that is what you want to change.

    #pricing-table {
        margin: 15px auto 50px;
        text-align: center;
        width: 892px;
    }

    However if you are going to add another table in the same post/ page or website and it contains more than 3 columns the above changes will probably affect the outcome. So you might have to create a special css class. So that you can have more than 2 tables with different number of columns without affecting each other.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic