Deck background
TappedOut forum
Posted on March 28, 2020, 1:41 p.m. by enrico81
Hi!! How can I set an image as background in my deck page? Thx to all!
I tried to understand how to change but I have not succeeded :(
March 28, 2020 3:31 p.m.
GhostChieftain says... #4
I will find the way to do it. I misread when I first posted so I had to edit
March 28, 2020 5:20 p.m. Edited.
multimedia says... #6
Hey, the easier way to do this is to find a large background image you like somewhere on the internet, such as Google Images or if you like Magic card artwork then a wallpaper from Wizards site. Use resolution no less than 1920 X 1080 for good results.
After you have found the image on the internet, get the path to the image by right clicking on the image and selecting copy image address. If using a wallpaper then right click on the 1920X1080 link and select copy link address.
<img src="https://media.magic.wizards.com/images/wallpaper/uro-titan-of-natures-wrath_thb_1920x1080_wallpaper.jpg" style="position:fixed;top:0px;left:0px;width:100%;height:100%;z-index:-1;" class="hidden-xs" />
- In the above code paste the path to your image in between the quotes of the src=" ". Replace the path that's already there. The example is using a wallpaper of Uro from Wizards site.
- Paste this code at the very top of your deck description in the deck editor.
All this code is doing is giving you a new background, nothing else, but you can do this without having to add a custom CSS style sheet. If you want to add other styles and change other part of the deck page then you will have to add a style sheet or custom CSS rules.
Caerwyn says... #2
The permission to post images and links needs to be manually enabled for each account - I have gone ahead and done so for you. As for the actual code to get a background to work, that’s not something I know—sorry!
March 28, 2020 1:46 p.m. Edited.