Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Habbo RevCMS - CSS Problems

Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
Hi, i've just added a new part for my cms and it wont work.

This is my hotel:


body {
background: url(/app/tpl/skins/habbo/images/bg/val15/bg_left.png) fixed left bottom no-repeat,
url(/app/tpl/skins/habbo/images/bg/val15/bg_right.png) fixed right bottom no-repeat,
url(/app/tpl/skins/habbo/images/bg/val15/bg_center.png) repeat-x fixed center bottom;
background-color: ##EFEFEF;
overflow-x: hidden;
}

and thats the css i added, wont work.. :/ Why?
 
Experienced Elementalist
Joined
Aug 30, 2013
Messages
287
Reaction score
64
Not entirely sure what issue you are having as you haven't stated but, from what I can see, there is an extra # in your HEX background colour. This may not be the main cause of your issue but I also noticed that the 3 images that you have linked to apparently do not exist on your server.
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
Not entirely sure what issue you are having as you haven't stated but, from what I can see, there is an extra # in your HEX background colour. This may not be the main cause of your issue but I also noticed that the 3 images that you have linked to apparently do not exist on your server.

The problem:
I've added the whole images right and the hex colour right now, but it does not seem to have an effect on the background.
Fixed:
I fixed the images so they actuall do have a path that works. Should all work fine now, but still no difference.
CSS:
body {
background: url(/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,
url(/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,
url(/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;
background-color: #EFEFEF;
overflow-x: hidden;
}
 
Last edited:
Upvote 0
Newbie Spellweaver
Joined
Aug 9, 2016
Messages
83
Reaction score
11
The css you provided can't be found on your server.

So you only have to add your css in either or and it will work.

Oh and thats how it should look (atleast if you have a crappy resolution)

Iluminatos - Habbo RevCMS - CSS Problems - RaGEZONE Forums
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
The css you provided can't be found on your server.

So you only have to add your css in either or and it will work.

Oh and thats how it should look (atleast if you have a crappy resolution)

Iluminatos - Habbo RevCMS - CSS Problems - RaGEZONE Forums

Updated my css in but didnt work o_O
 
Upvote 0
Newbie Spellweaver
Joined
Aug 9, 2016
Messages
83
Reaction score
11
Updated my css in but didnt work o_O

in style.css change this:
Code:
[COLOR=#000000]body{margin:0;background:#f6f7f9;}[/COLOR]

to this:
Code:
[COLOR=#000000]body{margin:0;background-color:#[/COLOR]EFEFEF[COLOR=#000000];[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

And that should make it work on /index.

For /me page, by looking the source i can't find the opening <body> tag which should be right after the closing </head> tag, so first make sure thats there.

After that edit from this:
Code:
[COLOR=#000000]body {[/COLOR]    margin: 0
}
to this:
Code:
[COLOR=#000000]body{margin:0;
background-color:#[/COLOR]EFEFEF[COLOR=#000000];
[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

if it doesn't work then idk whats wrong, but i can look into it after you try everything above.
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
in style.css change this:
Code:
[COLOR=#000000]body{margin:0;background:#f6f7f9;}[/COLOR]

to this:
Code:
[COLOR=#000000]body{margin:0;background-color:#[/COLOR]EFEFEF[COLOR=#000000];[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

And that should make it work on /index.

For /me page, by looking the source i can't find the opening <body> tag which should be right after the closing </head> tag, so first make sure thats there.

After that edit from this:
Code:
[COLOR=#000000]body {[/COLOR]    margin: 0
}
to this:
Code:
[COLOR=#000000]body{margin:0;
background-color:#[/COLOR]EFEFEF[COLOR=#000000];
[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

if it doesn't work then idk whats wrong, but i can look into it after you try everything above.

Im sure it would work but the files wont update.. :___:



I did everything but still the same in the files in the explorer?



in style.css change this:
Code:
[COLOR=#000000]body{margin:0;background:#f6f7f9;}[/COLOR]

to this:
Code:
[COLOR=#000000]body{margin:0;background-color:#[/COLOR]EFEFEF[COLOR=#000000];[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

And that should make it work on /index.

For /me page, by looking the source i can't find the opening <body> tag which should be right after the closing </head> tag, so first make sure thats there.

After that edit from this:
Code:
[COLOR=#000000]body {[/COLOR]    margin: 0
}
to this:
Code:
[COLOR=#000000]body{margin:0;
background-color:#[/COLOR]EFEFEF[COLOR=#000000];
[/COLOR]background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom;[COLOR=#000000]}[/COLOR]

if it doesn't work then idk whats wrong, but i can look into it after you try everything above.
Download the files here:
https://www.mediafire.com/file/x2dmhjod2c3y8hc/Desktop.rar
 
Upvote 0
Newbie Spellweaver
Joined
Aug 9, 2016
Messages
83
Reaction score
11
Im sure it would work but the files wont update.. :___:



I did everything but still the same in the files in the explorer?


Download the files here:

Well the files you uploaded seems right but the ones on your server doesn't. YOu might be working on wrong location or something, can't really say.

If you can't figure it out theres one thing that would work. I can see you added <style> tags to your me.php so add "!important" behind your background line so it becomes:
Code:
<style type="text/css">	body {		background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,			    url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,			    url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom !important;		background-color: #EFEFEF;				overflow-x: hidden;	}</style>

Then it should work for sure, but i still think you should find out whats the problem with files not updating.
 
Upvote 0
Junior Spellweaver
Joined
Mar 24, 2017
Messages
163
Reaction score
5
Well the files you uploaded seems right but the ones on your server doesn't. YOu might be working on wrong location or something, can't really say.

If you can't figure it out theres one thing that would work. I can see you added <style> tags to your me.php so add "!important" behind your background line so it becomes:
Code:
<style type="text/css">    body {        background: url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_left.png) fixed left bottom no-repeat,                url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_right.png) fixed right bottom no-repeat,                url(http://spacedream.org/app/tpl/skins/site/images/bg/val15/bg_center.png) repeat-x fixed center bottom !important;        background-color: #EFEFEF;                overflow-x: hidden;    }</style>

Then it should work for sure, but i still think you should find out whats the problem with files not updating.
Worked like a charm! Look pm!
 
Upvote 0
Back
Top