Hi,
thanks for your question, and sorry for the trouble.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!
Regards,
Tobias
Hi,
thanks!
It seems that you have embedded the images with captions. These do however get additional HTML tags, and they actually get a fixed width (160px) by WordPress. You might be able to change that by adding this to the “Custom CSS” textarea on the “Plugin Options” screen of TablePress:
.tablepress .wp-caption {
width: 100% !important;
}
The better approach might be to add the images without the captions, as your CSS should then work better.
Regards,
Tobias
I tried removing the captions and it still won’t resize 🙁
Hi,
when I check your link, all images still have the caption?
Regards,
Tobias
Hi,
for the table that is on the test page now, you can use
.tablepress-id-15 img {
max-width: 100%;
}
Regards,
Tobias
Thx tobias for some reason these codes aren’t working but I remove sidebar to make it work.
Now I have two newer problems if I may, same link.
The first table reduces some of the images irregularly I want all of it to be all same size ie 150px x 150px
For the second table:
If you see Slot1 under king’s new cloak, I want the image to be in align with the rest of the images when giving description to the images.
<style type="text/css">
#container { width: 100px; //whatever width you want }
#image {width: 100%; //fill up whole div }
#text { text-align: justify; }
</style>
<div id="container">
<img src="" id="image" />
<p id="text">oooh look! text!</p>
</div>
I found this code online and it resolved the issue I had. I still can’t get tablepress CSS to work properly but this will have to do. Thank you tobias for your patience and kindness.
Hi,
nice! Good to hear that you found a solution!
Best wishes,
Tobias