Changing logo.

blah1764

Joined: 2006-10-30
Posts: 7
Posted: Mon, 2006-10-30 01:57

I have created a new logo to put at the top left of my gallery. It is 600x75 pixels. I replaced the original file with this new one, but I can't find where in the code to resize it so that its not scrunched.

Just take a look you'll see what I mean:
http://www.versatilestile.com/gallery4/

P.S. How do I set the default color scheme for all users / guests to black?

-Josh

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-10-30 02:12

themes/matrix/theme.tpl find

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

looks like you got the black sorted.
PS try the colorpack module and color packs.

Dave

____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
blah1764

Joined: 2006-10-30
Posts: 7
Posted: Mon, 2006-10-30 02:30

next to yoda, youre probably my favorite person in the universe right now

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2006-10-30 04:18

ooops :
themes/matrix/templates/theme.tpl
and save as
themes/matrix/templates/local/theme.tpl

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
blah1764

Joined: 2006-10-30
Posts: 7
Posted: Mon, 2006-10-30 23:50

hmm this did not seem to do the trick

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2006-10-31 02:49

sorry I overlooked that you are using the classic theme
themes/classic/templates/theme.tpl
and save as
themes/classic/templates/local/theme.tpl

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Wed, 2006-11-15 15:15

I am trying to work out how to make the header logo a clickable link that will take people back to my main website...

Can anyone help out on this?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2006-11-15 16:01

assuming matrix theme and the small gallery logo......
in
themes/matrix/theme.tpl find

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

And change to
themes/matrix/local/theme.tpl find

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

____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Wed, 2006-11-15 16:38

Goodness! That was far easier than I imagined! Thank you so much! I have lots of CSS study to do!

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Thu, 2006-11-16 01:22

Before my CSS book arrives, I have been now trying to work out how to add a little padding on my logo so that it matches the position of the same logo in my main site. I have been doing some CSS web tutorials and from what I understand, to do that I need to edit the CSS style information for ‘container’ that holds the logo. As the logo appears in the gsHeader section I have been trying to find that in the theme.css but without luck...

Could someone point me in the right direction?

Thanks in advance!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2006-11-16 06:21

URL would be helpfull then I can edit the CSS on the fly

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Thu, 2006-11-16 07:22

Thanks for your help...

Here is the URL <http://www.harmonicslife.net/gallery/main.php>

I look forward to hearing from you!

 
Premiumblue

Joined: 2006-10-07
Posts: 4
Posted: Sat, 2006-11-18 12:36

Can anyone tell me where to download the Dutch translation of the add-to-cart module as seen on the website of the Topic Starter ? I've sent hime a private message, but still no reaction.
There is also no e-mail adress on his web page..... Otherwise I would have tried that one...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Sat, 2006-11-18 16:36
DamienA wrote:
Before my CSS book arrives, I have been now trying to work out how to add a little padding on my logo so that it matches the position of the same logo in my main site. I have been doing some CSS web tutorials and from what I understand, to do that I need to edit the CSS style information for ‘container’ that holds the logo. As the logo appears in the gsHeader section I have been trying to find that in the theme.css but without luck...

Could someone point me in the right direction?

Thanks in advance!

On you main page you have:
<BODY ..... MARGINWIDTH="30" MARGINHEIGHT="10" TOPMARGIN="10" LEFTMARGIN="30">
edit the css you have and find:

body.gallery {
    margin: 0;
    padding: 0;
}

and change to:

body.gallery {
MARGINWIDTH: 30px;
 MARGINHEIGHT:10px;
 TOPMARGIN: 10px;
 LEFTMARGIN: 30px;
}

I think you want the padding/margin(s) of the page(s) to match.
Play with those numbers to see if that works out for you.

Dave
____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Mon, 2006-11-20 09:41

I got quite busy and was not able to attempt this till just now...

Followed your excellent explanation to a T but for some reason, I don’t see any changes in the position of the logo. I have reloaded the browser, tried some other browsers, changed all the numbers to 200px, changed the words to lowercase... but it doesn’t budge...

I am editing the theme.css in gallery/themes/matrix

What might I be doing wrong, I wonder?

Thanks again for your assistance Dave...

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Wed, 2006-11-22 04:45

you are editing the right css
revert back to the original and try:

#gallery {
padding-left: 20px;
padding-top: 0px;
}

____________________________________________________
Blog with G2 || Gallery Frames / Mods || G1 Test Gallery

 
DamienA
DamienA's picture

Joined: 2003-05-25
Posts: 203
Posted: Wed, 2006-11-22 16:37

That did the trick Dave...

I can see that CSS is going to take some serious learning...

Thank you so much!

For my records, I ended up using:

#gallery {
padding-left: 30px;
padding-top: 10px;

 
george9t8

Joined: 2007-02-06
Posts: 129
Posted: Wed, 2007-02-21 16:00

Josh,

I just visited your site and I was automatically logged in as admin and I could make changes to your website.

Surely this is a serious security flaw?