Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default 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....ume-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. #2
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

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

    Add this

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

    HTML Code:
    <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

  3. #3
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

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

    You said left so this

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

  4. #4
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

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

    Quote Originally Posted by djdavedawson View Post
    You said left so this

    HTML Code:
    <img style="float:left" src="path/to/file.jpg" width="300" height="225" />
    Oh, thank you so much! It looks awesome!!!

    http://designerperfumesnob.authsafe....ume-c-656.html

  5. #5
    Join Date
    Jul 2005
    Location
    Orlando, Fl
    Posts
    345
    Plugin Contributions
    0

    Default 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.

    HTML Code:
    <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.

  6. #6
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

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

    Quote Originally Posted by djdavedawson View Post
    You're welcome. You can also try moving the IMG tag inside the P tag.

    HTML Code:
    <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.

  7. #7
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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 Code:
    <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>.

  8. #8
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

    Default 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??

  9. #9
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default 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;

  10. #10
    Join Date
    May 2012
    Posts
    564
    Plugin Contributions
    0

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

    That's perfect :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 1 Feb 2015, 03:35 PM
  2. Remove product image from product page NOT category image
    By rgoetz in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 3 Aug 2011, 11:25 AM
  3. Category bg button image - where to place?
    By beyre in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 8 Mar 2009, 10:47 PM
  4. How can I hide the category image on the product info page?
    By rstevenson in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 7 Nov 2008, 09:04 PM
  5. Can I put an image in place of category links on main?
    By Maxx409 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Dec 2006, 01:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg