Page 1 of 4 123 ... LastLast
Results 1 to 10 of 36
  1. #1
    Join Date
    Jun 2009
    Location
    USA
    Posts
    44
    Plugin Contributions
    0

    Default Product Image & Description Position!!

    The default setting for product image is align left and description follow after that. This make the whole thing look messy

    I have searched the forum about this but nothing much help.

    My problem is:

    How can i adjust the product image to the center and put the description below the image.
    Currently it look like this: http://cheap-activation.com/index.ph...&products_id=9

    You see the image and description looking messy.
    Agik Idup Agik Ngelaban
    Adil Ka' Talino, Bacarumin Ka Saruga, Masenggat Ka Jubata

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product Image & Description Position!!

    One can edit a copy of tpl_product_info_display.php for order and add a clear to force a new line after the image
    Or you might have a look at a module for creating tabs for your description, specifications, etc with a module

    http://www.zen-cart.com/index.php?ma...roducts_id=924
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jun 2009
    Location
    USA
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Image & Description Position!!

    Ok i will look into this and inform you the result later
    Agik Idup Agik Ngelaban
    Adil Ka' Talino, Bacarumin Ka Saruga, Masenggat Ka Jubata

  4. #4
    Join Date
    Jun 2009
    Location
    USA
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Image & Description Position!!

    Quote Originally Posted by kobra View Post
    One can edit a copy of tpl_product_info_display.php for order and add a clear to force a new line after the image
    Or you might have a look at a module for creating tabs for your description, specifications, etc with a module

    http://www.zen-cart.com/index.php?ma...roducts_id=924
    Sorry after looking at the whole code structure of the tpl_product_info_display.php now i am confused which one should i edit and what code to put to make the image go center and description below it
    Agik Idup Agik Ngelaban
    Adil Ka' Talino, Bacarumin Ka Saruga, Masenggat Ka Jubata

  5. #5
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product Image & Description Position!!

    Add the clear as indicated in red
    Code:
    <!--eof free ship icon  -->
    <br class="clearBoth" />
     <!--bof Product description -->
    styling for centering will be through your stylesheet
    Zen-Venom Get Bitten

  6. #6
    Join Date
    Jun 2009
    Location
    USA
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Image & Description Position!!

    Quote Originally Posted by kobra View Post
    Add the clear as indicated in red
    Code:
    <!--eof free ship icon  -->
    <br class="clearBoth" />
     <!--bof Product description -->
    styling for centering will be through your stylesheet
    Sorry to ask too much..but which stylesheet should i edit?? where is the location.
    Agik Idup Agik Ngelaban
    Adil Ka' Talino, Bacarumin Ka Saruga, Masenggat Ka Jubata

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Product Image & Description Position!!

    Sorry to ask too much..but which stylesheet should i edit?? where is the location.
    The one that came with your TemplateMonster template - -and you should search this site for them and their issues
    Zen-Venom Get Bitten

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

    Default Re: Product Image & Description Position!!

    You appear to have added a bunch of blank lines to your description to get the text below the image. You don't actually need to use this trick or edit any PHP files; just add to your stylesheet:

    #productDescription {clear: both;}

    and then delete the extra lines in your description.

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

    Default Re: Product Image & Description Position!!

    If you really want the main product image centered, all you need to do is add to your stylesheet_main.css

    #productMainImage {float: none;}

    This will put the description below the image without any clear: both; required.

    Then if you want the price on the right, find this in stylesheet_main and add float: right; as shown

    #productPrices {color:#C70E06; font-family:tahoma; font-size:13px; line-height:normal; font-weight:bold; float: right;}

  10. #10
    Join Date
    Jun 2009
    Location
    USA
    Posts
    44
    Plugin Contributions
    0

    Default Re: Product Image & Description Position!!

    Quote Originally Posted by gjh42 View Post
    You appear to have added a bunch of blank lines to your description to get the text below the image. You don't actually need to use this trick or edit any PHP files; just add to your stylesheet:

    #productDescription {clear: both;}

    and then delete the extra lines in your description.
    Can i put this: #productDescription {clear: both;} in any line of the codes structure??
    Agik Idup Agik Ngelaban
    Adil Ka' Talino, Bacarumin Ka Saruga, Masenggat Ka Jubata

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. Replies: 148
    Last Post: 18 Oct 2023, 12:08 PM
  2. v151 Position of Attributes on product description page
    By raunharman in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Jan 2014, 05:10 PM
  3. NEWBIE: How do I position "description" on Featured & product listings?
    By hugozc in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 11 Feb 2012, 09:22 PM
  4. Fixing position of product description
    By caesartrading in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 26 Sep 2011, 11:30 AM
  5. New Product form not saving some data / not displaying description & image in store
    By danshafer in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 22 Mar 2011, 09:11 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