diff --git a/CHANGELOG.md b/CHANGELOG.md index 441e0577bb..1965cc34dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ # Changelog +- Return heading to product card. [#1847](https://github.com/bigcommerce/cornerstone/pull/1847) - Quick search query param needs to be fixed while navigating to search page. [#230](https://jira.bigcommerce.com/browse/BCTHEME-230) ## Draft diff --git a/assets/scss/components/citadel/cards/_cards.scss b/assets/scss/components/citadel/cards/_cards.scss index b9a48cafab..add4817e04 100644 --- a/assets/scss/components/citadel/cards/_cards.scss +++ b/assets/scss/components/citadel/cards/_cards.scss @@ -72,11 +72,12 @@ .card-title { font-size: $card-title-fontSize; margin: $card-title-margin; - + > a { color: $card-title-color; text-decoration: $card-title-textDecoration; - + display: block; + // scss-lint:disable NestingDepth &:hover { color: $card-title-color-hover; diff --git a/templates/components/amp/products/card.html b/templates/components/amp/products/card.html index d5aa6d6e9b..b53b594292 100644 --- a/templates/components/amp/products/card.html +++ b/templates/components/amp/products/card.html @@ -22,9 +22,9 @@ {{#if brand.name}}

{{brand.name}}

{{/if}} - +

{{name}} - +

{{#or customer (if theme_settings.restrict_to_login '!==' true)}} diff --git a/templates/components/products/card.html b/templates/components/products/card.html index 537adc8b2a..4866275c70 100644 --- a/templates/components/products/card.html +++ b/templates/components/products/card.html @@ -74,9 +74,9 @@ {{#if brand.name}}

{{brand.name}}

{{/if}} - +

{{name}} - +

{{#or customer (if theme_settings.restrict_to_login '!==' true)}} diff --git a/templates/pages/brands.html b/templates/pages/brands.html index 5614e9c4c4..30404ec421 100644 --- a/templates/pages/brands.html +++ b/templates/pages/brands.html @@ -27,9 +27,9 @@

{{lang 'brand.label'}}

- +

{{name}} - +

diff --git a/templates/pages/compare.html b/templates/pages/compare.html index 0985028d66..e7cb3a7dd9 100644 --- a/templates/pages/compare.html +++ b/templates/pages/compare.html @@ -32,9 +32,9 @@

{{lang 'compare.header' products=comparisons.length}}{{ brand.name }}

{{/if}} - +

{{ name }} - +

{{#or ../customer (if ../theme_settings.restrict_to_login '!==' true)}} {{#if price_range}} {{> components/products/price-range}}