Skip to content

Commit a008292

Browse files
Closes smartstore#628 Issues with new TitleTag for Topics
1 parent 6b4eab7 commit a008292

5 files changed

Lines changed: 6 additions & 10 deletions

File tree

src/Presentation/SmartStore.Web/Content/bootstrap/custom/custom.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ span.field-validation-error {
133133
// WELL TWEAKS
134134
// ------------
135135
.well {
136-
background-color: #fafafa;
137136
border: 1px solid #e5e5e5;
137+
border-color: rgba(0,0,0, 0.1);
138138
border-radius: 3px;
139139
.box-shadow(inset 0 0 10px rgba(0,0,0, 0.05));
140140
}

src/Presentation/SmartStore.Web/Controllers/TopicController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ protected TopicModel PrepareTopicModel(string systemName)
5959
MetaKeywords = topic.GetLocalized(x => x.MetaKeywords),
6060
MetaDescription = topic.GetLocalized(x => x.MetaDescription),
6161
MetaTitle = topic.GetLocalized(x => x.MetaTitle),
62-
TitleTag = topic.TitleTag,
62+
TitleTag = topic.TitleTag ?? "h3",
6363
};
6464
return model;
6565
}

src/Presentation/SmartStore.Web/Infrastructure/DefaultWidgetSelector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public virtual IEnumerable<WidgetRouteInfo> GetWidgets(string widgetZone, object
143143
ShowTitle = widget.ShowTitle,
144144
IsBordered = widget.Bordered,
145145
Title = String.IsNullOrEmpty(widget.Title) ? "div" : widget.Title,
146-
TitleTag = widget.TitleTag,
146+
TitleTag = widget.TitleTag ?? "h3",
147147
Html = widget.Body
148148
} }
149149
}

src/Presentation/SmartStore.Web/Themes/Alpha/Content/product.less

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@
156156
margin: 0 0 0 5px;
157157
}
158158
.product-details-page .price-details {
159-
text-shadow: 0 -1px 0 #fff;
159+
padding: 8px !important;
160+
margin: 0;
160161
.base-price {
161162
text-align: center;
162163
font-size: .85em;
@@ -186,11 +187,6 @@
186187
.product-details-page #details-cnt .short-description {
187188
color: #aaa;
188189
}
189-
.product-details-page .price-details {
190-
background: #f8fafc;
191-
padding: 8px !important;
192-
margin: 0;
193-
}
194190
.product-details-page #details-cnt .price-details + div {
195191
border-top: none;
196192
}

src/Presentation/SmartStore.Web/Themes/Alpha/theme.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
<Var name="ContainerBorder" type="Color">#d6e0e6</Var>
9797

9898
<!-- Misc -->
99-
<Var name="WellBackground" type="Color">#f5f5f5</Var>
99+
<Var name="WellBackground" type="Color">#fafafa</Var>
100100
<Var name="ItemBoxBoxShadowColor" type="Color">#f89406</Var>
101101
<Var name="SimpleBoxHeaderColor" type="Color">#ddd</Var>
102102
<Var name="ProductFilterBackgroundColor" type="Color">#f4f8f9</Var>

0 commit comments

Comments
 (0)