Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #425660

    How do I center tables on a page, especially price boxes. For example, suppose I have 3 price boxes. If I simply create them with Avia, the 3 boxes will stretch across entire screen. I would like to keep the set narrower and centered on page. I have tried using column layouts — for example 1/5,3/5,1/5 and building the table in the 3/5 section but I cannot get the sections in the correct order

    #425855

    Hi compudean!

    Did you add the table inside a 1/1 layout element? If not then please try that. If you did then please provide us with a temporary admin login so that we can take a closer look. You can post the details here as a private reply.

    Regards,
    Rikard

    #426145
    This reply has been marked as private.
    #426782

    Hi!

    You can set a custom class to the table element and use some CSS to set a max-width and center it:

    .custom_centered_table{
        max-width: 400px;
        margin: 0 auto;
    }

    Regards,
    Josue

    #430482

    Its not quite working out. The total width narrows but the set of tables are flush left. I tried some other stuff but could not get it to work.

    #430623

    Hey!

    Use this code:

    .ssl-custom_centered_table{
    max-width: 400px;
    margin: 0 auto !important;
    }

    Best regards,
    Josue

    #434495

    That worked. thanks! (i thought I replied a while ago)

    #434512

    You are welcome, always glad to help :)

    Regards,
    Josue

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.