Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Product attribute spacing

    I am using 30px x 30px swatches for color attribute. I have them displaying horizontally, but there is so much gap between each swatch. What tpl do I edit to tighten this up?

    Vito

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

    Default Re: Product attribute spacing

    Layout questions are a lot easier to answer if we can see the site.

  3. #3
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Product attribute spacing

    No problem, Steve. Here you go. http://www.ceniti.com/store_uv/index...&products_id=7

    Vito

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

    Default Re: Product attribute spacing

    .attribImg {width:3.2em;}

    You can play with margins to move them around.

  5. #5
    Join Date
    Mar 2006
    Posts
    184
    Plugin Contributions
    0

    Default Re: Product attribute spacing

    Fantastic, thanks Steve.

    Steve, let me ask you a question. You probably came across this question before and therefore already know the answer. However, being one who derives a certain amount of satisfaction solving things on my own, how could I have solved this? Is there one of the dev tools that would have let me know what proper attribute name should be added to my style sheet?

    Vito

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

    Default Re: Product attribute spacing

    Install the Firefox browser and the Web Developer plugin for Firefox. You can use those to see where in the stylesheet you change the styling of the various page elements.

    Ctrl-Shift-Y will allow you to hover over a section of the page and see the class and id names for that section in the box at the top. The statements in the stylesheet that begin with # are id's and the ones that begin with dots are classes.

    Ctrl-Shift-E will open the CSS editor and allow you to edit the stylesheet and see the changes in real time without changing anything permanently. An essential tool.

    Some prefer Firebug, which does much the same thing.

 

 

Similar Threads

  1. Product Attribute Allignment and Spacing
    By archerymachine in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 14 Apr 2010, 01:27 AM
  2. Product Page Attribute/Option Spacing Issues
    By Twinge in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Jun 2009, 09:34 PM
  3. Attribute spacing
    By r1formetoo in forum Templates, Stylesheets, Page Layout
    Replies: 15
    Last Post: 5 Feb 2009, 04:01 AM
  4. Product Info Page Attribute Image Spacing
    By OutdoorsInteriors in forum General Questions
    Replies: 4
    Last Post: 8 Jul 2008, 11:18 AM
  5. Product Info Page Attribute Spacing
    By Scrat in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Jun 2007, 08:44 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