Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 26
  1. #11
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Product Image Position

    You can get rid of all the repeated
    width="50%" align="left" valign="top" style="background-color: #F3F3F3;"
    in the <td> tags, and put one declaration in your stylesheet that will control them all.
    Code:
    #productDescription td {
        width: 50%;
        text-align: left;
        vertical-align: top;
        background-color: #F3F3F3;
        }

  2. #12
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    I can't figure how to get rid of those repeated declarations. What drives those? They are not in the stylesheet.css that I can find. Is it a .php file? I'm using Firebug, also. This area is in a form.

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

    Default Re: Product Image Position

    When you do a view source, everything you see in that part of the page (the whole table) is in the product description text. Did you copy & paste a manufacturer's description?

  4. #14
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    I looked up these tags with the Developer Tool Kit and turned up nothing.

  5. #15
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    No, I did not copy/paste anything.

  6. #16
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    I think our posts are a little out of order. How do I locate and control "product description text"?

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

    Default Re: Product Image Position

    The product description is what you enter in the textbox when creating/editing a product. It is stored in the database, so you will never find it with the Developers Toolkit.

    You could change the product description from
    HTML Code:
    <table width="50%" border="0" cellpadding="1" cellspacing="2">
    			<tr>
    				<td width="50%" align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Artist</td>
    				<td width="50%" align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Degas</td>
    
    			</tr>
    			<tr>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Item #</td>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">9542</td>
    			</tr>
    			<tr>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Image Size</td>
    
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">27.5X27.75</td>
    			</tr>
    			<tr>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Poster Size</td>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">31.5X23.5</td>
    			</tr>
    			<tr>
    
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Price</td>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">29.95</td>
    			</tr>
    			<tr>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Publication Type</td>
    				<td align="left" valign="top" style="background-color: #F3F3F3;" class="bodycopy">Distributed</td>
    			</tr>
    
    			
    			</table>
    			<br>
    			<br>
    			<br>
    			<br>
    			Keywords: <span style="font-size:10px; color:#0000FF">Hills, Horse, Jockey, Plants, Animals</span>
    to
    HTML Code:
    <table>
    	<tr>
    		<td>Artist</td>
    		<td>Degas</td>
    
    	</tr>
    	<tr>
    		<td>Item #</td>
    		<td>9542</td>
    	</tr>
    	<tr>
    		<td>Image Size</td>
    		<td>27.5X27.75</td>
    	</tr>
    	<tr>
    		<td>Poster Size</td>
    		<td>31.5X23.5</td>
    	</tr>
    	<tr>
    		<td>Price</td>
    		<td>29.95</td>
    	</tr>
    	<tr>
    		<td>Publication Type</td>
    		<td>Distributed</td>
    	</tr>
    </table>
    <br>
    Keywords: <span>Hills, Horse, Jockey, Plants, Animals</span>
    in conjunction with the stylesheet declarations
    Code:
    #productDescription table {
        width: 50%;
        text-align: left;
        vertical-align: top;
        background-color: #F3F3F3;
        }
    
    #productDescription td {
        width: 50%;
        padding: 2px;
        }
    
    #productDescription span {
        margin-top: 6em;
        font-size: 10px;
        color: #0000FF;
        }
    and you would never need to enter the whole mass of code in descriptions again, which would also make it much easier to understand when looking at the raw text.
    Last edited by gjh42; 5 Dec 2007 at 06:19 PM.

  8. #18
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    Thanks, Glenn. I didn't enter the product descriptions. Someone else did. How would I find the best procedure to edit this as you suggest? Am i actually looking for an html file or is this edited via the admin?

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

    Default Re: Product Image Position

    Admin > Catalog > Categories/Products > navigate to your product and click the "e" button on the right.

    If you have an HTML editor active in your admin, you won't be able to see the code in the description window. Try turning it off if that is the case.

  10. #20
    Join Date
    Nov 2007
    Location
    Dallas, Texas USA
    Posts
    183
    Plugin Contributions
    0

    Default Re: Product Image Position

    I apologize, but are you suggesting I need to edit each of over 4000 products one at a time with this method? You make a statement below "and you would never need to enter the whole mass of code in descriptions again, which would also make it much easier to understand when looking at the raw text."

    But, is this the only way to do this?? I hope I misunderstand. Would you clarify? I'm hoping there is a more global option.

    Jack

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. image position within product listing
    By ttfan in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 18 Mar 2011, 07:55 AM
  2. How to Change Image Position on Product Page?
    By Manor in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 14 Sep 2010, 08:00 AM
  3. Change position of image of product
    By neal99 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 20 Apr 2010, 08:09 AM
  4. Product Image & Description Position!!
    By frontier2002 in forum Templates, Stylesheets, Page Layout
    Replies: 35
    Last Post: 12 Sep 2009, 10:13 PM

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