diff --git a/themes/default-bootstrap/css/highdpi.css b/themes/default-bootstrap/css/highdpi.css index 1f777ceb2..6f06e9369 100644 --- a/themes/default-bootstrap/css/highdpi.css +++ b/themes/default-bootstrap/css/highdpi.css @@ -1,11 +1,7 @@ -@media only screen and (-webkit-min-device-pixel-ratio: 2), -only screen and (min-device-pixel-ratio: 2) { - - +@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { .replace-2x { font-size: 1px; } - .example { background-image: url(../images/example2x.png); -webkit-background-size:13px 13px; @@ -13,5 +9,4 @@ only screen and (min-device-pixel-ratio: 2) { -o-background-size:13px 13px; background-size:13px 13px; } - } \ No newline at end of file diff --git a/themes/default-bootstrap/header.tpl b/themes/default-bootstrap/header.tpl index fa06645fe..b64881274 100644 --- a/themes/default-bootstrap/header.tpl +++ b/themes/default-bootstrap/header.tpl @@ -44,16 +44,18 @@ + + - - + + {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} - + {/foreach} {/if} @@ -62,10 +64,9 @@ var viewport = document.querySelector("meta[name=viewport]"); viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height'); } - if(navigator.userAgent.match(/Android/i)){ + if(navigator.userAgent.match(/Android/i)) { window.scrollTo(0,1); } - var baseDir = '{$content_dir|addslashes}'; var baseUri = '{$base_uri|addslashes}'; var static_token = '{$static_token|addslashes}'; diff --git a/themes/default-bootstrap/modules/blockcart/blockcart.tpl b/themes/default-bootstrap/modules/blockcart/blockcart.tpl index 39ea46550..fae2c2d06 100644 --- a/themes/default-bootstrap/modules/blockcart/blockcart.tpl +++ b/themes/default-bootstrap/modules/blockcart/blockcart.tpl @@ -76,8 +76,8 @@ var generated_date = {$smarty.now|intval}; {assign var='productId' value=$product.id_product} {assign var='productAttributeId' value=$product.id_product_attribute}
{$product.description_short|strip_tags:'UTF-8'|truncate:360:'...'}
- {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}