Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change Background Color.. Tried everything.How to change Background Color.. Tried everything.
Previous
 
Next
New Post
8/9/2006 7:06 AM
 
Hello,

I have gone my way modifying portal.css, default.css, and also the skin.css inside the Skin folders trying to change the background color with no success.

I understand this is controlled by .css, but can you suggest why this isn't working? How can I set my skins to direct to these files, or what not. Or perhaps I am doing something off base..



Regards,
Danny
 
New Post
8/9/2006 7:29 AM
 

typically the class responsible for the page background is this

body{ border:0; margin:0px 15px 15px 15px; padding:0; height:100%;background-image: url(images/bg.gif);}

above example is a image backgorund but you can replace it with just background-color

Salar

 
New Post
8/9/2006 8:23 AM
 

Dear mr_dimsum

Of course what Salaro said is the write way... But if you use a skin or you've bought a skin with a table that fill the whole page with for instance a style like this
.PageCntr {background-color: #ffffff;}
<body>
  <table class="PageCntr" width="100%" heigth="100%" border="0" cellpadding="0" cellspacing="0">
  </table>
</body>
then the background body style have no effect because the background-color of the table overwrite the background of the body.
Keep in mind that you have to examinate the whole skin...


Vriendelijke groeten
Gilbert Vanden Borre
 
New Post
8/10/2006 2:05 AM
 

Some extra pointers that may help

The DNN utilises the cascading aspects of CSS and I have had some problems with this until realising that some properties can be set in higher/lower (depending on how you see it)  priority Style sheets

DNN has 4 main css sheets in use - default.css, portal.css, skin.css and container.css

The body can be styled in the first 3 and you should be aware that the styles cascade through each sheet 

I had problems with the menu until I realised that some style properties were set in the previously parsed sheets

 

 


Dave DNN 4.3.5 IIS - 6 ?? SQL Server 2005
 
New Post
8/11/2006 4:04 AM
 

Hi,

You don't say what skin you are trying to change. This is important because all skins are different. As an example if you try it with the DNN Blue skin with fixed width layout the page background property can be changed with the .Pagemaster and .Skinmaster properties within the skin.css file located within the DNNblue skin folder. Other skins will vary you need to be more specific...

 

Malc

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...How to change Background Color.. Tried everything.How to change Background Color.. Tried everything.


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out