This commit is contained in:
Roman Pyrih
2025-11-12 15:22:46 +01:00
parent 52b0b71a5c
commit 49f474475b
10 changed files with 253 additions and 10 deletions

View File

@@ -1,3 +1,10 @@
@media (max-width: 991px) {
header#header {
position: sticky;
top: 0;
}
}
.nav_menu_box.box_fixed {
position: fixed;
top: 0;
@@ -33,4 +40,45 @@
}
#_desktop_top_menu > ul.top-menu > li.category .sub-menu ul.top-menu[data-depth="2"] {
margin-top: 10px;
}
@media (max-width: 991px) {
section#main section#content.page-home #carousel .carousel-inner {
min-height: 330px;
}
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figure img {
min-height: 330px;
-o-object-fit: cover;
object-fit: cover;
}
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figcaption.caption {
position: absolute;
margin: 0;
text-align: initial;
}
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figcaption.caption h2 {
color: #fff;
font-size: 28px;
}
}
@media (max-width: 767px) {
section#main section#content.page-home #carousel .carousel-inner {
min-height: 370px;
}
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figure img {
min-height: 370px;
}
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figcaption.caption {
left: 50px;
bottom: 40px;
}
}
@media (max-width: 567px) {
section#main section#content.page-home #carousel .carousel-inner li.carousel-item figcaption.caption {
right: 50px;
}
}
#hp-ekomi-widget {
margin: 30px 0 60px;
}/*# sourceMappingURL=custom.css.map */

View File

@@ -1 +1 @@
{"version":3,"sources":["custom.scss","custom.css"],"names":[],"mappings":"AACC;EACC,eAAA;EACA,MAAA;EACA,OAAA;EACA,QAAA;EACA,gBAAA;EACA,2CAAA;ACAF;;ADOG;EACC,eAAA;EACA,iBAAA;ACJJ;ADMI;EAJD;IAKE,eAAA;ECHH;AACF;ADQK;EACC,SAAA;EAEA,aAAA;EACA,aAAA;EACA,mBAAA;EACA,eAAA;EACA,cAAA;ACPN;ADSM;EACC,SAAA;EACA,OAAA;ACPP;ADSO;EACC,UAAA;ACPR;ADYK;EACC,gBAAA;ACVN","file":"custom.css"}
{"version":3,"sources":["custom.scss","custom.css"],"names":[],"mappings":"AACC;EADD;IAEE,gBAAA;IACA,MAAA;ECCA;AACF;;ADGC;EACC,eAAA;EACA,MAAA;EACA,OAAA;EACA,QAAA;EACA,gBAAA;EACA,2CAAA;ACAF;;ADOG;EACC,eAAA;EACA,iBAAA;ACJJ;ADMI;EAJD;IAKE,eAAA;ECHH;AACF;ADQK;EACC,SAAA;EAEA,aAAA;EACA,aAAA;EACA,mBAAA;EACA,eAAA;EACA,cAAA;ACPN;ADSM;EACC,SAAA;EACA,OAAA;ACPP;ADSO;EACC,UAAA;ACPR;ADYK;EACC,gBAAA;ACVN;;ADsBI;EACC;IACC,iBAAA;ECnBJ;EDuBM;IACC,iBAAA;IACA,oBAAA;OAAA,iBAAA;ECrBP;EDwBK;IACC,kBAAA;IACA,SAAA;IACA,mBAAA;ECtBN;EDwBM;IACC,WAAA;IACA,eAAA;ECtBP;AACF;AD2BI;EACC;IACC,iBAAA;ECzBJ;ED6BM;IACC,iBAAA;EC3BP;ED8BK;IACC,UAAA;IACA,YAAA;EC5BN;AACF;ADgCI;EAGG;IACC,WAAA;EChCN;AACF;;ADyCA;EACC,mBAAA;ACtCD","file":"custom.css"}

View File

