Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Adding Banner Row In Luna

Quote Reply
Adding Banner Row In Luna
I would like to add a banner between the navigation bar and the search bar in the Luna templates. I am thinking this is done with a division tag?
I am trying to understand how this is done in css, but to be honest I am very confused. I know how this is done in HTML but I am trying to wrap my brain around the css display and am finding myself confused. It seems like a simple matter. Any assistance would be greatly appreciated.
Quote Reply
Re: [jgkiefer] Adding Banner Row In Luna In reply to
The following post shows how to put one *after* the search bar. I know it's not exactly what you want but it may be helpful to you.

http://www.gossamer-threads.com/...orum.cgi?post=279839

An example of a site where I've placed the banner in this location is www.love-romance-dating-directory.com

To put a banner between the nav bar and search bar, I guess you would need a div section in the include_header template in between the nav and search divs.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
Quote Reply
Re: [rocco] Adding Banner Row In Luna In reply to
Thanks. I was able to figure it out. I just added the following css to the luna.css file:
Code:
#bannerheader {
padding: 4px 4px 4px 4px;
background: #B6CAE2;
margin: 0px 0px 0px 0px;
border-bottom: 1px solid #ffffff;
color: #ffffff;
font-size: 12px;
text-align: center;
}
I created a file to contain the banner information and named it include_bannerheader.html

Code:
<div id="bannerheader">
<IMG border="0" src="YOUR BANNER CODE">
</div>

And then in the include_header.html just above <div class="searchbar"> and right after </div> I added the line:

Code:
<%include include_bannerheader.html%>

...works like a charm. Wink

Now I am having problems with the login and logout links not displaying properly in the home html page when built for static mode. I guess I will post this problem in another thread.

Anyway with the banner code I haven't been able to figure out how to display a 468 banner on the left side and a small banner on the right side. Still trying to get my brain around css division tag usages. Suggestions gladly welcome. Unsure
Quote Reply
Re: [jgkiefer] Adding Banner Row In Luna In reply to
About the login/logout issue in static mode, I posted this before here:

http://www.gossamer-threads.com/...orum.cgi?post=279608

Adrian from GT has written some nice Javascript to address it.

Regards,
Peter Puglisi
www.ausfreedom.com
Ultimate Freedom is our game.
Quote Reply
Re: [rocco] Adding Banner Row In Luna In reply to
Thanks!!
I have posted my questions on this issue there.