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, ...Background image on just one page?Background image on just one page?
Previous
 
Next
New Post
3/5/2010 3:55 AM
 

Jeff,

Did you wrap it in a style tag? like so (this may explain why you get the text on load)

<style type="text/css">
.art-contentLayout{
background:#FFF url() scroll no-repeat top;
}
</style>

I've also had another look with Firebug and it appears as though the .art-contentLayout div will not work work as it is because the 2 panes for layout are both floated left within it, which causes the .art-contentLayout div to collapse. You have a clearing div outside of the .art-contentLayout div, if you put this directly before the closing </div> this will cause the .art-contentLayout div to wrap around the DNN panes. This should then make the CSS and background show.

You can move the clearing div by logging in via FTP and changing the .aspx file for the skin. (Please remember to make a copy of any files you change incase it doesn't work and you forget what changes you made, so you can "roll-back" to a working version).

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
3/12/2010 12:01 AM
 

I was so close to putting my head in the oven on this one. I'm get'n old...

I finally got it to work with this code in the header of the page properties:

<style type="text/css">
.art-content-wide{
 background-image:url(/Portals/3/images/puzzle.jpg);
 background-attachment: scroll;
 background-repeat: no-repeat;
}
</style>

 

I'm not too happy with the sliver of white at the bottom of the page and the right-edge, but there's nothing I can really do about that. Thanks for your guidance. It certainly led me to this solution:

http://web.siteoneservices.com

 

 
New Post
3/12/2010 7:40 AM
 

Jeff,

That's no problem. Just a quick tip regarding the code you've used. If you use the shorthand:  background:url(/Portals/3/images/puzzle.jpg) scroll no-repeat top; it makes the css shorter. I know it's not a lot for this one item, but if used as a rule of thumb it can save some kb.

Regarding the slivers of white, if this is because the image is too small, you could always try using a larger image, or blending the image into a background colour and adding that colour to the css for the element.

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Background image on just one page?Background image on just one page?


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