Centering Top Toolbar

Temporary forum to obtain support for MODs/Styles while phpbb.com is down
Locked
AguaRojo
Registered User
Posts: 4
Joined: Sun Feb 08, 2009 9:34 pm

Centering Top Toolbar

Post by AguaRojo »

Anyone have any suggestions for centering the top toolbar at http://www.thestoryrp.com/forum ?

The Style is twilightBB
Last edited by AguaRojo on Sun Feb 08, 2009 9:44 pm, edited 1 time in total.

oXo
Registered User
Posts: 66
Joined: Mon Feb 02, 2009 2:16 am

Re: Centering Top Toolbar

Post by oXo »

Find:

Code: Select all

.menu .ul { margin:0 auto; width:auto;}
change the width to:

Code: Select all

.menu .ul { margin:0 auto; width:800px;}
800px or adjust it until you get the center. Don't forget to refresh the style/templates/cache

AguaRojo
Registered User
Posts: 4
Joined: Sun Feb 08, 2009 9:34 pm

Re: Centering Top Toolbar

Post by AguaRojo »

In the stylesheet.css file? I'm not finding that code there.

What I have is this:

#menu { padding: 8px 0 0 14px; }

.faq, .ucp, .members, .search, .nonewpms, .newpms, .mcp {
float: left;
display: block;
width: 800px;
height: 50px;
margin: 0 10px 0 10px;

}

/* hide from mac \*/
* html img, * html .faq, * html .ucp, * html .members, * html .search, * html .nonewpms, * html .newpms, * html .mcp {behavior: url({T_TEMPLATE_PATH}/iepngfix.htc);}
/* end hide */

.faq {
background: url("{T_IMAGESET_LANG_PATH}/faq.png") 0 0 no-repeat;
}

.ucp {
background: url("{T_IMAGESET_LANG_PATH}/ucp.png") 0 0 no-repeat;
}

.members {
background: url("{T_IMAGESET_LANG_PATH}/members.png") 0 0 no-repeat;
}

.search {
background: url("{T_IMAGESET_LANG_PATH}/search.png") 0 0 no-repeat;
}

.nonewpms {
background: url("{T_IMAGESET_LANG_PATH}/nonewpms.png") 0 0 no-repeat;
}

.newpms {
background: url("{T_IMAGESET_LANG_PATH}/newpms.png") 0 0 no-repeat;
}

.mcp {
background: url("{T_IMAGESET_LANG_PATH}/mcp.png") 0 0 no-repeat;
}

.faq span, .ucp span, .members span, .search span, .nonewpms span, .newpms span, .mcp span {
display: none; text-indent: -5000px;
}

.faq:hover, .ucp:hover, .members:hover, .search:hover, .nonewpms:hover, .newpms:hover, .mcp:hover {
background-position: 0 -50px;
}

oXo
Registered User
Posts: 66
Joined: Mon Feb 02, 2009 2:16 am

Re: Centering Top Toolbar

Post by oXo »

Yes.... What is your style? Is it Prosilver or Subsilver?

AguaRojo
Registered User
Posts: 4
Joined: Sun Feb 08, 2009 9:34 pm

Re: Centering Top Toolbar

Post by AguaRojo »

Downloaded style called twilightBB. subsilver isn't installed and prosilver is, if that makes a difference.

oXo
Registered User
Posts: 66
Joined: Mon Feb 02, 2009 2:16 am

Re: Centering Top Toolbar

Post by oXo »

#menu { padding: 8px 0 0 14px; }

.faq, .ucp, .members, .search, .nonewpms, .newpms, .mcp {
float: left; <<< change it to center


By the way... what is that white thing small DOT under the "A Roleplaying Community Within" in your header?

AguaRojo
Registered User
Posts: 4
Joined: Sun Feb 08, 2009 9:34 pm

Re: Centering Top Toolbar

Post by AguaRojo »

Changed it... no difference yet.

Looks like the dot is just a flaw in the .gif file.

Locked