0

it was all going well, implementing isotope at:

http://rgbdrinks.squarespace.com/

Then I got ahead of myself, tried to alter the container CSS and couldn't retrace my steps.

I'd be hugely grateful for any help at all.

Best wishes,

Andrew

Here's the code:


    <div id="container">
    <div class="item"><span class="full-image-inline ssNonEditable"><span><img style="width:   150px;" src="/picture/drink%20pour%203.jpg?pictureId=18133348&amp;asGalleryImage=true&amp;__SQUARESPACE_CACHEVERSION=1370962041640" alt="" /></span></span></div>
    <div class="item"><span class="full-image-inline ssNonEditable"><span><img style="width: 150px;" src="/picture/martini%20glass%20splash.jpg?pictureId=18133349&amp;asGalleryImage=true&amp;__SQUARESPACE_CACHEVERSION=1370962058097" alt="" /></span></span></div>
    <div class="item"><span class="full-image-inline ssNonEditable"><span><img style="width: 150px;" src="/picture/tablecloth.jpg?pictureId=18133350&amp;asGalleryImage=true&amp;__SQUARESPACE_CACHEVERSION=1370962092184" alt="" /></span></span></div>
<div class="item"><div id="squarespace-slideshow-wrapper-1370943850" rel="51b6f18ae4b0877f36bb6468" class="ss-slideshow-v2"></div></div>
</div>

<script src="http://rgbdrinks.squarespace.com/storage/isotope/js/jquery-1.7.1.min.js"></script>
<script src="http://rgbdrinks.squarespace.com/storage/isotope/js/jquery.isotope.min.js"></script>  
<script src="http://rgbdrinks.squarespace.com/storage/isotope/js/fake-element.js"></script>

<script>
$('#container').isotope({
  // options
  itemSelector : '.item',
  layoutMode : 'fitRows'
});
</script>
Jack
  • 313
  • 5
  • 22

1 Answers1

0

You set a fixed width (1024px) for #canvasWrapper and #contentWrapper. Try to set the width in percentage instead of fixed width

#canvasWrapper {
  width: 100%;
}

#contentWrapper{
  width: 100%;
}
Stanley
  • 5,057
  • 4
  • 34
  • 44