adding a actual main menu nav bar and changing "Gallery" logo to my own logo?

thatdude

Joined: 2009-08-07
Posts: 5
Posted: Fri, 2009-08-07 00:58

Hi, I just installed the latest Gallery 2 and like it a lot... looking into how to customize the header/nav bar/main menu and logo...

Just want to make sure I'm doing it right..

I just changed my default theme to SIRIUX, so do I go and modify the 'theme.css' for SIRIUX in order to change my logo, customize my navbar so I can have more links on my custom main menu, etc.. ?

I don't want the word "Gallery" as my logo and want to replace that with my own logo...

These are pretty basic theme edits... please let me know if I'm on the right track and how I can get the theme edits done. Thanks a lot!!!

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Fri, 2009-08-07 04:07

You're on the right track.

http://codex.gallery2.org/Gallery2:Editing_Templates
http://codex.gallery2.org/Gallery2:How_to_Add_Custom_Banner_or_Remove_Gallery_Logo
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
thatdude

Joined: 2009-08-07
Posts: 5
Posted: Sat, 2009-08-08 01:59

nivekiam: I couldn't find the line quoted from the theme.tpl file.. It's not in my theme.tpl.. I'm running latest 2.3 version.. am I missing something? I looked at the file for awhile but can't find the "gsheader" div

<div id="gsHeader">
<img src="{g->url href="images/galleryLogo_sm.gif"}" width="107" height="48" alt=""/>
</div>

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-08-08 03:08

Ah, that's because there is no logo by default in Siriux, you'll need to add it. theme.tpl is the best place.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
thatdude

Joined: 2009-08-07
Posts: 5
Posted: Sat, 2009-08-08 03:15

Where should I add the "gsHeader" div in the theme.tpl?

After I do so, will it replace the default "Gallery" text logo that is on the header now?

Also, how do I change the pathname "Gallery" on the rightside of the header?

Appreciate your help.. Thanks.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16503
Posted: Sat, 2009-08-08 03:39

You can put it where ever you want. You're designing your page now :) So a bit of HTML and CSS experience will help tons.

ugh, the more I dig into Siriux, the more I dislike it. Actually, to remove 'Gallery' you'll want to edit photo.tpl (line 9) and album.tpl (line 5)

In theme.tpl change:
<div class="header"></div>

to:
<div class="header"><img src="{g->url href="images/WhatEverYourImageNameIs.gif"}" width="107" height="48" alt=""/></div>

The 'Gallery' on the right side, is called the BreadCrumb, to change that text click Edit > Album (tab) and change the title for the main page of your Gallery

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here