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, ...Menu skinning pointers?Menu skinning pointers?
Previous
 
Next
New Post
1/23/2009 11:05 AM
 

I have a site that I initially started developing as a standalone ASP.NET application using RadMenu as the menu system but then as things progressed I realized that the direction this site will be going will require more interaction (ie., CMS-like functionality) so I started switching it over to DNN just the other day. 

The ASP.NET development version is at http://dev1.homeip.net/adventdvr and the DNN version is http://dev1.homeip.net/advent.  I "cheated" on the straight ASP.NET app one by using images for the main menu items but due to the more dynamic nature of DNN I switched that up to use a background image... it seems to look ok.  My problem is the children on the menu -- in the straight ASP.NET version they have left and right padding but in the DNN version they don't.  I'll be the first to admit that my ability to skin a UL based menu is quite lacking so I pretty much just copy/pasted crap out of the default Telerik menu skin for my ASP.NET version and changed some colors.  It didn't quite work as intended when I tried that on the DNN side though... so my CSS follows:

Can anybody give me some pointers to make it work more like the straight ASP.NET version?

.RadMenu_Advent
{
	white-space: nowrap;
}

.RadMenu_Advent ul
{
	list-style: none;
	padding: 0;
	margin: 0;
}

.RadMenu_Advent li
{
	float: left;
	margin: 0;
}

.RadMenu_Advent li a:active
{
	color: White;
}

.RadMenu_Advent li a:visited
{
	color: White;
}

.RadMenu_Advent li a:link
{
	color: White;
}

.RadMenu_Advent li a
{
	background: url(images/btn_background.gif) #fff bottom left repeat-x;
	height: 40px;
	line-height: 40px;
	float: left;
	width: 9em;
	display: block;
	border: 1px solid #AFD2FF;
	border-bottom: none;
	border-top: none;
	color: white;
	text-decoration: none;
	text-align: center;
	padding: 0 5px;
	font-size: 16pt;
	text-transform: uppercase;
	font-family:Arial,sans-serif;
}

.RadMenu_Advent li ul li a
{
	background: #1E3445;
	height: 1.5em;
	line-height: 1.5em;
	text-align: left;
	font-size: 8pt;
	font-family:Arial,sans-serif;
	text-transform: none;
	margin: 0 5px 0 5px;
}

.RadMenu_Advent li a:hover
{
	background: url(images/btn_background_h.gif) #fff bottom left repeat-x;
	text-decoration: none;
}

.RadMenu_Advent .rmFirst
{
	color: White;
	text-decoration: none;
}

-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
1/24/2009 11:25 AM
 

I've launched it live (the client wanted to go live) so it is now at http://www.adventdvr.com ; I still could use some pointers on the menu though if anybody feels generous enough to show me why it is not functioning the same as http://dev1.homeip.net/adventdvr

Thanks.


-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
New Post
1/24/2009 10:17 PM
 

In case anybody is interested I went through it piece by piece and found that all I needed to do was add "padding: 4px 37px 5px 20px" to the css pertaining to those subitems as such:

.RadMenu_Advent li ul li a
{
	background: #1E3445;
	height: 1.5em;
	line-height: 1.5em;
	text-align: left;
	font-size: 8pt;
	font-family:Arial,sans-serif;
	text-transform: none;
	margin: 0 5px 0 5px;
        // added following line and VOILA!
	padding: 4px 37px 5px 20px;
}

-- Jon Seeley
DotNetNuke Modules
Custom DotNetNuke and .NET Development
http://www.seeleyware.com
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Menu skinning pointers?Menu skinning pointers?


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