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, ...Different Header Images on each pageDifferent Header Images on each page
Previous
 
Next
New Post
7/1/2008 4:36 PM
 

I want to display a different background image header for each page in my site. I searched to see if there was a solution for this other then creating a brand new skin for each page. Is there an easier way to do this?

 
New Post
7/1/2008 6:08 PM
 

I think it is easy enough to just create

Index1.html

index1.css

 

index2.html

index2.css

 

In one skin pack and all you have in your indexN.css is the class that contains the banner image

 

Salar

 
New Post
7/2/2008 1:34 AM
 

This is actually very easy and doenst need 10 skins or 10 css files as salaro suggested

this solution is for ascx skinning, so you need to edit the ascx, not the html

<div id="tab<%=request.querystring("tabid")%>

your skin

</div

 

then in the css

 

#tab1 div.header {background-image:url(bg1.jpg);}

#tab15 div.header {background-image:url(bg15.jpg);}

 

All you need to do is give a wrapper around your skin a unique id and then in css you can style anything within this page

 

Have fun :)

so you give

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different Header Images on each pageDifferent Header Images on each 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