Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed up the collection of collections page and some extra styling fo…

…r the regular collections page
  • Loading branch information...
commit fd82d52ef61bab0a1e6c1a3b6e0fad51385d4515 1 parent df6b102
Jim Whimpey authored
17 assets/stylesheet.css
View
@@ -236,6 +236,23 @@ body {
border-bottom: 1px solid #F9DCE9; }
.collection .content-inner h2 a:hover {
border-bottom: 1px solid #D095B8; }
+ .collection .content-inner .collection-description {
+ font-family: "chaparral-pro", Georgia, Times, serif;
+ font-size: 20px;
+ text-align: center; }
+
+.listing .content-inner {
+ padding: 70px 0; }
+ .listing .content-inner ul {
+ font-family: "chaparral-pro", Georgia, Times, serif;
+ font-size: 20px;
+ text-align: center; }
+ .listing .content-inner ul a {
+ color: #D095B8;
+ text-decoration: none;
+ border-bottom: 1px solid #F9DCE9; }
+ .listing .content-inner ul a:hover {
+ border-bottom: 1px solid #D095B8; }
/******************************************************************************/
/* REGULAR PAGES */
17 assets/stylesheet.scss
View
@@ -248,6 +248,23 @@
text-align: center;
a { @include bodylinks; }
}
+ .collection-description {
+ @include serif;
+ font-size: 20px;
+ text-align: center;
+ }
+ }
+ }
+
+ .listing {
+ .content-inner {
+ padding: 70px 0;
+ ul {
+ @include serif;
+ font-size: 20px;
+ text-align: center;
+ a { @include bodylinks; }
+ }
}
}
5 snippets/collection-listing.liquid
View
@@ -11,8 +11,7 @@
{% if collection.image %}
<div class="collection-image">
<a href="{{ collection.url }}" title="Browse our {{ collection_title }} collection">
- {{ collection.image.src | collection_img_url: 'medium' | img_tag: collection_title }}{% else %}
- {{ collection.products.first.featured_image | product_img_url: 'medium' | img_tag: collection_title }}
+ {{ collection.image.src | collection_img_url: 'thumb' | img_tag: collection_title }}
</a>
</div>
{% endif %}
@@ -22,6 +21,8 @@
</li>
{% endunless %}
{% endfor %}
+
+ </ul>
</div>
2  templates/collection.liquid
View
@@ -5,7 +5,7 @@
<h2><a href="/">Gear</a> &rarr; {{ collection.title }}</h2>
{% if collection.description %}
- <p class="collection-description">{{ collection.description }}</p>
+ <div class="collection-description">{{ collection.description }}</div>
{% endif %}
{% if collection.products.size == 0 %}
Please sign in to comment.
Something went wrong with that request. Please try again.