Sort arrow icons - how to change it from backgroud to img? / Sorting the images

Sort arrow icons - how to change it from backgroud to img? / Sorting the images

jurcio6jurcio6 Posts: 1Questions: 0Answers: 0
edited December 2012 in General
Hello!

I've got a problem with proper displaying of the sorting th arrows - I'm already using some image on the background of the element, so the arrows can't show up/override the css style. How can I force them to show up as an image? Maybe I could somehow put them in a div? Actually div would be greate method, as the arrow images could stay defined as background (of the div, not of the ). How can I achieve that?

Another question is - how to setup the sorting so it could work on my images in rows? It could sort the images by their title or alt attribute?

Replies

  • ulrikeulrike Posts: 39Questions: 1Answers: 0
    I have added <!-- --> to each TH and defined CSS rules (background images of arrows) for these three possibilities :

    [code]
    table.display th. span.sort_dir
    table.display th.sorting_desc span.sort_dir
    table.display th.sorting_asc span.sort_dir
    [/code]
This discussion has been closed.