• Resolved jraby3

    (@jraby3)


    I’m trying to change the column widths on all my tables, to make them split 80% column 1 and 20% column 2.

    I’ve tried using the custom css, and then eventually decided to test just one table to see if the custom css was working. This is my code:

    .tablepress-id-22 .column-2 {
    width: 10px;
    }

    This isn’t having an effect on my page at:
    http://salonprices.com/ulta-salon-prices/

    Ideally, I’d be able to change all column widths with something like this:
    .tablepress .column-2 {
    width: 20%;
    }

    Please advise.

    Thanks so much for your help. Sorry for the “obvious” question, but I’ve been searching and playing with the custom css for 2+ hours and haven’t succeeded.

    I love your product. Already reviewed and donated, plan on donating again.

    Joe

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    I just checked your link, and the CSS (with the 10px) is being applied just fine. The second column is very small in that table.

    Using

    .tablepress .column-2 {
      width: 20%;
    }

    should also work without problems.

    (Make sure to always also test in a different browser, or after logging out of WordPress (or e.g. in a “private browsing” window), to rule out caching problems.)

    Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Custom CSS not working’ is closed to new replies.