Grey Dragon Theme

flaviove

Joined: 2012-12-28
Posts: 14
Posted: Sun, 2013-04-21 21:34

Hi All,

Header Text is replacing the logo on Grey Dragon Theme. My logo has only 149x61 pixels.
What should I do to get it working fine.
Any help will be great.
Thanx in advance,
Flávio Veras

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-04-22 02:53

Could be fixed with CSS but without a url to see it would be hard to give directions.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
flaviove

Joined: 2012-12-28
Posts: 14
Posted: Mon, 2013-04-22 11:35

Hi Dave,

Thank you for your quick answer.
There we go: https://seminfra.dyndns.org/gallery3.
If you need something else please drop a line.
Thanx
Flávio Veras

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-04-22 13:34

You can add:

#g-header {
  height: 150px!important;
}

to your css.
I don't see a logo at all in the header in your source so you must have not added it.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
flaviove

Joined: 2012-12-28
Posts: 14
Posted: Mon, 2013-04-22 15:00

Hi Dave,

If I have any text on "Header Text" the logo doesn´t show up.
Now I took out the text and we can see the logo there.
On the ...*gallery3/css/layaout.css file I did what we can see bellow, following what you said, but nothing happened.
Thanx,
Flávio

-------------------------------

/**
* Gallery 3 Grey Dragon Theme
* Copyright (C) 2006-2011 Serguei Dosyukov
*
* CSS rules related to general layout
* Defined as 70em wide
*/

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
/* layout.css - Common ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

html { overflow: auto; overflow: -moz-scrollbars-vertical; overflow-y: scroll; }
* { margin: 0px; }
body { min-width: 1020px; padding: 0; }
.g-hideitem { display: none; }

/* layout.css - Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#g-header { position: relative; min-width: 1020px; z-index: 5; }
g-header {
height: 150px!important;
}

/* layout.css - Main ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#g-main { min-width: 1020px; height: auto; bottom: auto; }
#g-main-in { min-width: 1020px; height: 100%; aoverflow: auto; bottom: auto; }

#g-column-left { float: left; width: 230px; min-height: 32em; overflow: hidden; height: 100%; }
#g-column-right { float: right; width: 230px; min-height: 32em; overflow: hidden; height: 100%; }
#g-column-center { margin: 0 17em 0 17em; min-height: 32em; overflow: hidden; height: 100%; }
#g-column-centerleft { min-height: 32em; overflow: hidden; height: 100%; }
#g-column-centerright { min-height: 32em; overflow: hidden; height: 100%; }
#g-column-centerfull { position: relative; min-height: 31em; overflow: hidden; height: 100%; }
#g-column-top { display: block; overflow: hidden; }
#g-column-bottom { display: block; overflow: hidden; }

/* layout.css - Footer ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

#g-footer { position: relative; height: auto; min-width: 70em; min-height: 2.8em; clear: both; display: block; overflow: auto; }
#g-footer-leftside { float: left; display: inline; }
#g-footer-rightside { float: right; display: inline; }

/* layout.css - Extended Layout ~~~~~~~~~~~~~~~~~~~~~~*/

/* layous.css - Extended Layout - 3 columns+sidebar ~~*/
body.g-extended.g-column-3.g-sidebar-right #g-header,
body.g-extended.g-column-3.g-sidebar-right #g-footer,
body.g-extended.g-column-3.g-sidebar-right #g-main,
body.g-extended.g-column-3.g-sidebar-right #g-main-in,
body.g-extended.g-column-3.g-sidebar-left #g-header,
body.g-extended.g-column-3.g-sidebar-left #g-footer,
body.g-extended.g-column-3.g-sidebar-left #g-main,
body.g-extended.g-column-3.g-sidebar-left #g-main-in { min-width: 1250px; }

/* layous.css - Extended Layout - 4 columns ~~~~~~~~~~*/
body.g-extended.g-column-4 #g-header,
body.g-extended.g-column-4 #g-footer,
body.g-extended.g-column-4 #g-main,
body.g-extended.g-column-4 #g-main-in { min-width: 1342px; }

/* layous.css - Extended Layout - 4 columns+sidebar ~~*/
body.g-extended.g-column-4.g-sidebar-right #g-header,
body.g-extended.g-column-4.g-sidebar-right #g-footer,
body.g-extended.g-column-4.g-sidebar-right #g-main,
body.g-extended.g-column-4.g-sidebar-right #g-main-in,
body.g-extended.g-column-4.g-sidebar-left #g-header,
body.g-extended.g-column-4.g-sidebar-left #g-footer,
body.g-extended.g-column-4.g-sidebar-left #g-main,
body.g-extended.g-column-4.g-sidebar-left #g-main-in { min-width: 1580px; }

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2013-04-22 16:08

When you add header text to the themes admin settings it only uses the text/html. It does not use both. If you want both you have to add the text and the HTML for the image you want.
So this should work adding to the themes admin setting:

This is some text<br />
<a href="http://example.com"><img src="http://example.com/path/to/image/image.jpg" height="100" width="125" /></a><br />
Then more text here.

You might need the html_purifier module as well.

Dave

_____________________________________________
Blog & G2 || floridave - Gallery Team

 
flaviove

Joined: 2012-12-28
Posts: 14
Posted: Mon, 2013-04-22 23:42

Hi Dave,

Thank you so much.
It works, but I had to get only one line of text below the logo.
Like this: (good:)
<a href="http://exemple.com/gallery3"><img src="http://exemple.com/gallery3/lib/images/logo.png" height="100" width="150" /></a><br/>This is some text - Then more text here

If I try to put one more line I am not be able to see some tabs from menu.
Like this: :(not good)
<a href="http://exemple.com/gallery3"><img src="http://exemple.com/gallery3/lib/images/logo.png" height="100" width="150" /></a><br/>This is some text<br/>Then more text here

Cheers,
Flávio Veras

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-04-23 12:59

So you still need to adjust the height of with css.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2013-04-23 13:00
 
flaviove

Joined: 2012-12-28
Posts: 14
Posted: Tue, 2013-04-23 16:11

Unfortunately yes. But I can stick with Grey Dragon Theme like it is, for now.
Yes, they are different. Right now I am using Grey Dragon Theme and not Grey Dragon Wind Theme

Cheers,
Flávio

 
CherylJoyW

Joined: 2012-08-19
Posts: 42
Posted: Wed, 2013-04-24 20:42

How do I move the Description to the right of the photo in the gallery.
Presently the only options I have are top and bottom.
I can put an Album Description in the Sidebar..
BUT it is the PHOTO Description I need on the right.

any help to solve this would be appreciated.

Thank you in advance
Cheryl