Forums / Templates, Stylesheets, Page Layout / Adding a logo next to one item

Adding a logo next to one item

Locked

Views: 1,312

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
27 Feb 2010, 4:17 PM
#1
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Adding a logo next to one item

How and Where do I add coding to a LOGO on one paticular item, so the picture is on the left and the logo just to the right of the pic.

27 Feb 2010, 4:26 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Adding a logo next to one item

What page display are you referring to?

Zen-Venom Get Bitten

27 Feb 2010, 4:27 PM
#3
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Adding a logo next to one item

Why not just make the product image a bit bigger to incorporate both the picture of the product and the logo?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Feb 2010, 4:36 PM
#5
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Adding a logo next to one item

So why not insert the image into the product description?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

27 Feb 2010, 4:40 PM
#6
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Adding a logo next to one item

Thanks for the reply kuroi but, How do I code that in the discription page of the product. The image name is "nitelite1"
and what file to a put the image into?

27 Feb 2010, 4:51 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding a logo next to one item

When editing the product description, add something like this:```html
<img src="includes/templates/your_template/images/nitelite1.gif" class="descriptionLogo" />

You can use 
.descriptionLogo {}
in your stylesheet to affect the display of this logo.
.descriptionLogo {float: right;}
will make it move to the top right of the description area, as long as it is the first thing in the description. It will not show in the product listing page, only the product info page.

Save the image in /includes/templates/your_template/images/nitelite1.gif.
27 Feb 2010, 5:04 PM
#8
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Adding a logo next to one item

Thanks for the help gjh42
Do also put the whole HTML code in the css style sheet?
Also I am not familar with what is .descriptionLogo {},
Is that the name of the gif. or do I leave it as .descriptionLogo {}

27 Feb 2010, 5:16 PM
#9
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Adding a logo next to one item

Got the logo in the area... Now I need to get it in position.

27 Feb 2010, 5:16 PM
#10
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Adding a logo next to one item

You don't put any HTML in your stylesheet, ever.

.descriptionLogo is the class name I suggest adding to your image code, so that it can be manipulated with a rule you add to the stylesheet (like .descriptionLogo {float: right;} }.

27 Feb 2010, 5:22 PM
#11
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Adding a logo next to one item

It worked perfectly...Thanks so much:clap::clap::clap: