Zen Cart Logo

Tag Line

Locked

Views: 2,512

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
23 Jul 2008, 10:45 AM
#1
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Tag Line

How do I put an image into the tagline please.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
23 Jul 2008, 10:59 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Tag Line

I think tagline is in metatags and have not tried this with that file but works for defines in english.php

Find defines for tagline and insert into/between the single quotes

'url(../images/image.jpg)'

Locate image in your template/images dir

Zen-Venom Get Bitten

23 Jul 2008, 1:49 PM
#3
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: Tag Line

Thanks,

Just tried that and it did not work....

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
23 Jul 2008, 1:58 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Tag Line

Could you use it as a background image in **#tagline **in the stylesheet?

23 Jul 2008, 2:32 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: Tag Line

Use <img src="path/to/your/image.gif" alt="description of your image" /> in the language file

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Jul 2008, 2:48 PM
#6
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: Tag Line

kobra:

I think tagline is in metatags and have not tried this with that file but works for defines in english.php

Find defines for tagline and insert into/between the single quotes

'url(../images/image.jpg)'


 Placed  this in english.php.  //define('SITE_TAGLINE', 'url(../images/logo2.jpg)';  did not work.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
23 Jul 2008, 2:49 PM
#7
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,659
Plugin Contributions:
0

Re: Tag Line

^^^ Read my post above

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

23 Jul 2008, 3:39 PM
#8
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: Tag Line

Kim:

^^^ Read my post above

I placed this in the english.php file in my template and still nothing shows.

//define('SITE_TAGLINE', <img src="../images/logo2.jpg" alt="Home for all collectors"/>;

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
24 Jul 2008, 10:20 AM
#9
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Tag Line

<img src="../images/logo2.jpg"
Where is this image?

The above references

/images/logo2.jpg

Not

/includes/templates/your_template/images

Zen-Venom Get Bitten

24 Jul 2008, 11:28 AM
#10
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: Tag Line

kobra:

Where is this image?

The above references

/images/logo2.jpg

Not

/includes/templates/your_template/images Kobra I have checked and the image is in /includes/templates/silverfish/images/logo2.jpg

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
24 Jul 2008, 4:40 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Tag Line

Kobra I have checked and the image is in /includes/templates/silverfish/images/logo2.jpg
I left the src out initially and should have caught this as Kim pointed out...

So either leave you code as is and place the image at /images

Or change the code to

<img src="url(../images/image.jpg)" alt="description of your image" /> 

Zen-Venom Get Bitten

25 Jul 2008, 11:36 AM
#12
silverkop avatar

silverkop

Zen Follower

Join Date:
Sep 2006
Location:
U.K.
Posts:
164
Plugin Contributions:
0

Re: Tag Line

Thanks for your help. I decided to just change the header image and quite happy now.

Stephen.

  • ZenCart v:1.3.9h - Template: Simply_Kerrin- Column layout grid. v:1.3.6 - big royal mail. v:2.3.4 - stock by attributes 4.7 - Logo Sidebox - SitemapXML v2s.
16 Mar 2009, 1:05 PM
#13
dreamwheel avatar

dreamwheel

New Zenner

Join Date:
Feb 2009
Posts:
16
Plugin Contributions:
0

Re: Tag Line

I replace the logo.gif with taline_background.jpg(the background pic of tagline).
Then I change the parts of logo in stylesheet.css:
#logo {
width:70em;
}
#logo img {
width:100%;
}

Then it works.

Of course, I add the logo in the jpg file.