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, ...Container Background ImageContainer Background Image
Previous
 
Next
New Post
12/10/2007 6:50 AM
 

Hi all,

  I am wondering if the following is possible and if so can someone give me a helping had to get it done. Firstly I am using a Full Width Skin on my site and for a templte for the container I am using the DNN-Blue one.

  I am looking to make a new container with a funky background to it. What I want is 1 image to be the standard background and this will tile as needed, That is not a problem. However what I also want to do is place another image in the center of the background. This image is to always be in the center and is not allowed to tile. Then the text etc of the module will be placed ove the top of all this.

  I hope this is clear and any help is appreciated.

Thanks in advance.

 
New Post
12/10/2007 12:20 PM
 

Seems like you need to create 2 divs or tables wrapping around your containers. Here is what I would do:

<div id="bg1">

    <div id="bg2">

          <your container code goes here>

    </div>

</div>

Setting the CSS:

 

#bg1 {background: url(images/bg1.gif) repeat-x;}  /* repeat x or y depends on your image */

#bg2 {background: url(images/bg2.gif) no-repeat;} /* set your background position for the image to make it appear center as you wish */

 

Hope this helps!


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
New Post
12/10/2007 2:08 PM
 

Thanks for the responce, I shall give this a try out tonight and see what I can come up with

 
New Post
12/14/2007 4:23 PM
 

Well still no luck with this container. I have tried putting those Div tags in all places on the container and I cant get it to work. Here is an image of what the end product should look like, As you can see on the top bar I have 2 images, one is the snowman, the other is a bar that is repeatable. Then we have a stary background that repeats as needed. Then on top of that we have a Xmas tree, this is supposed to be in the center of the container and not repeat. Then the text will be placed on top of this. This is to be used on the Text/HTML Module. The Blue Drawn on borders are to show you 2 seperate images.

Free Image Hosting at www.ImageShack.us

I am trying to modify the DNN-Blue container to accomplish this with. Can anyone provide any help at all?

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container Background ImageContainer Background Image


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