Home (default page) positioning problem

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/17/2010 5:01:12 PM
Gravatar
Total Posts 194

Home (default page) positioning problem

I'm having trouble ordering tabs in the main navigation so that the "Home" button is all the way to the left (and is the domain default page). The button link is "home.aspx" and works fine if I keep it to the far right (bottom of page tab list). If I move the default/home page button to the top of the list then the default/home page ceases to be the site default that's loaded when typing in the domain name.

I've got this problem on a few sites now. I find if I create the pages initially in a certain order it works fine and can be on the left. But on some sites pages are moved around (or something, not sure) and then I can no longer get the home button on the left and remain the domain default page.

Example:
http://www.lakeshoremedicalclinics.com/

I'm thinking this must be an easy one that I'm missing somewhere. 

1/17/2010 5:11:32 PM
Gravatar
Total Posts 194

Re: Home (default page) positioning problem

Ha, answered my own question. I never thought that would be controlled by the CSS but in fact it was.

Simply changing the menu CSS from....
div.AspNet-Menu-Horizontal ul.AspNet-Menu li a { float: right;padding: 0 12px; color: #FFF;}

....To this did the trick.
div.AspNet-Menu-Horizontal ul.AspNet-Menu li a { float: left;padding: 0 12px; color: #FFF;text-decoration: none; border-bottom: 0px;}

You must sign in to post in the forums. This thread is closed to new posts.