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, ...dnnNav firefox style questiondnnNav firefox style question
Previous
 
Next
New Post
5/7/2010 10:14 AM
 
Hi
I finally got everything pretty in IE but then noticed that Firefox AND Safari are completely ignoring all my hard work :)  -- I should add that in FF and Safari the menu is ignoring padding and background and the links are black. -- Could someone tell me what I need to change? here are my ascx menu control and my skin.css styles...


 
New Post
5/7/2010 11:17 AM
 

Hi,

Any chance you can provide a link to the skin in action, or provide a link to the skin file, it's much easier to help find a solution if I can see the skin in action.

Thanks,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/7/2010 11:34 AM
 
Sure. Thanks for helping...
The url is http://www.manchesternh.gov/website/D... 

And the login is ID: testuser password: mhtschool

There's no edit access but you will be able to see the skin in action.
Thanks again.
Mike

Michael Emond
City of Manchester NH
www.manchesternh.gov
 
New Post
5/7/2010 12:18 PM
 

Mike,

The NAV your using isn't rendered as a list which is why FireFox and Safari are ignoring the styles you've setup for them.

IE isn't the best browser to be testing in, and many website developers (including myself) will advise you do your build and test in Firefox first, and then check it in other browsers, as it is one of the most consistent browsers with regards to CSS and rendering.

I also think the way you're defining your selectors is incorrect for the way the menu is built .SchoolMenu.root is looking for an element that has both styles applied to it, whereas I think you mean .SchoolMenu .root (with a space between the selectors) because the menu is wrapped in a span with the class of SchoolMenu containing spans with classes of root (this is the same for the other classes you're targeting: .mi, .sel etc).

I think the best thing to do is test this in Firefox, using the Firebug plugin (https://addons.mozilla.org/en-US/fire...) this will let you view the rendered code (bear in mind that this is not the same as the source code, because it uses javascript to inject the various classes). From this you'll be able to setup the CSS correctly.

If you can, get the menu to render as a list as this is easier to work with because the root items are one list and sub menu are another. Timo has an example of this available here: http://dnnskinextensions.codeplex.com...

Please let me know if this helps, or if there's anything else.

Regards,

Rick.



PSDtoDNN - You supply the artwork... we'll build the skins!™
Website | Twitter | YouTube | Skype
 
New Post
5/7/2010 12:44 PM
 
From what I've tested, this seems to be a DNN bug, since your style ShoolMenu is not being applied to the menu structure neither in FF or Safari.
You have to include the following in your NAV definition:

CSSContainerSub="SchoolMenu_submenu"
CSSControl="SchoolMenu"
CSSNode="SchoolMenu"

Then change your CSS accordingly.

Beatriz Oliveira
Founder of Bind New Media & Design and creator of Bind Tuning
Linked In | Twitter
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...dnnNav firefox style questiondnnNav firefox style question


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