CSS link to update since Studio upgrade

Game development with Board Game Arena Studio
Post Reply
User avatar
semeno
Posts: 5
Joined: 21 May 2013, 14:48

CSS link to update since Studio upgrade

Post by semeno »

Hi,

Following Studio upgrade, I made a mistake as I overwrote the files you have changed before copy-paste them first.
I tried to find back all the changes you made from reversi example, but I can't figure out all of them.

The game seems to work properly, just the CSS which doesn't work so far as I get a raw html although I changed the CSS link from:
@import url(../csslayer.css);
to
@import url(../../../css/csslayer.css); like in the new reversi

And I changed my pictures links as well from:
background-image: url('../../img/reversi/board.jpg');
to
background-image: url('img/board.jpg');

Could you tell me please what are the rights links?

Thanks in advance for your help
User avatar
pikiou
Posts: 389
Joined: 03 October 2011, 05:36

Re: CSS link to update since Studio upgrade

Post by pikiou »

I have the same code for the import and images:

Code: Select all

@import url(../../../css/csslayer.css);
background-image: url('img/sprites.png');
So it might be something else.
User avatar
semeno
Posts: 5
Joined: 21 May 2013, 14:48

Re: CSS link to update since Studio upgrade

Post by semeno »

Thanks for your quick answer!
It works back. I was probably too tired and I must have mixed different versions together with the css link not updated...
I do confirm that the new code works well
Post Reply

Return to “Developers”