Tagged: , , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #11766

    Hi, I’ve included a plugin called Offer Calc with my site, and this plugin is set to inherit the CSS from each theme it’s used with.

    Could you help me with a CSS code that would address the table (column) widths in this page?: http://pastabakeriet.no/beta/overtidcatering/

    Regards, Thor


    Hi Thor,

    Your best course for this would be to target the class:

    .overcalc_wrapper { }

    Then add the styling for the various elements however you’d like. On a basic level, just forcing the tables to take up the full width of the page won’t get them very styled. You can test this out with:

    .offercalc_wrapper table {
    width: 100%;

    You’ll still need to move the total around with something like:

    div.offercalc_wrapper div.total_offercalc_sum {
    text-align: right;

    Then mess with the table content alignment. Here is a good quick and easy resource to help with styling: http://www.w3schools.com/css/css_table.asp

    Hope that helps :)



Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘CSS for table styles’ is closed to new replies.