Results 1 to 10 of 12

Hybrid View

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

    Default Re: Interesting Page Layout Problem

    Look for yourself that the add to cart's order in the code is AFTER your additional image code and through some code quirk it is where you want it and not due to the order.

    I am only suggesting doing it right where you will then have some control versus relying on a "quirk" that gets upset when something else changes as you now have
    Last edited by kobra; 14 Feb 2009 at 01:04 PM.
    Zen-Venom Get Bitten

  2. #2
    Join Date
    Jan 2009
    Posts
    33
    Plugin Contributions
    0

    Default Re: Interesting Page Layout Problem

    But, do you see that when I put it in the "right" order, the entire layout is thrown off. And the cart is moved to the left hand side?

    What is the best way to get it in the correct order with the layout acting appropriately?

  3. #3
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Interesting Page Layout Problem

    Well I am not sure where to start.
    You are trying to force styling in the PHP file when you are suppose to style in the CSS. I understand you are trying to have the add to cart button in the top of the page so the customer can easy find it but you are hiding the price between the images it took me a while to find it.

    Just like Kobra said you will need to start with your default tpl_product_info_display.php and use the CSS that is associate with each div to style them. Also you might need to add new tags to the CSS to get the final look you want.

    I would recommend using the developer toolbar in FF to identify the div ids and classes.

    hope that was helpful good luck.

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

    Default Re: Interesting Page Layout Problem

    This is the current order with some clear both between them that forces a new line and I am not positive what you are seeking

    Code:
    productName
    productMainImage
    productPrices
    productAdditionalImages
    cartAdd
    productAttributes
    productDescription
    
    #productAttributes {
            float: right;
            width: 40%;
            }
    cartAdd is the only one aligned right

    You can add this to your style sheet to right align these
    Code:
    #productDescription {
            width: 40%;
            float: right;
            }
    If the current order is not what you want you will have to rearrange it and then watch the clear both's and usee css as in above to move/refine
    Last edited by kobra; 14 Feb 2009 at 09:41 PM.
    Zen-Venom Get Bitten

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

    Default Re: Interesting Page Layout Problem

    Tried to add the product attributes and added to wrong box and ran out of time.....move both or apply both code segments to your stylesheet
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Interesting Problem
    By accurax in forum General Questions
    Replies: 1
    Last Post: 9 Feb 2009, 12:49 PM
  2. Interesting Problem???
    By kikboxr777 in forum General Questions
    Replies: 2
    Last Post: 16 Dec 2008, 09:39 PM
  3. Interesting Inventory problem.
    By birdoasis in forum General Questions
    Replies: 4
    Last Post: 17 Dec 2007, 06:21 PM
  4. Interesting Shipping Problem...
    By tsh in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 19 Oct 2007, 04:59 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