Forums / General Questions / Can I place a non product image on a category page?

Can I place a non product image on a category page?

Started by traytray on 1 Jul 2013, 5:45 AM · Views: 1,004

Results 1 to 12 of 12
1 Jul 2013, 5:45 AM
#1
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Can I place a non product image on a category page?

I have a JPEG image that I would like to use on this page to the left of the text:

http://designerperfumesnob.authsafe.com/womens-perfume-c-656.html

The image is in : includes/templates/mycustomtemplate/images

Is there HTML I can use to set up the image where I want it and the text where I want it?

The image is an illustration of a girl with shopping bags. What would be good dimensions for the image?

Thank you~

2 Jul 2013, 2:37 AM
#2
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

Add this

<img style="float:right" src="path/to/file.jpg" width="300" height="225" />

Above this

<p style="font-size: 110%;">OK, deep breath. How could I have fallen so far behind? OK, I know

in the category description.

Besure to update the width and height

2 Jul 2013, 2:48 AM
#3
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

You said left so this

<img style="float:left" src="path/to/file.jpg" width="300" height="225" />
2 Jul 2013, 3:34 AM
#4
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

djdavedawson:

You said left so this

<img style="float:left" src="path/to/file.jpg" width="300" height="225" /> ```

Oh, thank you so much! It looks awesome!!!

http://designerperfumesnob.authsafe.com/womens-perfume-c-656.html

2 Jul 2013, 3:45 AM
#5
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

You're welcome. You can also try moving the IMG tag inside the P tag.

<p style="font-size: 110%;">
<img style="float:left" src="includes/templates/piccadilly_posh/images/snobgirl.jpg" width="300" height="275">

So it centers your H2 header.

Try it both ways.

2 Jul 2013, 4:19 AM
#6
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

djdavedawson:

You're welcome. You can also try moving the IMG tag inside the P tag.

<p style="font-size: 110%;"> <img style="float:left" src="includes/templates/piccadilly_posh/images/snobgirl.jpg" width="300" height="275"> ``` > > So it centers your H2 header. > > Try it both ways.

I must not be following you. When I copied the code you show above, nothing changes. If I just have one set of brackets <>, that holds the image code as well as the p style, then I lose the image, but the Free Shipping under the text is centered.

2 Jul 2013, 4:50 AM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: Can I place a non product image on a category page?

How do you get "just have one set of brackets <>, that holds the image code as well as the p style" from this? ```html

<p style="font-size: 110%;"> <img style="float:left" src="includes/templates/piccadilly_posh/images/snobgirl.jpg" width="300" height="275"> ``` There is a set of brackets for the <p> and another set for the <img>.
2 Jul 2013, 5:01 AM
#8
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

sorry, I got confused when you said move the img tag inside the p tag. Anyway, this is how I have it now:

<p style="font-size: 110%;"> <img style="float:left" src="includes/templates/piccadilly_posh/images/snobgirl.jpg" width="300" height="275" />

It didn't move the Free Shipping to the center. While I think it looks kind of nice where it is, I am curious how it would look centered.

As for the top, There's a lot of white space above the text on the right. I made the first two words bold to compensate for that and I think it helps, but I think a heading might look better. I don't want anything too large. I played around with a few things, but it kept messing up the h2 header, so I stopped.

Unless.....the heading Women's Perfume could be larger and centered??

2 Jul 2013, 12:42 PM
#9
gjh42 avatar

gjh42

Black Belt

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

Re: Can I place a non product image on a category page?

It didn't move the Free Shipping to the center. While I think it looks kind of nice where it is, I am curious how it would look centered. Add to your
#customHeaderTwo {} rule

clear: left;

2 Jul 2013, 6:05 PM
#10
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

That's perfect :)

2 Jul 2013, 6:30 PM
#11
djdavedawson avatar

djdavedawson

Zen Follower

Join Date:
Jul 2005
Location:
Orlando, Fl
Posts:
343
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

Yes, I agree.

Try floating the image to the right also. It may make the text on the page flow better.

Also, Your drop down nav has some issues in safari.

You may want to check that out.

~D

3 Jul 2013, 12:02 AM
#12
traytray avatar

traytray

Totally Zenned

Join Date:
May 2012
Posts:
566
Plugin Contributions:
0

Re: Can I place a non product image on a category page?

djdavedawson:

Yes, I agree.

Try floating the image to the right also. It may make the text on the page flow better.

Also, Your drop down nav has some issues in safari.

You may want to check that out.

~D

I was so happy with the result I didn't want to say the text looked too rigid. But this! This is just perfection! I thought because the illustration was facing right, she couldn't be heading off the page, but I was so wrong.

I am getting the whole drop down nav redone into a static nav, but thank you for mentioning it.

I just can't thank you enough.