Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Ability to change product-grid-item snippet width with variable #67

Merged
merged 6 commits into from May 13, 2014

Conversation

cshold
Copy link
Contributor

@cshold cshold commented May 13, 2014

Set grid_item_width before including snippets/product-grid-item.liquid to change its width. The variable should use the same classes as the grid.

Example:

{% assign grid_item_width = 'large--one-quarter medium--one-half' %}
{% include 'product-grid-item' %}

A default is set in the snippet if a size is not set, so this will not break any current code.

Some minor CSS updates have been added too:

  • Sup tag styles
  • Remove webkit appearance on text inputs fields

cshold added a commit that referenced this pull request May 13, 2014
Ability to change product-grid-item snippet width with variable
@cshold cshold merged commit 72d8826 into master May 13, 2014
@cshold cshold deleted the grid-item-widths branch May 15, 2014 17:51
cimocimocimo pushed a commit to cimocimocimo/Theia-Shopify-Theme that referenced this pull request Nov 25, 2014
Ability to change product-grid-item snippet width with variable
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant