DotNetNuke Skins and Resources by ThinkofDesign

Forums

Change the background color

Hi, I want to change the background of my skin to transparent but with your skins, I met some difficulties (I'm not talking about a particular skin but all of your skins). In skin.css, I found the background value in the "skin" part but modifying it to transparent doesn't give any result. Could you guide me how to do this?

Thanks,
Duc
Hi Duc and welcome,

You mean the body background?
Sorry if I wasn't clear enough. Yes, it is the body background. I want to make it transparent, so I can display my background pictures there.

Thanks,
Duc
You don't have to make it transparent to show a background image... just put your image in the body background style:

body{background:url(yourimage.jpg);}

If the image is in the skin's folder you can use a relative path, just yourimage.jpg (or gif or png). But if the image is anywhere else you have to use absolute path, for example http://yoursite.com/folder/yourimage.jpg

Hope that helps!

Cheers

Actually, that's not exactly what I want to do. I will build a site that allows its users to manage their own page. One of the options is to let them upload their own background picture. So making the body transparent is a-must.

Best regards,
Duc

 

I see! It just makes no sense to make the body background transparent. Just go in the skin.css and delete the background style.

For example if it's something like
body{background:#FFF;margin:0;padding:0;}

make it
body{margin:0;padding:0;}

Cheers
Thanks very much, Vasilis, it worked for me.

Really appreciate your support!
Duc
I'm glad it did!

You're welcome!



ActiveForums 3.7