@@ -1,3 +1,10 @@
header#header {
@media (max-width: 991px) {
position: sticky;
top: 0;
}
}
.nav_menu_box {
&.box_fixed {
position: fixed;
@@ -50,3 +57,66 @@
}
}
}
section#main {
section#content {
&.page-home {
#carousel {
@media (max-width: 991px) {
.carousel-inner {
min-height: 330px;
li.carousel-item {
figure {
img {
min-height: 330px;
object-fit: cover;
}
}
figcaption.caption {
position: absolute;
margin: 0;
text-align: initial;
h2 {
color: #fff;
font-size: 28px;
}
}
}
}
}
@media (max-width: 767px) {
.carousel-inner {
min-height: 370px;
li.carousel-item {
figure {
img {
min-height: 370px;
}
}
figcaption.caption {
left: 50px;
bottom: 40px;
}
}
}
}
@media (max-width: 567px) {
.carousel-inner {
li.carousel-item {
figcaption.caption {
right: 50px;
}
}
}
}
}
}
}
}
#hp-ekomi-widget {
margin: 30px 0 60px;
}

View File

@@ -22,7 +22,7 @@
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 1">
<h2 class="h2 products-section-title text-uppercase">
{l s='Best Sellers' d='Shop.Theme.Catalog'}
</h2>

View File

@@ -22,7 +22,7 @@
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 2">
<h2>
{if $products|@count == 1}
{l s='%s other product in the same category:' sprintf=[$products|@count] d='Shop.Theme.Catalog'}

View File

@@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 3">
<h2>{l s='Customers who bought this product also bought:' d='Shop.Theme.Catalog'}</h2>
{include file="catalog/_partials/productlist.tpl" products=$products productClass="col-xs-12 col-sm-6 col-lg-4 col-xl-3"}
</section>

View File

@@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 4">
<h2 class="h2 products-section-title text-uppercase">
{l s='New products' d='Shop.Theme.Catalog'}
</h2>
@@ -33,3 +33,41 @@
</a>
</section>
<section id="hp-ekomi-widget">
<div id="widget-container" class="ekomi-widget-container ekomi-widget-sf15701468f8809b193f3" ></div>
<a href="https://www.ekomi-pl.com/opinie-kikiriki.sklep_pl.html" target="_blank"><img alt="LIRIA Monika Pałys-Łuszczko Reviews with ekomi-pl.com" src="https://smart-widget-assets.ekomiapps.de/resources/ekomi_logo.png" style="display: none;"/></a>
{literal}
<script type="text/javascript">
function registerWidget (w, token) {
w['_ekomiWidgetsServerUrl'] = 'https://widgets.ekomi.com';
w['_customerId'] = 157014;
if (w['_language'] == undefined) {
w['_language'] = new Array();
}
w['_language'][token] = 'auto';
if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){
w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = token;
} else {
w['_ekomiWidgetTokens'] = new Array(token);
}
if(typeof(ekomiWidgetJs) == 'undefined') {
ekomiWidgetJs = true;
var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js';
var head = document.getElementsByTagName('head')[0];head.appendChild(scr);
} else {if (typeof ekomiWidgetMain != 'undefined') {ekomiWidgetMain('ajax', token);}}
return true;
}
(function (w) {
var token = 'sf15701468f8809b193f3';
var k = document.getElementsByClassName("ekomi-widget-" + token);
for(var x=0;x<k.length;x++){ registerWidget(w,token); }
})(window);
</script>
{/literal}
</section>

View File

@@ -23,7 +23,7 @@
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 5">
<h2 class="h2 products-section-title text-uppercase">
{l s='On sale' d='Shop.Theme.Catalog'}
</h2>

View File

@@ -22,7 +22,7 @@
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
*}
<section class="featured-products clearfix mt-3">
<section class="featured-products clearfix mt-3 6">
<h2>{l s='Viewed products' d='Shop.Theme.Catalog'}</h2>
{include file="catalog/_partials/productlist.tpl" products=$products productClass="col-xs-12 col-sm-6 col-lg-4 col-xl-3"}
</section>

View File

