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, ...Skin cell background image issuesSkin cell background image issues
Previous
 
Next
New Post
12/13/2010 11:20 AM
 
I am customizing the standard MinimalExtropy skin and have added the below class to the skin.css.  I apply this to a table cell.  The HTML at the bottom is from firebug so I know it is applying the class and isn't being trumped by another class.  However firebug can't display the image thumbnail so I figured path issue.  I read other posts and have tried many different paths to the file and copied the file to every skin and portal path I could think of.  

I applied the same class to the containers.css and placed the file in the contaner/images folder and it works great but I don't want to display the container for this content.  I bet it something simple but I am stumped.

.textcontainer {
    background-image: url(portals/0/images/text_gradient.gif);
    background-position: center top;
    background-repeat: no-repeat;
    margin: 0;
    padding: 15px;
}

<td align="left" valign="top" style="height: 120px;" class="textcontainer">
                                    <h1> <a href="http://restaurantmagic.com/rmsite/sol..." title="Click here for details">
                                    <h2>Lower Your Food Costs</h2>
                                    </a> </h1>
                                    <p> <a href="http://restaurantmagic.com/rmsite/sol...">
                                    <p style="font-style: normal;">From ordering through inventory, you can manage the entire supply chain cycle in one place. Learn how Data Central can help your business ensure quality and lower costs.</p>
                                    </a> </p>
                                    </td>
 
New Post
12/17/2010 5:12 PM
 
The path is probably getting borked up by the way the container winds up rendering the path. Right now, it looks like you're pointing to an 'images' directory in the root of your portal. Typically, when I'm building containers/skins they will have their own images folder:

Portals/_default/containers/MyContainerName
Portals/_default/containers/MyContainerName/images

and

Portals/_default/skins/MySkinName
Portals/_default/skins/MySkinName/images

then, just reference it in your css as:

background-image: url(images/text_gradient.gif);

Hope that helps / works!



Wells Doty Jr
Online Content Development
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin cell background image issuesSkin cell background image issues


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