WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to link images in TablePress? (12 posts)

  1. omegaprime
    Member
    Posted 1 year ago #

    Hello all, I am using the "Table Press plug-in" in one of my pages. I have a table with images in it and I would like for visitor's to click on the images and go to a video for each separate image. When I try to use the link feature it is placing the link to a "text link" that is being shown in the table underneath the image. What I would like for it to do is have the image itself become the link, right now when I click on the image it goes to a separate page of just the image itself, and the text link that shows actually takes me to the video that I want to be shown is there a way to correct this. Thanks

  2. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    thanks for your post. The trick to achieve what you want is this:
    When inserting the image from the Media Library, there's a field "Link URL", a little bit above the "Insert into Post" button. Just type/paste the URL of the page with the video there and the image will be clickable.

    Regards,
    Tobias

  3. omegaprime
    Member
    Posted 1 year ago #

    Hi thanks Tobias, for replying to the post your suggestion worked perfectly, I appreciate your help. I'm not sure if I should have created a new post but, I just had one other question about my table I have 3 columns in my table with about 5 rows. The images are 182(w)x 124(h) at the end of the last column on the last image my table is cutting off each image in the column is there a way to make the table a little wider in order to have the last column from being cut off. I am new to wordpress so all this is kinda new to me thanks again for all your help.

  4. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    great to hear that this helped :-)

    It's hard to find a solution to that issue with the width, without being able to inspect the page. Can you therefore please post a link? I'll then gladly investigate this, to see if there's an easy way to make everything fit.

    Regards,
    Tobias

  5. omegaprime
    Member
    Posted 1 year ago #

    Hi thanks again for replying here is a link to the page I'm talking about the site is still being worked on but here it is http://intvnetwork.com/intvwordpress/. Thanks again.

  6. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    thanks for the link. To make this fit, you'll need to make the padding in the cells smaller. Please try adding

    #content .tablepress-id-2 tr td {
      padding: 3px;
    }

    to the "Custom CSS" textarea on the "Plugin Options" screen of TablePress.

    Regards,
    Tobias

  7. omegaprime
    Member
    Posted 1 year ago #

    Hi again, once again thank you for your time for trying to help me out with my site. But unfortunately the code you provided didn't work for me. I copied and pasted the code just as you wrote it but nothing happen, do you have any other ideas. Thanks

  8. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    argh, sorry about that. I forgot one line in the code. Please try again with

    #content .tablepress-id-2 tr th,
    #content .tablepress-id-2 tr td {
      padding: 3px;
    }

    Regards,
    Tobias

  9. omegaprime
    Member
    Posted 1 year ago #

    Hey Tobias, thank you so much it worked.

  10. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    great to hear that! :-) And you are very welcome!

    Best wishes,
    Tobias

    P.S.: In case you haven't, please rate the plugin here in the plugin directory. Thanks!

  11. omegaprime
    Member
    Posted 1 year ago #

    Sure Thing no problem!!!

  12. TobiasBg
    Member
    Posted 1 year ago #

    Hi,

    thanks a lot, I really appreciate it!

    Best wishes,
    Tobias

Topic Closed

This topic has been closed to new replies.

About this Topic