• Resolved edudude

    (@edudude)


    Hi! I know you’ve just like a day ago added the new arrow functionality to the sorting attribute, but I have a question; Is it possible to change the colour of the arrows? Even though it’s a GIF…

    If you have dark colour on the headers then you can’t really see the arrows.

    Tack s? mycket!

    • This topic was modified 1 year, 7 months ago by edudude.
Viewing 1 replies (of 1 total)
  • Plugin Author wibergsweb

    (@wibergsweb)

    Hi!

    My harddrive just crashed. and I’m now waiting for some restoring of the partition.. so I can’t modify any code, but in your case I would say the right thing to do would be to override css-rules where the background gifs are set, create your own arrows and point to them to your own arrows.

    Modify the css in your theme.
    Paste this css into your theme’s (childtheme) css-file: (Change the location in italic to the arrows you have created).

    table.csvtohtml-sortable.arrows th {
    background-image: url(‘../img/bg.gif‘);
    cursor: pointer;
    background-repeat: no-repeat;
    background-position: right center;
    }

    table.csvtohtml-sortable.arrows th.asc {
    background-image: url(‘../img/asc.gif‘);
    }

    table.csvtohtml-sortable.arrows th.desc {
    background-image: url(‘../img/desc.gif‘);
    }

    If it doesn’t work as expected, put !important after image like this:
    background-image: url(‘../img/bg.gif‘) !important;



Viewing 1 replies (of 1 total)
  • The topic ‘Can you change the sorting arrow colour?’ is closed to new replies.