Don't center the navigation menu

Use this forum to ask questions about how to do things in GuMax skin.

Don't center the navigation menu

Postby gonzonl » February 9th, 2012, 10:11 am

Hi there! I'm using GuMax 4.5.1 and I can't seem to get the Navigation menu to align on the left side (nor can I really find why it's centered in the first place). I hope somebody can help me.

The wiki I'm trying to get it to align on the left side is here: http://wiki.howmuchfortheape.com/index.php/Main_Page

In case that helps :)

Thanks!
User avatar
gonzonl
Rank 0
Rank 0
 
Posts: 2
Joined: February 9th, 2012, 10:06 am

Re: Don't center the navigation menu

Postby Paul » February 9th, 2012, 6:16 pm

open file gumax_template.css and find this:
Code: Select all
.gumax-portlet ul {
   margin: 0;
   line-height: 100%;
   position:relative;
   text-align:center;
   float:left;
   left:50%;
   clear:left;
   }
.gumax-portlet ul li {
    float: left; /* fix the gap between <li> list */
   /* display: inline;  /* display in one line with gaps */
   margin: 0; padding: 0;
   font-weight: normal; /* the font weight of '|' */
   font-size: 130%;   /* the font size of the navigation menu */
   color: #7FBAFF;   /* the font color of '|' */
   list-style: none;
   line-height: 120%;
   position:relative;
   right:50%;
   display: block;
}


change to
Code: Select all
.gumax-portlet ul {
   margin: 0;
   line-height: 100%;
   position:relative;
   text-align:center;
   float:left;
   clear:left;
   }
.gumax-portlet ul li {
    float: left; /* fix the gap between <li> list */
   /* display: inline;  /* display in one line with gaps */
   margin: 0; padding: 0;
   font-weight: normal; /* the font weight of '|' */
   font-size: 130%;   /* the font size of the navigation menu */
   color: #7FBAFF;   /* the font color of '|' */
   list-style: none;
   line-height: 120%;
   position:relative;
   display: block;
}


Let me know if it works...
User avatar
Paul
Development Team Leader
Development Team Leader
 
Posts: 1132
Joined: October 20th, 2007, 2:23 pm

Re: Don't center the navigation menu

Postby gonzonl » February 9th, 2012, 7:06 pm

Thanks, that worked! And while I'm at it; thanks for sharing the skins. :)
User avatar
gonzonl
Rank 0
Rank 0
 
Posts: 2
Joined: February 9th, 2012, 10:06 am

Re: Don't center the navigation menu

Postby Gabby.Felly » December 9th, 2012, 7:22 am

Finally saw some skins on this forum. Thanks!
User avatar
Gabby.Felly
Rank 0
Rank 0
 
Posts: 2
Joined: December 6th, 2012, 11:51 am


Return to GuMax 'How Do I' Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron