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, ...CSS Help PleaseCSS Help Please
Previous
 
Next
New Post
3/27/2008 1:16 AM
 

I have a dnn site with a custom skin. Problem is some elements of the style sheets show while others do not. I have 4 style sheets that are applied to the site

<link id="_Portals__default_" rel="stylesheet" type="text/css" href="/Portals/_default/default.css" /><link id="_Portals_0_Skins_Skins_" rel="stylesheet" type="text/css" href="/Portals/0/Skins/Skins/skin.css" /><link id="_Portals_0_Containers_Containers_" rel="stylesheet" type="text/css" href="/Portals/0/Containers/Containers/container.css" /><link id="_Portals_0_" rel="stylesheet" type="text/css" href="/Portals/0/portal.css" />

 

I have not overwritten any elements in the portal.css or the defautl.css. I have elements in the skin.css that should apply to create the header of the website and set some of the font sizes. I have searched the net most of the day to get as much information as possible. I am still stuck not able to get the elements to apply correctly.

 

Here is the website

www.askthelendingadvisor.com -----Not all of the elements of the skin.css apply when this URL is loaded in the browser

but when I click on a link many of the elements in the skin.css style sheet apply to the page

http://www.askthelendingadvisor.com/Home/tabid/36/Default.aspx

I don't understand why this is occuring. Any ideas?

Thank you

 
New Post
3/27/2008 3:38 AM
 

Looks like I found the problem. There was another reference in my portal.ascx that was messing up the hierarchy.

 
New Post
3/27/2008 3:43 AM
 

I've had a look, but I can't see what the actual problem is. The page looks fins and when I click links it looks much the same.

Are you making sure that you Control-F5 to force a refresh whenever you make a style change?

Rob

 
New Post
3/27/2008 4:30 AM
 

I see two problems.

1. You added the links to the CSS files in the container (inside the body tag, which is not valid and not needed, DNN also adds the links in the header of the page automatically.)

That might be the reason for your problems (I see tha page wide in the first load and narrower on the second), the container css is loaded twice, which could mix up the load order (of the CSS files)

2. There is a double id: MiddleContainer, don't use id's in a containers because it's very likely that it will apear more then once on a page.

 
New Post
4/14/2008 10:48 PM
 

Thx you were correct.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS Help PleaseCSS Help Please


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