• Resolved intlnabers

    (@intlnabers)


    Hello, I am having trouble figuring out how to make all images from the various affiliate marketing programs I am a part of display the same size. Each image corresponds to a specific link that I get a commission from. There are various affiliate marketing programs within each table. How do I make the images all the same size within a table that has links for various programs/websites? As you will see when you click on the link above, some images are much larger than others. For instance, the amazon affiliate marketing images and links are a very nice and manageable size. However, some other links are huge and I cannot figure out how to make them smaller, and have them all be the same size.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Your current try of “Custom CSS” is very close already. Please try this:

    .tablepress-id-1 img {
    	width: 120px;
    }

    Regards,
    Tobias

    Thread Starter intlnabers

    (@intlnabers)

    Wonderful, that works! Now how do I make the space in between each cell smaller, and how do I get rid of the background color? Thanks again!

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    you could reduce the padding, by adding this:

    .tablepress-id-1 th,
    .tablepress-id-1 td {
      padding: 4px;
    }
    

    To remove the background colors, just uncheck the “Table Head” and “Alternating Row color” checkboxes on the table’s “Edit” screen.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Various image sizes/affiliate marketing links’ is closed to new replies.