A-dam wrote: ↑26 December 2019, 15:53
Hi,
welcome to studio! There is lot of things which can be wrong. I would start following this:
- try clear your browser cache (for example ctrl+F5)
- is the board dom element present? - try investigate with browser developer tool
- if so, did you update your css file properly?
- if not something is wrong with placement - is your tpl updated correctly? is view.php ok? is your js file set up properly?
without specifying the problem, it is hard to guess where exactly is your problem, but this is at least something where you can start looking..
I cleared my browser cache.
And tried on a computer and smartphone.
What's the board dom element?
Nothing is said about it in the tutorial.
I updated my css file.
What do you mean by updating my tpl correctly?
What about view.php and js files? Nothing is said in the tutorial about view.php and js files in the first step, where only the board must be displayed.
I did what is said in the first step of the Reversi tutorial.
https://en.studio.boardgamearena.com/do ... l_reversi
I copied the few code lines in the tpl and css files.
and
Code: Select all
#board {
width: 536px;
height: 528px;
background-image: url('img/board.jpg');
}
I called the css tutorialmyname.css (instead of reversi.css) and uploaded the files with ftp: tpl, css and jpg.