Gossamer Forum
Home : Products : Gossamer Links : Discussions :

centering navigation

Quote Reply
centering navigation
hey all,

i'm just gonna let the image do the talking here.

basically i want to know if this is possible.

thanks for any help, it's greatly appreciated.

aaron.
Quote Reply
Re: [BentAJ] centering navigation In reply to
Hi Aaron,

It is possible. Just add to your luna.css as below. That will work.

#ocwrapper{
border-right:0px;
}

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] centering navigation In reply to
hey dat,

thanks for the help.

i did try what you suggested but nothing seem to change.

should i be editing the luna_core.css or luna.css?

thanks again,
aj.
Quote Reply
Re: [BentAJ] centering navigation In reply to
In Reply To:
hey dat,

thanks for the help.

i did try what you suggested but nothing seem to change.

should i be editing the luna_core.css or luna.css?

thanks again,
aj. You should make the change in luna.css so it won't be deleted during upgrades.

Last edited by:

rascal: Apr 15, 2006, 5:15 PM
Quote Reply
Re: [BentAJ] centering navigation In reply to
Would this not be easier:

Code:
<center>navbar HTML code</center>

I have modified quite a lot so I'm not sure which template you're looking for. It's probably in include_header.html

Code:
<center>
<div class="navbar clear">
<ul class="primarynav">
<li class="home"><a href="<%config.build_root_url%>">Home</a></li>
<li><a href="<%config.db_cgi_url%>/add.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Add a Link</a></li>
<li><a href="<%config.db_cgi_url%>/modify.cgi<%if category_id%>?ID=<%category_id%><%endif%>">Modify a Link</a></li>
<li><a href="<%config.build_root_url%>/New/">New Links</a></li>
<li><a href="<%config.build_root_url%>/Cool/">Cool Links</a></li>
<li><a href="<%config.build_root_url%>/Ratings/">Top Rated</a></li>
<li><a href="<%config.db_cgi_url%>/jump.cgi?ID=random<%if config.build_detailed%>;Detailed=1<%endif%>">Random Link</a></li>
<%if config.newsletter_enabled%><li><a href="<%config.db_cgi_url%>/subscribe.cgi">Newsletter</a></li><%endif%>
<%if config.bookmark_enabled%><li><a href="<%config.db_cgi_url%>/bookmark.cgi">Bookmarks</a></li><%endif%>
<%if Links::Utils::is_editor%><li><a href="<%config.db_cgi_url%>/browser.cgi">Editors</a></li><%endif%>
</ul>
<%~if secondarynav%><%include $secondarynav%><%endif%>
</div>
</center>
Quote Reply
Re: [BentAJ] centering navigation In reply to
Hi,

Just edit the luna.css but my suggestion is not correct. May be you just try with MJB's suggestion below.

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] centering navigation In reply to
thanks guys for the continued help ;-)

and also thanks for letting me know about the luna_core.css thing too, that would kind suck hard if it all got overwritten during an update.

i was just hoping to find a way to center the nav within the css without using clumsy html code, but i'll try this out.

thanks again,
aj.
Quote Reply
Re: [BentAJ] centering navigation In reply to
Did you ever get this to work for you?
Regards
KaTaBd

Users plug In - Multi Search And Remote Search plug in - WebRing plug in - Muslims Directory