@@ -72,9 +72,47 @@
</div>
<div class="col-md-6">
{block name='page_header_container'}
{block name='page_header'}
<h1 class="h1">{block name='page_title'}{$product.name}{/block}</h1>
{/block}
{block name='page_header'}
<h1 class="h1">{block name='page_title'}{$product.name}{/block}</h1>
{/block}
{block name='product_widget_product_2'}
{* <div id="widget-container" class="ekomi-widget-container ekomi-widget-sf15701468f880933e7cd" ></div>
<a href="https://www.ekomi-pl.com/opinie-kikiriki.sklep_pl.html" target="_blank">
<img alt="LIRIA Monika Pałys-Łuszczko Reviews with ekomi-pl.com" src="https://smart-widget-assets.ekomiapps.de/resources/ekomi_logo.png" style="display: none;"/>
</a> *}
{literal}
<!-- <script type="text/javascript">
function registerWidget (w, token) {
w['_ekomiWidgetsServerUrl'] = 'https://widgets.ekomi.com';
w['_customerId'] = 157014;
if (w['_language'] == undefined) {
w['_language'] = new Array();
}
w['_language'][token] = 'auto';
if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){
w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = token;
} else {
w['_ekomiWidgetTokens'] = new Array(token);
}
if(typeof(ekomiWidgetJs) == 'undefined') {
ekomiWidgetJs = true;
var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js';
var head = document.getElementsByTagName('head')[0];head.appendChild(scr);
} else {if (typeof ekomiWidgetMain != 'undefined') {ekomiWidgetMain('ajax', token);}}
return true;
}
(function (w) {
var token = 'sf15701468f880933e7cd';
var k = document.getElementsByClassName("ekomi-widget-" + token);
for(var x=0;x<k.length;x++){ registerWidget(w,token); }
})(window);
</script> -->
{/literal}
{/block}
{/block}
{block name='product_prices'}
{include file='catalog/_partials/product-prices.tpl'}
@@ -184,6 +222,15 @@
aria-controls="extra-{$extraKey}">{$extra.title}</a>
</li>
{/foreach}
<li class="nav-item">
<a
class="nav-link"
data-toggle="tab"
href="#reviews"
role="tab"
aria-controls="reviews">{l s='Opinie' d='Shop.Theme.Catalog'}
</a>
</li>
</ul>
<div class="tab-content" id="tab-content">
@@ -221,6 +268,46 @@
{$extra.content nofilter}
</div>
{/foreach}
<div class="tab-pane fade in" id="reviews" role="tabpanel">
<section class="product-reviews">
<div id="widget-container" class="data-ekomi-emp ekomi-widget-container ekomi-widget-sf15701468f880ce6a6c0" ></div>
<div id="ekomi-product-widget-identifier" class="prod-data-emp" style="visibility: hidden">{$product.id}</div>
<a href="https://www.ekomi-pl.com/opinie-kikiriki.sklep_pl.html" target="_blank"><img alt="LIRIA Monika Pałys-Łuszczko Reviews with ekomi-pl.com" src="https://smart-widget-assets.ekomiapps.de/resources/ekomi_logo.png" style="display: none;"/></a>
{literal}
<script type="text/javascript">
function registerWidget (w, token) {
w['_ekomiWidgetsServerUrl'] = 'https://widgets.ekomi.com';
w['_customerId'] = 157014;
if (w['_language'] == undefined) {
w['_language'] = new Array();
}
w['_language'][token] = 'auto';
if(typeof(w['_ekomiWidgetTokens']) !== 'undefined'){
w['_ekomiWidgetTokens'][w['_ekomiWidgetTokens'].length] = token;
} else {
w['_ekomiWidgetTokens'] = new Array(token);
}
if(typeof(ekomiWidgetJs) == 'undefined') {
ekomiWidgetJs = true;
var scr = document.createElement('script');scr.src = 'https://sw-assets.ekomiapps.de/static_resources/widget.js';
var head = document.getElementsByTagName('head')[0];head.appendChild(scr);
} else {if (typeof ekomiWidgetMain != 'undefined') {ekomiWidgetMain('ajax', token);}}
return true;
}
(function (w) {
var token = 'sf15701468f880ce6a6c0';
var k = document.getElementsByClassName("ekomi-widget-" + token);
for(var x=0;x<k.length;x++){ registerWidget(w,token); }
})(window);
</script>
{/literal}
</section>
</div>
</div>
</div>
{/block}