-
Notifications
You must be signed in to change notification settings - Fork 492
Using the settings.logo_max_width value in styles #461
Using the settings.logo_max_width value in styles #461
Conversation
Good catch. One adjustment that we've been using lately is to not require the
|
Yahh You right... I have updated the files :) |
@@ -113,6 +113,9 @@ $colorNavText: #333; | |||
$colorFooterBg: {{ settings.color_footer_bg }}; | |||
$colorFooterText: {{ settings.color_footer_text }}; | |||
|
|||
// Logo max width | |||
$logoMaxWidth: {{ settings.logo_max_width | default: '450' }}px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I personally do this in the theme, so even for people including the px, it does not break:
{{ settings.logo_max_width | default: '450' | remove: 'px' }}px;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is smart! @montalvomiguelo are you able to adjust that line and we can merge it in.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
Using the settings.logo_max_width value in styles
I added that value in the stylesheet in order to get this setting working.
Address #460