Support » Themes and Templates » Table Spacing and Padding not working…

  • I am having trouble with TABLE PADDING and SPACING. For some reason, the table padding and spacing aren’t registering…
    (see the product images, and the descriptions – that’s the table)

    I checked the style sheet, and there doesn’t seem to be any padding set for tables. Can someone help and tell me how to fix this?

    I also searched this forum, but can’t find an answer.
    I’ve tried adding something in my stylesheet to change the cell styles…
    td { padding: 4px 0px 4px 10px; }
    but that didn’t work.

    I also tried to not use cellpadding=”10″ and use style=”padding:10px;” for the table, but that didn’t work.

    Also, I want to use TABLES as my admins wont know much about div tags and html. So, DIV tags aren’t an option.

    Also, note, I tried adding horizontal space to the right of the image, to see if that is a temporary solution, but that didn’t work either …

    Any ideas?


Viewing 7 replies - 1 through 7 (of 7 total)
  • Is this just a fundamental problem with WordPress? Is there no solution for this?



    Forum Moderator

    No – it’s a CSS issue. Your table css is being over-written by the CSS within the page itself. Try using Firefox with the Firebug add-on for this kind of work.

    You will need to change in store css file and looks like plugin is adding the css directly and not using file so check the store plugin if you can change css from the plugin

    I have used firefox … the table styles aren’t hard coded … and I checked the main style sheet … but that doesn’t seem to have any issues.

    Store plugin? I don’t understand what you mean. There is no store plugin. I have plugins for breadcrumbs, calendar, contact form, captcha, tinyMCE and a backup plugin. No Store plugin though.

    I looked at your store page source code and I see that css is added directly in page rather then using file I used firebug and found that your text css is here

    .calendar-table table, tbody, tr, td {
    margin: 0 !important;
    padding: 10px !important;

    Ok… that’s the calendar plugin … I was able to change the styles in the plugin. I changed them to….

    .calendar-table table,.calendar-table tbody, .calendar-table tr, .calendar-table td {
    margin:0 !important;
    padding:0 !important;

    This should cause the regular tables to be left alone, right? When I did this, nothing changed.

    if you changed added 10px in padding then you should get padding in td as is you do not have any

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Table Spacing and Padding not working…’ is closed to new replies.