Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Jan 2009
    Location
    Southampton, England
    Posts
    9
    Plugin Contributions
    0

    help question Aligning product description to the right of image

    This has been causing me much pain over the past few weeks, i have done a good search of previous posts, applied changes, removed changes etc.

    I want to have the product description aligned to the right of my product images and not sitting underneath as it currently does.

    I am using the darkness template, have installed lightbox, checked the css against the classic template. When i view my site in the classic template it aligns correctly, but i cant see what is different in the css files for both.

    I have tried to change it in the tpl_product_info_display.php file but it doesnt change anything (so ive gone back to the original file)

    Im not sure how to link to my site as its not live yet, i notice that you can input the code, but im not sure you put that into a thread without just copy and pasting it.

    If anyone can show me the way i would be extremely grateful.

  2. #2
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    I was able to do this with my BottlesandFoamers.com web site.

    I had to turn off the right column though because the text looked too squished.

    This is what you need to do. When you enter the product description you need to use the body tag html

    <body> at the beginning of the description.
    </body> at the very end of your description.

    I hope this helps.

  3. #3
    Join Date
    Jan 2009
    Location
    Southampton, England
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    Thankyou very much for your suggestion, but unfortuatnly it hasnt worked

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

    Default Re: Aligning product description to the right of image

    There should never be more than one set of <body> tags on a site page: the ones built into the code at the very beginning and end.

    Does your stylesheet have a "float: left;" in the #productMainImage rule? Check this vs. the classic or template_default stylesheet. The float is what enables the text to flow around the image.

  5. #5
    Join Date
    Jan 2009
    Location
    Southampton, England
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    Im afraid that does nothing either !
    Last edited by sparklytreasures; 29 Jan 2009 at 12:02 PM.

  6. #6
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    OK my bad,

    I removed the body tags and it did not change anything.

    It was not the body tag. It was a table that I created.


    <table COLS=1 WIDTH="450" >
    <tr>
    <td> Before the text

    Your text

    </td>
    </tr>
    </table> at the end of the text.


    Try this.

  7. #7
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    I was having the same problem, I finally got my description right aligned by using this mod:
    http://www.zen-cart.com/index.php?ma...roducts_id=672

    You can then tweak the layout from there. There's a support thread for it here:
    http://www.zen-cart.com/forum/showthread.php?t=69672

    I'm still working on it, but you can see here that I've got the description, add to cart, etc. right aligned.

  8. #8
    Join Date
    Jan 2009
    Location
    Southampton, England
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    Magic man, i tried it but all it did was box up my text, it didnt move it. Thankyou anyways.

  9. #9
    Join Date
    Jan 2009
    Location
    Southampton, England
    Posts
    9
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    Quote Originally Posted by CharInLasVegas View Post
    I was having the same problem, I finally got my description right aligned by using this mod:
    http://www.zen-cart.com/index.php?ma...roducts_id=672

    You can then tweak the layout from there. There's a support thread for it here:
    http://www.zen-cart.com/forum/showthread.php?t=69672

    I'm still working on it, but you can see here that I've got the description, add to cart, etc. right aligned.
    Thankyou, thankyou, thankyou Char, took a bit of tweeking but its now doing exactly what i wanted it to.

  10. #10
    Join Date
    Jan 2009
    Location
    Vegas Baby!
    Posts
    332
    Plugin Contributions
    0

    Default Re: Aligning product description to the right of image

    Oh good :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Aligning product description to the right of image.
    By icklebits in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Oct 2011, 07:26 AM
  2. Displaying Produt Description To the right of product Image
    By sharc316 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 29 Sep 2011, 08:25 PM
  3. is it possbile to have product description to the right of product image?
    By TheBuz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Apr 2009, 02:25 AM
  4. Right sideboxes are not aligning correctly on the right
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 6 Oct 2008, 09:09 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