Jump to content

[Resolved] Sub-Catagory Images/Description Vertical Spacing


CoderJim

Recommended Posts

In the file, lingerie.css, line 821, there is this rule:

.product-list .image {
    height: 380px;
    position: relative;
}

At line 812:

.product-list .product {
    border: 1px solid;
    color: #fff;
    float: left;
    height: 450px;
    margin: 0 0 20px;
    padding: 10px;
    width: 255px;
}

At line 267, there is:

.product-list .image {
    height: 280px;  <= overruled by above!
}

This might be the case where lines 821 and 267 are meant for particular screen widths.

So the .product panel is 450px high regardless of what's in it. Then the paragraph that contains the image, the .image class, is 380px high regardless of the size of the image in it.

I suggest that you do away with fixed heights for these panels and see if a "data equalizer" can be incorporated.

(The data equalizer is part of Foundation's javascript. Maybe your Lingerie skin has something similar.)

Link to comment
Share on other sites

Thank you so much, worked beautifully. I did not need the equalizer, or I don't think so at this point, I just deleted the three size calls and it worked great. I hope that others might find this helpful. I will likely have more questions as I can now finally move on. Thanks again.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...