Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Category sidebar display & copyright year in footer #1001

Merged
merged 2 commits into from
May 1, 2017
Merged

Category sidebar display & copyright year in footer #1001

merged 2 commits into from
May 1, 2017

Conversation

sacr3dc0w
Copy link
Contributor

@sacr3dc0w sacr3dc0w commented Apr 29, 2017

When neither faceted search is enabled, or a subcategory is not present, the main content area remains at 75% width. This is due to the styling of .page-sidebar + .page-content. Another issue is three products display display in a row.

Using the {{or}} operator, verify if child category exists or faceted
search is enabled. If neither is true, page content will stretch 100%
and display four products by default.

Instead of using an extra JavaScript call on the client side, let's use {{moment}} to display the copyright year.

#1000
https://stencil.bigcommerce.com/docs/handlebars-helpers-reference

Using the {{or}} operator, verify if child category exists or faceted
search is enabled. If neither is true, page content will stretch 100%
and display four products by default.

#1000
https://stencil.bigcommerce.com/docs/handlebars-helpers-reference#sectio
n--a-name-op_logical-a-logical-or-operator
@sacr3dc0w sacr3dc0w changed the title Category page sidebar issue Category sidebar display & copyright year in footer Apr 29, 2017
@mcampa
Copy link
Contributor

mcampa commented May 1, 2017

Thank you 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants