• Resolved mish99

    (@mish99)


    hello

    You kindly sorted out my column headers so the text turns and everything is the right colour.

    But I need to link from each column header. I inserted links, first around the span which stopped the text showing until I hovered over the box.

    Now I have the link first and then the span. this has two problems
    1. The header text is not a link.
    2. The text in the link code doesn’t turn so it makes my columns different widths.

    My ideal is to have the span text as before and make the whole cell a link – is that possible? Second best would be to have the white rotated text as the link.

    Thank you in advance

    best wishes

    mish

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    You will actually have to place the link inside the <span>, as a replacement of the current text.

    Regards,
    Tobias

    Thread Starter mish99

    (@mish99)

    I think that was the first thing I tried, if you look at the page, you can see the first column heading has no colour until I hover then it shows up in a dark teal – which is my theme colour for links.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, the HTML code structure is correct there. The “wrong” color is the result of the CSS works. You can fix that by extending the “Custom CSS”

    #content .tablepress-id-2 thead th,
    #content .tablepress-id-2 tfoot th,
    #content .tablepress-id-2 .column-1 {
        background-color: #00b2b2;
        color: #fff;
    }

    to

    #content .tablepress-id-2 thead th,
    #content .tablepress-id-2 tfoot th,
    #content .tablepress-id-2 .column-1,
    #content .tablepress-id-2 thead th a {
        background-color: #00b2b2;
        color: #fff;
    }

    Regards,
    Tobias

    Thread Starter mish99

    (@mish99)

    You are a star – thank you

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

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

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘combing span and href in a cell’ is closed to new replies.