Hi all,
I am trying to follow the beginner tutorial for Reversi https://en.doc.boardgamearena.com/Tutorial_reversi
I added the board.jpg file to the img/ directory. I double-checked, it is called board.jpg, not Board.jpg and I am trying to reference it in the css file like this, as described in the tutorial:
First issue I noticed is that the css information does not seem to apply when I inspect the element. I can see the board-<div> I inserted into the .tpl-file as described in the tutorial but none of the style information is set. To work around this for the moment, I tried to include a <style>-block in the .tpl-file. After refreshing, I see the style-block and see its effects on the <div> but the background still does not appear.
Indeed when I check the Inspector I see a 404 for the GET to https://studio.boardgamearena.com/1/img/board.jpg but when I check my game folder on the SFTP the file is most definitely there (See Files below).
Inspector SFTP Has anyone else experienced something similar and/or can point me towards the solution?
Any help would be greatly appreciated
I am trying to follow the beginner tutorial for Reversi https://en.doc.boardgamearena.com/Tutorial_reversi
I added the board.jpg file to the img/ directory. I double-checked, it is called board.jpg, not Board.jpg and I am trying to reference it in the css file like this, as described in the tutorial:
Code: Select all
#board {
width: 536px;
height: 528px;
background-image: url('img/board.jpg');
}Indeed when I check the Inspector I see a 404 for the GET to https://studio.boardgamearena.com/1/img/board.jpg but when I check my game folder on the SFTP the file is most definitely there (See Files below).
Inspector SFTP Has anyone else experienced something similar and/or can point me towards the solution?
Any help would be greatly appreciated