Results 1 to 9 of 9

Hybrid View

  1. #1
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Layout and Display of Attributes

    Ok, before I throw my computer out the window , can I borrow an extra pair of eyes please?

    Just for example:
    http://www.oldtradingpost.com/old-we...oducts_id=3949

    While the attributes are left justified as I want in FireFox, they are centered in IE. I have touched on all the classes and id's surrounding the attributes section and nothing I do changes the look in IE.

    Now what's really weird, is that I took the SAME template files I used to create the first site (IHM - will link in a moment) and just altered colors for this site (OTP - same client, owns several sites). And yet, in this site, the options are showing before the option name, where as here (link to follow) it's the opposite (and the way we want it).

    http://www.theironhorseman.com/motor...roducts_id=317

    So, to recap:

    OldTradingPost Zencart

    1) correct justification in Firefox, not in IE
    2) option name should show before option, not as shown
    3) spacing between attributes looks good.
    4) can't change "add to cart" text or the button look itself, no matter what I change in the CSS

    Ironhorseman Zencart

    1) correct justification in both browsers
    2) option name shows before options - correct
    3) spacing between attributes is slightly off
    4) "add to cart" button looks just fine

    Thanks for any insight you may have.

  2. #2
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Would still like to have some help with this as I spent hours yesterday trying to figure out why the option layout is different on both sites and yet the template and CSS concerning that portion of the sites are the exact same.

    I have #4 for OTP ok for now ...

  3. #3
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    look for following code in your css.

    .back {stylesheet.css (line 735)
    float:right;
    font-family:arial;
    font-size:11px;
    text-decoration:none;
    }

    change float right , to float left . this should send the text to left hand side of your select .
    once changed test other form elements on your site and see if this will effect how other stuff going to be aligned in your site.

  4. #4
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Well, messing with that did change other elements of my site.
    So, I created another class called options ... and changed that reference in the modules_attribues.php file .... and it did move it.

    http://www.oldtradingpost.com/old-we...oducts_id=3949

    It would be great if I could then:
    1) right-align the option names
    2) left align the drop down boxes

    Might look cleaner.

  5. #5
    Join Date
    Feb 2009
    Posts
    419
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    Well, after some fiddling, I still can't the drop down boxes to the right of the option names, even when I got their alignment right.

    Code:
    <div class="wrapperAttribsOptions" style="float:left;">
    <h4 class="optionName"><?php echo $options_name[$i]; ?></h4>
    <div class="options"><?php echo "\n" . $options_menu[$i]; ?></div>
    </div>

    Code:
    .options {
        float: left;
    	text-align: left;
    	}
    	
    .optionName {
       text-align: right;
       float: right;
       }

  6. #6
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Layout and Display of Attributes

    .optionName {
    text-align: right;
    float: right;
    }

    change float to left

 

 

Similar Threads

  1. Attributes and Display Prices
    By haabachic_2743 in forum General Questions
    Replies: 1
    Last Post: 21 Feb 2012, 12:38 PM
  2. Attribute layout and dynamic price display
    By mgwirelessllc in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 8 May 2011, 09:25 PM
  3. Column Layout in IE - Pushing Product Image and Attributes Across
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 20 Feb 2010, 07:39 PM
  4. layout on products info page - attributes and add to cart switch?
    By Sabine_in_MG in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Apr 2008, 11:22 PM
  5. Invoice layout - swapping display of postcode and county
    By palm in forum Managing Customers and Orders
    Replies: 5
    Last Post: 4 Jan 2007, 12:09 AM

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