Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2009
    Posts
    13
    Plugin Contributions
    0

    Default Product page layout

    My product page is a bit of a mess, see here...

    http://www.football-gifts.eu/index.p...oducts_id=5837

    Basically, I want to align attributes, Facebook buttons and add to cart button horizontally, maybe with a thin keyline on top of them. Also align "Size" text and pull-down menu beside it. I've no idea where to do any of this.

    I've searched all over the forum to no avail. Any help greatly appreciated as it's driving me crazy at this stage!

  2. #2
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Product page layout

    The file to edit is:

    includes/templates/your_template/templates/tpl_product_info_display.php

    You can re-arrange the various elements inside the file to create the layout you'd like. You can create a line by using the HR tag. Something like this:

    <hr align="left" width="400px" />

    Adjust to taste.

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

    Default Re: Product page layout

    Find in your stylesheet and change the 40em to something small:
    .wrapperAttribsOptions {
    margin-top: 0.3em;
    margin-right: 40em;
    margin-bottom: 0.3em;
    margin-left: 0em;
    }

    Add to the bottom of your stylesheet:
    #productAttributes {float: left;}
    #productAttributes .clearBoth {clear: left;}
    #fb-root {float: right; width: 200px;}

    The #fb-root rule seemed to partially work when I first tested it, but doesn't now... not sure what's happening there except that it works with javascript replacement and an iframe and seems impervious to styling.

    Maybe enclosing the whole fb section in a new div with an id like #fbWrapper will let you hang onto that to style it. You would do this in tpl_product_info_display.php as mentioned above.
    Last edited by gjh42; 13 Dec 2011 at 07:56 PM.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 10 Jan 2013, 05:57 AM
  2. Product Listing display page / category page layout change question
    By cgarforth in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 16 Dec 2010, 02:37 PM
  3. Adding a new Product Type Info Page Layout options :: Product - General
    By bn17311 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 30 Aug 2010, 06:42 PM
  4. Layout for price, add cart and etc in Product Layout page
    By sgspeer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 26 Aug 2010, 09:43 PM
  5. Product Listing Page Same Layout as All Products page
    By dharma in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Mar 2007, 10:23 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR