• Resolved cymindis

    (@cymindis)


    Hi Tobias,
    I was looking for a solution to my problem to allow users to sort the cells with images and no images. I found an older topic here that describes adding a character to the image (so that the sorting function can distinguish between cells with character (and image) and cells without character (and no image)) and then make it transparent with the following code:

    .tablepress-id-xy .column-xy {
    color: transparent !important;
    }

    but have the problem that the column header text vanishes as well (of course). Could you please help me adding the peace of code that leaves the column header text visible?

    Thanks a lot for your help, Gaby

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.

    For that, you would simply have to restrict this CSS to only the table body:

    .tablepress-id-xy tbody .column-xy {
      color: transparent !important;
    }

    Regards,
    Tobias

    • This reply was modified 8 years, 6 months ago by Tobias B?thge.
    Thread Starter cymindis

    (@cymindis)

    YES! That was it! I tried it with td but didn’t get there… Thanks a lot. Problem solved. Gaby

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Sorting images in one column’ is closed to new replies.