Solved - Header module (Make logo on top left bigger) - cleancanvas theme

tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Thu, 2012-11-08 23:17

I found a header module here on this page:
http://codex.gallery2.org/Gallery3:Modules:custom_header

I was able to download it but I really don't quite get the coding that one would need to do in order to use it properly.
I'm looking for something that would "expand" my ability to have a "header" or a "banner" or something, that I could
have my name on for the gallery. As it is now, most if not all of the galleries, have a small emblem that one can redo and make their own. Any ideas here, or is this download even something that might work for what I'm looking for?

Regards and thanks,
Tseyigai

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-11-09 05:56
Quote:
I'm looking for something that would "expand" my ability to have a "header" or a "banner" or something, that I could
have my name on for the gallery.

I don't understand. Can you explain a bit better?

Quote:
As it is now, most if not all of the galleries, have a small emblem that one can redo and make their own. Any ideas here, or is this download even something that might work for what I'm looking for?

Again I don't understand. are you talking about the album highlights?

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2012-11-09 13:06

Sir, when one has a section where one's name is: The Hanson Art Gallery, most of the modules have a very small section for this to be in. Thus, I'm looking for something that would help me make it bigger. Understand?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-11-09 15:56

I think a URL or at least a screenshot would help.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Fri, 2012-11-09 22:49

Interesting, because I posted a URL right at the top of this thread. Here also is a screen shot.

[img]http://www.stephenhansonprophet.com/artist/customheader.png[/img]

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2012-11-10 04:11

What I mean by URL is a url to your site in question not the module.
That would help me understand what you are after. I don't think the header module would "expand" my ability to have a "header" or a "banner" or something,

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Sat, 2012-11-10 13:50

Ok, I had realized that after I had posted this.

Here is a screen shot. Hopefully, this will make it clearer:

Thanks,

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-11-11 03:43

That has nothing to do with the custom_header module.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-11-11 03:53

In most themes that is a image that you can change. Is that a image in this theme?

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Sun, 2012-11-11 13:46

Perhaps I wasn't clear. I know that the image can be changed. I have wanted to be able to make it "bigger." ---(Making a logo or my name much better in the header area. )Thus, if I was wanting to make it
"bigger," than perhaps it would have something to do with the header module. Agreed? Now, having said that, can you either help me with
working with the header module, or pointing me to something else that might work for this?

Tseygai

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sun, 2012-11-11 17:44
Quote:
than perhaps it would have something to do with the header module. Agreed?

No.

floridave wrote:
That has nothing to do with the custom_header module.

I can help but you still have failed to show a url to the site that you have the issue. It makes helping out far easier.
Or I can ask one question at a time then wait a day, get an answer from you, wait another day, provide some info, and ask another question, and wait a day and......... the cycle will continue.

What theme is that? Some themes hard code the logo size and others don't. Did you try to just make your image bigger? If that did not work then I suspect that the logo is hard coded in the theme page.html.php page.

Perhaps searching for logo bigger might help you out.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Sun, 2012-11-11 18:24

I gave you a snapshot of the page that is also the exact replica of the URL. Here also sir, is the URL of the gallery in question. You'll see that even though one can create their own logo, they are indeed limited with the "space" that the menu items reside in. And that has been my question from the start.

Here is the URL of the gallery in question:
http://www.hansonartists.com

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2012-11-12 04:16

Now since give me a url to the site in question and not a url to a module I know about... I can tell that you are using the clean_canvas theme and that you have replaced the default image. Now with that info, I can give you some more detailed directions on how to do what I think you are after.

the image that you are using is bigger than the the one that the theme developer provided and hard coded into the theme.
Your image is 425 x 147. You are going to have to remove or chanage the height and width in the themes code as I suggested above.
Open /gallery3/themes/clean_canvas/views/page.html look for:

          <a id="g-logo" class="g-left" href="<?= item::root()->url() ?>" title="<?= t("go back to the Gallery home")->for_html_attr() ?>">
            <img width="128" height="44" alt="<?= t("Gallery logo: Your photos on your web site")->for_html_attr() ?>" src="<?= $theme->url("images/canvaslogo.png") ?>" />
          </a>

and adjust the height and width as needed or just remove the height and width parameters if you want to go that route. I have not used this theme or customized it much so you might have to add some css to avoid some overlap of your logo with other elements.
Just add:

#g-banner {
height: 147px;
}

to the themes css and adjust as needed.

That should sort out the logo/header/banner/emblem issue and don't call me sir.

Dave

____________________________________________
Blog & G2 || floridave - Gallery Team

 
tseyigai

Joined: 2012-11-06
Posts: 47
Posted: Mon, 2012-11-12 14:08

Thank you that worked.

Tseyigai

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Mon, 2012-11-12 21:36

Comments are now locked for this topic.