Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2012
    Posts
    31
    Plugin Contributions
    0

    Default Getting attribute images to line up horizontally

    I have a lot of attribute images for the colour attribute, and I wish for them to be displayed horizantaly inline.

    Here is how it is now: Now

    This is how I want it to be: Desired

    I've already messed around with CSS setting attribImg to display:inline, but the thing separating the images seems to be a hardcoded <br> somewhere with the images (I've disabled clear:both from br class="clearboth" and that lined the images up... as well as break a lot of things) but it's not the <br> in the tpl_modules_attributes
    Last edited by anysigns; 7 Jan 2013 at 04:32 PM. Reason: Added more details

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Getting attribute images to line up horizontally

    We'll need a link to a page that has attribute images.

  3. #3
    Join Date
    Sep 2012
    Posts
    31
    Plugin Contributions
    0

    Default Re: Getting attribute images to line up horizontally

    here it is.

    http://anysigns.ca/index.php?main_pa...roducts_id=545

    Thanks for such a fast reply.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Getting attribute images to line up horizontally

    Has your template designer modified includes/modules/attributes.php ?

  5. #5
    Join Date
    Sep 2012
    Posts
    31
    Plugin Contributions
    0

    Default Re: Getting attribute images to line up horizontally

    No, the attributes.php is unmodified

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,491
    Plugin Contributions
    88

    Default Re: Getting attribute images to line up horizontally

    Add to /includes/templates/mobishop_blue/css/stylesheet.css:

    .attribImg+br { display: none; }
    .wrapperAttribOptions { clear: both; }

  7. #7
    Join Date
    Sep 2012
    Posts
    31
    Plugin Contributions
    0

    Default Re: Getting attribute images to line up horizontally

    I've done as you said, and it works perfectly.

    Thanks!

 

 

Similar Threads

  1. v139h Attribute images show vertically not Horizontally
    By ian in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Oct 2012, 11:26 AM
  2. v150 Attribute images not in-line with attribute selection
    By JacobBushnell in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 14 Aug 2012, 11:51 PM
  3. Attribute Images Won't Display Horizontally
    By aprilmarie in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jan 2012, 06:24 PM
  4. arranging attribute images horizontally
    By tcjay in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 9 Nov 2010, 09:28 PM
  5. Getting attribute names to line-up...
    By aaelghat in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 16 Aug 2008, 05:10 AM

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