Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Attribute Module Position Again

    For the life of me I cannot seem to find the correct parameters to change to have the Attributes and the Add to Cart modules on the same row.
    I can see that the attributes wrapper is as wide as the center column, which keeps the add to cart from moving up, but what do I need to.
    http://minu.me/2slk

    Thank you,
    12:01 am

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

    Default Re: Attribute Module Position Again

    You would either need to define the attributes and their wrapper in the stylesheet on there own and adjust the width and play around that way (maybe - A guess)

    Or you could change:

    #cartAdd {
    background-image:url("../images/payments_sm.jpg");
    background-position:center bottom;
    background-repeat:no-repeat;
    border:1px solid #535355;
    clear:right;
    float:left;
    margin:1em 15px 1em 0;
    padding:2em 2em 35px;
    text-align:center;
    }

    To:
    #cartAdd {
    background-image:url("../images/payments_sm.jpg");
    background-position:center bottom;
    background-repeat:no-repeat;
    border:1px solid #535355;
    clear:right;
    float:right;
    margin:-12em 15px 1em 0;
    padding:2em 2em 35px;
    text-align:center;
    }

    You'd have to check it holds up to cross browser scrutiny and such - logically to me though I don't think there is a problem in using the negative margin in this instance - although I stand to be corrected.
    Steve
    Site Under Construction: adatglobal.com

  3. #3
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Attribute Module Position Again

    Thank you for the suggestion, unfortunately that option won't work.
    When the number of attribute choices decrease the Add to Cart ends up floating up and on top of the tabbed products pro.
    I need to better define the attributes in the stylesheet.

    Thank you,
    Stephen

  4. #4
    Join Date
    Jan 2009
    Posts
    310
    Plugin Contributions
    0

    Default Re: Attribute Module Position Again

    I see now, and fully understand what you mean, limiting the attributes to a particular width via the stylesheet would I think be a good place to start.

    I presume you have firebug installed in your firefox browser to identify the elements you need to define in your stylesheet?
    Steve
    Site Under Construction: adatglobal.com

  5. #5
    Join Date
    Oct 2009
    Location
    Texas
    Posts
    194
    Plugin Contributions
    0

    Default Re: Attribute Module Position Again

    Quote Originally Posted by stiggy100 View Post
    I presume you have firebug installed in your firefox browser to identify the elements you need to define in your stylesheet?
    Yes, but unfortunately the Attributes inherit positioning from the main wrapper with only a few defines in the stylesheet
    If you turn on the "View Comments" option in firebug you will see where I commented about moving the Attributes in the tpl_product_info_display.php just to get it where it is now.
    It's a fun challenge I take when I play with trying to make this one thing just right. Exasperating, but fun.

 

 

Similar Threads

  1. v151 Trying to change attribute text and position
    By doooomed in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Mar 2013, 09:03 PM
  2. Attribute copying - Again.....
    By zan_dude in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 2 Dec 2012, 02:30 AM
  3. Custom Attribute Position - Stock/Special Order Notice
    By ChrisDrumm in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 31 May 2009, 12:48 PM
  4. Problem with attribute position
    By snow-man in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Nov 2008, 11:06 PM
  5. Change Attribute Position With CSS?
    By enchantedone in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 23 Aug 2006, 07:26 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