You need to Register for free and Login to post a message in the forum.

Forum

Subject: Different background image on each page
Prev Next
You are not authorized to post a reply.

Author Messages
dtownsend
Nuke Newbie
Nuke Newbie
Posts:3

20 May 2008 1:30 PM  
Hi,
My graphic designers want to use a different background image on each page of a site (see attachments)
Other than the background image, the page layouts, menus etc are identical across all pages.
It seems like overkill to create a separate skin for each page.  I am thinking there must be a way of using CSS to achieve this.
i.e. all the pages use the same skin and I just have to assign different CSS files to each page.











jncraig
Nuke Master I
Nuke Master I
Posts:1996

20 May 2008 8:52 PM  
No, I wouldn't do it with skins, but I'd make that part of the page content. Just as you have different content on each page, you will have different images.

Joe Craig
DNN Creative Support
Subscribe to the website
leesykes
Nuke Master II
Nuke Master II
Posts:2959

23 May 2008 7:53 AM  
You could target each unique Text / HTML module with CSS and specify a background image for those elements, for instance:

Each module has a unique ID assigned to it.

For instance, go to: http://www.dnncreative.com/tabid/75/Default.aspx

Using the web developers toolbar go to the Information menu / Display ID & Class Details

From here you can see the main Text / HTML module has a unique ID of #dnn_ctr380

There are various variations of this ID, you will be able to view:

#dnn_ctr380_contentpane .dnnC_content_transparent DNNAlignleft
#dnn_ctr380_ModuleContent
#dnn_ctr380_HtmlModule_lblContent .Normal

We can target the main content area of the Text / HTML module with:

#dnn_ctr380_contentpane
{
border: 10px solid orange;
}

For further info on the web Developers Toolbar view:Troubleshooting DotNetNuke Skins

Lee Sykes
Site Administrator
Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts
You are not authorized to post a reply.
Forums > DotNetNuke® > DotNetNuke® Questions > Different background image on each page



ActiveForums 3.7

Latest Forum Posts

RE: Regular restores to local machine by joannew
Hello Lee, Thanks for the info, I tried restarting the application but it had no effect. Is there...
RE: menu in dotnetnuke by leesykes
The page URL option does not have the option to open links in a new window, they will always open in...
RE: Only registered users can access some parts of the module by leesykes
thanks for posting info,
RE: Blog Module on 4.8.4 by leesykes
I just tested the comments in DNN 4.8.4 and blog 3.4.0 and they work ok.Go to the blog list module s...
RE: File Manager Upload (intermittent error) by leesykes
It sounds as though you do not have permission to upload js files using the file manager. To check t...
RE: News Feeds (RSS) module 4.0 ? by leesykes
It works in exactly the same way. Go to 'edit newsfeed' - enter the RSS URL for the newsfeed source ...
RE: style search CSS or XML by leesykes
The CSS code for that skin is:#dnn_dnnSEARCH_txtSearch    { height:16px; position:absolute; top:4px;...
RE: News Feed from DNN Blog by leesykes
Hello,I tested with blog module 3.04.00 and News Feeds 3.01.01It should work, can you display other ...
RE: Query Regarding search fuctionality by leesykes
You can contact venexus direct for any questions regarding their modules,
RE: Query Regarding search fuctionality by kaustav_kar
Thanks for your help. Could you please tell me how to configure it?
RE: Only registered users can access some parts of the module by nukedoubt
Solution Obtained !!!!!!!Follow the steps :To Checked In login mode as registered users or not - Do...
RE: Blog Module on 4.8.4 by bryan_homey
03.04.00 Thanks Bryan
RE: Repository template: YouTube by bryan_homey
Thanks!
RE: File Manager Upload (intermittent error) by dnnmq
banner_rotator.js is only 3KB.  This behavior was reported after we upgraded from 4.3.4 to 4.8.3.Bef...
RE: templates and modules by mmcinulty
Hi Bocheck back to issue 24 for info about page templates.about your other issue with modules login ...
templates and modules by cyborama
Hello Lee and Joe,My first question deals with templates.  I noticed in dotnetnuke apparently you ca...
News Feeds (RSS) module 4.0 ? by wolmar
I had some trouble with the old NewsFeeds module (the one coverd in tutorial) so i figured i'd insta...
style search CSS or XML by mmcinulty
CSS an XMLi was looking back at issue 29 about search styling. there was a skin i seen www.dnnskin.n...
RE: Query Regarding search fuctionality by jncraig
I believe that the Venexus search tools can be configured to do that.
RE: Create Bookmarks/Anchor Points/Page TOC by jncraig
I'm not aware of a module that does that. And, yes, you have to put the links in manually. I've us...
DotNetNuke Modules
RSS Feeds