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, ...Vertical Positioning of Menu Background ImagesVertical Positioning of Menu Background Images
Previous
 
Next
New Post
3/30/2007 2:42 PM
 

I am working on a site at http://alliance.alliancewebsites.com and need some help on positioning a background image on SolPart. If you look at the site you will notice that the Selected Root Menu item has a larger background image. But for some reason the other non-selected background images are aligning vertically at the top rather than the bottom. I am trying to achieve something similar to http://www.trumpuniversity.com/realestate/index.cfm .

I have tried putting vertical-align: all over in my CSS and I have also tried valign in the actual TDs for the skin ascx file. But all that ever does is move the menu text around. I am sure this is pretty simple but I just cannot get it.

Thanks for any guidance you can provide.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
3/30/2007 4:42 PM
 

Instead of vertical-align, try something like this:

MainMenu_MenuItem { background: #ffffff url(images/menuItem.gif) top center no-repeat }

 
New Post
3/30/2007 4:51 PM
 

The MainMenu_MenuItem is for the submenus, which work fine. But I tried this approach to the rootmenuitem and the graphics for the root menu items totally disappeared...except for the selected item.

Could I be doing it incorrectly? Any other ideas?

Thanks.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
New Post
3/30/2007 8:00 PM
 

Actually, the MainMenu_MenuItem class styles both the root and submenu items.
If you want the submenu items styled differently from the root, you need to use .MainMenu_SubMenu .MainMenu_MenuItem

Here's what I generally use:
.MainMenu_MenuItem { }  for root menu items
.MainMenu_MenuItemSel { }  for root menu items on hover or selected
.MainMenu_SubMenu { }  overall submenu style
.MainMenu_SubMenu .MainMenu_MenuItem { }  for submenu items
.SubMenuItemSelected { }  for submenu items on hover or selected

And in the .ascx file, something like this:
<td width="910" height="30" class="MainMenu_MenuContainer" style="padding-left:5px">
<dnn:SOLPARTMENU runat="server" id="dnnSOLPARTMENU" Display="Horizontal" SeparateCss="True" userootbreadcrumbarrow="true" usesubmenubreadcrumbarrow="true" usearrows="true" submenuitembreadcrumbcssclass="submenuitemselected" submenuitemactivecssclass="submenuitemselected" submenuitemselectedcssclass="submenuitemselected" rootmenuitemrighthtml="&nbsp;&nbsp;" separator=" " />
</td>

Hope this helps you figure it out.

 
New Post
3/31/2007 12:42 PM
 

This is a purchased skin that I am manipulating. So the CSS classes may not align exactly with yours or the standard ones. Anyway, Jared Buttars at www.black-pond.com offered this solution that worked. (BTW, check out Jared's skins...they are pretty nice)

Try "background-position:top;" on the active state and "background-position:bottom;" on the normal state.

Check it out at http://alliance.alliancewebsites.com .

Now I have a small issue in that the mouse over effect happens anywhere I mouse over the menu item, but if I click near the bottom of the menu item, just below the text, it does not activate. Any ideas on what may be going on with this? If I click at the top of the menu text or higher, it works. But not below the text.


Forerunner Communications, LLC
DotNetNuke Integration Specialists

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Vertical Positioning of Menu Background ImagesVertical Positioning of Menu Background Images


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