Welcome, Guest
Please Login or Register.    Lost Password?

Centering top_nav menu buttons with Trans-Bear
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Centering top_nav menu buttons with Trans-Bear
#3028
Centering top_nav menu buttons with Trans-Bear 2 Years, 8 Months ago Karma: 2
Hello everyone.

I just got a new site to work on, and I would like to center the menu buttons on the top_nav menu using Tran-Bear template. I looked around in the forums and found some info on the top menu nav, but this didn't help me. The info I found said that setting the justification to center, within the CSS file ,it should work. But, it moved it all the way over to the right side and then some.

I'm sure there is not much to it...I just don't seem to find what to change.

Thanks for any help,
Matt
mdc32073
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Jacksonville, FL Birthday: 05/30
The administrator has disabled public write access.
 
#3029
Re:Centering top_nav menu buttons with Trans-Bear 2 Years, 8 Months ago Karma: 2
I think there are at least two ways to do this here...

1. wrap the #nav in another container that can be centered...
2. cheat a little and set the left margin so that it looks centered.

for 1 - don't know for sure about this or how it would look in code.

for 2 - find the first #nav in the css and make it look like this... changing the 200px as needed.

Code:


#nav {
margin-left: 200px;
}



this isn't the best way to do it as it won't adjust with new menu items... but if your in a crunch it should work until someone comes along and lets us know the correct way.
graydon
Fresh Boarder
Posts: 14
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#3032
Re:Centering top_nav menu buttons with Trans-Bear 2 Years, 8 Months ago Karma: 41
That's a good suggestion Graydon.

Matt have you got a dev site setup online you can link to? often easier to trouble shoot.
Big Bear
Administrator
Posts: 1004
graph
User Offline Click here to see the profile of this user
Joomla Templates
The administrator has disabled public write access.
 
#3035
Re:Centering top_nav menu buttons with Trans-Bear 2 Years, 8 Months ago Karma: 2
Hey Big Bear,

Here is the link to the site.

http://jaxproviderservices.net/

Just wanted to see what it would look like centered. It's not at the request of a client. I kind of like it on the right the more I look at it though.

Anyway.... Thanks,

Matt
mdc32073
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Jacksonville, FL Birthday: 05/30
The administrator has disabled public write access.
 
#3036
Re:Centering top_nav menu buttons with Trans-Bear 2 Years, 8 Months ago Karma: 2
Thanks to Graydon for the info.

That did do the trick for me. But, ultimately I put it back to the right side. I think it look better there anyway.

Thanks,
Matt
mdc32073
Junior Boarder
Posts: 30
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Jacksonville, FL Birthday: 05/30
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Support
 
JOOMLA TEMPLATES Joomla Templates By JoomlaBear