Deck Background

TappedOut forum

Posted on Oct. 29, 2016, 9:05 p.m. by RazortoothMtg

So on several decklists I've seen them having a picture as the background of the page. How do you do this? Is it an upgraded account only thing?

enpc says... #2

You have to add an image to the description and set the z-order to -1. If you're going to do this, make sure you use a small file size image as it can drastically affect deck loading time (especially on mobile).

October 29, 2016 9:09 p.m.

lonker says... #3

uhh, z-order? Could you elaborate on that?

October 30, 2016 12:34 a.m.

enpc says... #4

Z-order dictates what is drawn on top of what. To set the z-order, you have to use actual html img tags. Have a look here to get an idea of how they work.

The actual html property is "z-index" (not order, soz my bad on that one) and you can find details about it here.

October 30, 2016 2 a.m. Edited.

Femme_Fatale says... #5

I thought I had frowned upon this into oblivion ...

If you aren't going to manage this so that it disappears on mobile users, don't bother implementing it at all.

November 4, 2016 1:24 p.m.

This discussion has been closed