Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24
  1. #11
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Product Description Page Alignment Help

    Try this:

    move all the block of

    <!--bof Add to Cart Box -->
    code
    <!--eof Add to Cart Box-->
    more code
    <!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

    which includes the tell a friend, my gift list etc.

    below the
    <!--eof Product description -->

    The red border of the div is so that you can see it better, when done remove it.

    and above the
    <br class="clearBoth"> (see the note below)
    <!--bof Attributes Module -->

    Then wrap both blocks into a div styled like this
    <div style="border:1px solid #ff0000; float:left;width: 790px">
    Don't forget the closing </div> after <!--eof Attributes Module -->

    also remove the <br class="clearBoth"> (note below)

  2. #12

    Default Re: Product Description Page Alignment Help

    Quote Originally Posted by keneso View Post
    Try this:

    move all the block of

    <!--bof Add to Cart Box -->
    code
    <!--eof Add to Cart Box-->
    more code
    <!--eof creinold Pinterest Modifications, (You can move this anywhere you like the Pin it Button to show up on Product Info page.) -->

    which includes the tell a friend, my gift list etc.

    below the
    <!--eof Product description -->

    The red border of the div is so that you can see it better, when done remove it.

    and above the
    <br class="clearBoth"> (see the note below)
    <!--bof Attributes Module -->

    Then wrap both blocks into a div styled like this
    <div style="border:1px solid #ff0000; float:left;width: 790px">
    Don't forget the closing </div> after <!--eof Attributes Module -->

    also remove the <br class="clearBoth"> (note below)
    Okay on this part:

    Then wrap both blocks into a div styled like this
    <div style="border:1px solid #ff0000; float:left;width: 790px">

    I add that to my stylesheet under #cartAdd and #productAttributes?

    I think I got it moved right in my tpl_product_info_display.php

  3. #13
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Product Description Page Alignment Help

    You can either put it in the tpl_product_info_display.php as it is, or put a <div class="my_add_and_attribute_box"> and then reference that in the stylesheet like
    .my_add_and_attribute_box {
    border:1px solid #ff0000; float:left;width: 790px
    }

    In both cases you need to add the closing </div>

    Of course you can name it what you want.

    Also please note the red border is there for you to better see the box, and once you are satisfied you can remove it.

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

    Default Re: Product Description Page Alignment Help

    <div style="border:1px solid #ff0000; float:left;width: 790px">

    gives all of the styling inline in your PHP file, without reference to the stylesheet. The more "proper" way would be to use something like

    <div class="myAttributes">

    in the PHP file, and add to your stylesheet

    .myAttributes {border:1px solid #ff0000; float:left; width: 790px;}


    ...Like keneso said:)

  5. #15

    Default Re: Product Description Page Alignment Help

    Quote Originally Posted by keneso View Post
    You can either put it in the tpl_product_info_display.php as it is, or put a <div class="my_add_and_attribute_box"> and then reference that in the stylesheet like
    .my_add_and_attribute_box {
    border:1px solid #ff0000; float:left;width: 790px
    }

    In both cases you need to add the closing </div>

    Of course you can name it what you want.

    Also please note the red border is there for you to better see the box, and once you are satisfied you can remove it.
    Thanks! Did I do that right? I took the border off.

  6. #16

    Default Re: Product Description Page Alignment Help

    Quote Originally Posted by gjh42 View Post
    <div style="border:1px solid #ff0000; float:left;width: 790px">

    gives all of the styling inline in your PHP file, without reference to the stylesheet. The more "proper" way would be to use something like

    <div class="myAttributes">

    in the PHP file, and add to your stylesheet

    .myAttributes {border:1px solid #ff0000; float:left; width: 790px;}


    ...Like keneso said:)
    Thank you! I think I got it. :)

  7. #17
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Product Description Page Alignment Help

    You are on the right track.

    Sorry I forgot to tell you should add float: left to your productAttributes in stylesheet.

    And like said the myAttributes should start right after productDescription, and end after productAttributes.

  8. #18

    Default Re: Product Description Page Alignment Help

    Quote Originally Posted by keneso View Post
    You are on the right track.

    Sorry I forgot to tell you should add float: left to your productAttributes in stylesheet.

    And like said the myAttributes should start right after productDescription, and end after productAttributes.
    Okay I think I got it. This stuff can be confusing sometimes. lol

    Is that how it's supposed to look?

  9. #19
    Join Date
    May 2009
    Posts
    1,254
    Plugin Contributions
    3

    Default Re: Product Description Page Alignment Help

    Yes, now it's almost done, add the
    float: left;
    to your #productAttributes in the stylesheet

    #productAttributes {
    background: none repeat scroll 0 0 #E4E3CC;
    border: 1px solid #F3ECD9;
    float: left;
    padding: 10px 14px;
    }

    Then tweak all to your likes, don't forget the pinit button, which is overlapping the socials.

  10. #20

    Default Re: Product Description Page Alignment Help

    Quote Originally Posted by keneso View Post
    Yes, now it's almost done, add the
    float: left;
    to your #productAttributes in the stylesheet

    #productAttributes {
    background: none repeat scroll 0 0 #E4E3CC;
    border: 1px solid #F3ECD9;
    float: left;
    padding: 10px 14px;
    }

    Then tweak all to your likes, don't forget the pinit button, which is overlapping the socials.
    I did change that before. Idk why it's not moving to the left.

 

 
Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Product description alignment
    By krisdiamond in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 Jan 2011, 10:42 PM
  2. Need help with horizontal alignment of product page
    By strugglingnovice in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 7 Jul 2010, 09:21 AM
  3. product description alignment
    By louisapple in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 29 Apr 2009, 04:51 PM
  4. Product Description Alignment Question
    By DPM in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 29 Apr 2009, 09:14 AM
  5. Product Image and Description Alignment
    By Stenrique in forum Basic Configuration
    Replies: 3
    Last Post: 2 Nov 2006, 05:58 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