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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Creating separate portal skin css filesCreating separate portal skin css files
Previous
 
Next
New Post
4/7/2013 8:33 PM
 

Hi all,

I am creating a series of child sites which will use the default DNN template to start with. However each site needs to be changed slightly e.g colours/banner heights etc.

Currently each site references the same skin css in \httpdocs\Portals\_default. I notice some of my other modules create separate 'portal templates' and place the css data in there, is there a way to get my sites to do this for skins when i create them?

So when i create a new site it copies the skins into e.g \httpdocs\Portals\1 and can be edited independently from the other child sites

Hope this makes sense.

Thanks,

Charles

 
New Post
4/8/2013 6:32 AM
 

Hi Charles,

 A skin file is bound to be put by default in the _default folder in portals.

As you mentioned there are child sites that means each one will have a separate portal name.  What you can do is drop a portal.css file with reference to the portal, like "portals/1/portal.css" and keep your styles here to make changes, while building the skin package change your "<basePath>Portals\_default\Skins\Exceed-Orange</basePath>" accordingly and place a different portal.css file in different portal, this way you can keep exclusive styles for different portals.

Does this solves your query? If not let me know.

Mohit Bhayana
Mindfire Solutions
www.mindfiresolutions.com

 
New Post
4/8/2013 4:21 PM
 

Hi Mohit,

Thanks for the advice I will give that a go and report back. One thing that partially worked was re-installing the skin as an administrator, this put most of the html/css files into the correct portal directory except for "skin.css" this continues to point to _default location. Any thoughts on why this is?

 
New Post
4/8/2013 5:58 PM
 

Mohit that worked perfectly! Thanks for your help

Regards,

Charles

 
New Post
4/9/2013 4:04 AM
 

Happy to help Charles! :)

Mohit Bhayana
Mindfire Solutions
www.mindfiresolutions.com

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Creating separate portal skin css filesCreating separate portal skin css files


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