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, ...how can i make sub menu have a fixed widthhow can i make sub menu have a fixed width
Previous
 
Next
New Post
8/4/2009 2:44 AM
 

hi all

how can i make sub-menu have a fixed width in DNN 5.1

i use the defualt horizontal menu

 
New Post
8/9/2009 4:47 PM
 

please i need answer

 
New Post
8/9/2009 5:27 PM
 

As a start, add the following to portal.css (via Site Settings / Stylesheet editor).  This is based on the version of Extropy being pumped out on dotnetnuke.com.  It will restrict the submenu width to 1 inch and adjusts the visual so that the menu items that wrap make sense.  Words that render wider that 1 inch will stretch, but they still look nice.

/* SUB Menu Normal */
.main_dnnmenu_submenu  { width: 72px;    /* 1 inch */ }
.main_dnnmenu_submenu td span { line-height: 1.4em; }
.main_dnnmenu_submenu td { height: 36px; }

 


- Accuraty / Jeremy
 
New Post
8/10/2009 2:13 AM
 

i do it but still the sub menu not in the same size

 
New Post
8/10/2009 2:04 PM
 

This is a known feature / problem with DNN Nav Menu.

You could use min-width, like so:

.yoursubmenuclass {
min-width: 180px;
}

Where .yoursubmenuclass was the class for your submenu (csscontainersub="yoursubmenuclass").

BUT, IE does not render min-width.

We need to know what browser you're viewing the site in, what version of DNN, and a working version link would help.

Jon

 


Shebang Websites - A product of Mogridge Design
Hey, we're partnered with UntangleMyWeb.com

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...how can i make sub menu have a fixed widthhow can i make sub menu have a fixed width


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