Recent Topics

Members
Stats
  • Total Posts: 10,754
  • Total Topics: 1,374
  • Online today: 130
  • Online ever: 879
  • (Jan 21, 20, 05:49:15 PM)
Users Online
Users: 0
Guests: 107
Total: 107

Submission Quick Question

Started by voyager, Jan 11, 11, 07:34:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

voyager

Is there a way to center the navbar? If I try to change the float: left; to anything else, bad things happen.

willemjan

There is an tutorial about that on simplemachines.org. I'll dig it up for you. Check back in a few mins.

Crip

I kinda doubt it Voy ,
basically it's made to Float: Left; but , your welcome to tinker with it ;)
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

Crip

Quote from: willemjan on Jan 11, 11, 07:35:56 AM
There is an tutorial about that on simplemachines.org. I'll dig it up for you. Check back in a few mins.

I believe that's Curve theme's menu if you mean Antech's tut?
I have become comfortably numb!


No PM's for Support unless invited! 

I remember my mother's prayers and they have always followed me.
   - Abraham Lincoln -
TOTM Winner.

willemjan

Yeah its written for the curve theme, but I think its customizable for submission. Its based on curve right?

voyager

There has to be a way to make it centered? I've been looking at css tutorials on it but anything I try just breaks the menu. Here's the part that I'm changing.

#nav li {
   float: left;
   margin: 0;
   padding: 0 0 0 0px;
   position: relative;
   list-style: none;
   display: block;


Am I even editing the right thing?

willemjan

There is way more involved then just changing that. Everything is related (dropdown menus as example). I found a mod for this, but I am not shure if it will work on this theme, so backup first!!:

http://custom.simplemachines.org/mods/index.php?mod=2553

Install this mod. There should be an option to install it in other themes.

voyager

That's only going to work for the curve theme. It's not going to know what to write over on the Submission theme.

willemjan

#8
have you tried it?

edit: I have just tested it on archway, and it only fails on 1 point wich can easyally be done by hand:

find in index.css:

#main_menu
{
padding: 0 0em;
float: left;
margin: 0;
width: 100%;
}


Change into:
#main_menu
{
padding: 0;
float: left;
margin: 0 0 0 6px;
width: 100%;
        position:relative;
}