Novinky

OLD scripts backup

<script>
var blogUrl = 'nas-blog';
$('.wide-carousel').insertAfter('#header');
$('.type-product .benefitBanner').appendTo('#content-wrapper');
$('<p style="margin-top:20px;">Pro školy, školky, družiny a jiná vzdělávací zařízení nabízíme individuální slevu.</p><p>Napište nám prosím po registraci na <a href="mailto:info@chytraopicka.cz">info@chytraopicka.cz</a> nastavíme Vám výhodnější ceny.</p>').insertAfter('.in-registrace h1');
</script>

<script>
$(document).ready(function() {
// Select all .homepage-group-title elements
$('.homepage-group-title').each(function(index) {
// Get the corresponding .products-wrapper based on the index
var productsWrapper = $('.products-wrapper').eq(index);

// Append the current .homepage-group-title to its following .products-wrapper
$(this).prependTo(productsWrapper);
});
});
</script>

<script type="text/javascript" src='https://cdn.myshoptet.com/usr/www.mankitoys.cz/user/documents/upload/res/Mankitoys_brands_carousel.js'></script>
<script type="text/javascript" src="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js"></script>

<script>
$('.brand_carousel').slick({
dots: true,
infinite: false,
autoplay: true,
speed: 500,
autoplaySpeed: 5000,
slidesToShow: 10,
slidesToScroll: 10,
prevArrow: false,
nextArrow: false,
responsive: [
{
breakpoint: 1200,
settings: {
slidesToShow: 8,
slidesToScroll: 8,
}
},
{
breakpoint: 992,
settings: {
slidesToShow: 6,
slidesToScroll: 6
}
},
{
breakpoint: 600,
settings: {
slidesToShow: 3,
slidesToScroll: 3
}
}
]
});

 

$('.review_carousel').slick({
dots: false,
infinite: false,
autoplay: true,
speed: 500,
autoplaySpeed: 5000,
slidesToShow: 2,
slidesToScroll: 1,
prevArrow: false,
nextArrow: false,
responsive: [
{
breakpoint: 600,
settings: {
slidesToShow: 1,
slidesToScroll: 1
}
}
]
});
</script>

<script>
$(document).ready(function() {
if($(window).width() <= 991) {
$('.in-index .benefitBanner').appendTo('#content-wrapper');
$('.in-index .brand_carousel').insertBefore('.welcome-wrapper');
}
});
</script>

<script>
function ratings_move(){
$(document).ready(function() {
$(".products-block .product").each(function() {
var $product = $(this);
var $starWrapper = $product.find(".stars-wrapper");
var $productP = $product.find(".p");
$productP.append($starWrapper);
});
});
}

$(document).ready(function(){
ratings_move();
});
document.addEventListener('ShoptetDOMPageContentLoaded', function() {
ratings_move();
});
document.addEventListener('ShoptetDOMPageMoreProductsLoaded', function() {
ratings_move();
});
</script>

Číst článek
OLD CSS backup

<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet"><link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/><link rel="stylesheet" type="text/css" href="/user/documents/upload/res/Chytra_opicka_main_2.css"/><style>.overall-wrapper {    xxxmax-width: 1920px;    overflow-x: hidden;    margin: 0 auto;}@media (min-width:1921px) {#header {    background-repeat: repeat-x;}.products-wrapper:nth-child(even):after, .benefitBanner:after, .top-navigation-bar .container:after {    width: 350%;    left: -125%;}.carousel-inner {    min-height: auto !important;}.carousel-inner > .item > a > img, .carousel-inner > .item > img {    max-width: 1418px;}.content-wrapper.container {    overflow-x: hidden;}}
.price-standard>span {    color: #d63500;    font-size: 14px;}.products-block>div .p .p-bottom>div .prices .price-save {    color: #4f875e;}.product-slider-holder .product-slider-navigation:before, .product-slider-holder .product-slider-navigation:hover:before {    background-color: #fff;    color: var(--color-secondary-hover);}@media (max-width: 767px) {.product-slider-holder .product-slider-navigation {    top: 50%;}#filters-wrapper {    border-radius: 10px;    border: dashed 2px #a99672;    background-color: #baab8f21;    border-radius: 10px;}.category-header #products-listing-order, .mobile .category-header #products-listing-order {    border: dashed 2px #a99672;    background-color: #baab8f21;    color: #a99672;}#filters-wrapper:before {    content: 'Filtry';    font-family: "Roboto Condensed", sans-serif;    display: block;    padding: 10px;    font-size: 20px;    font-weight: 600;    letter-spacing: 2px;}.products-block .p > a {    padding: 0;}}
@media (min-width: 768px) {#header .navigation-buttons a {    color: #222;}}
#discussion-form input[type=submit].btn {    -webkit-appearance: none;    -moz-appearance: none;    appearance: none;    background-color: var(--color-secondary);    border-color: var(--color-secondary);    color: #fff;    padding: 15px;    font-weight: 600;}#discussion-form input[type=submit].btn:hover {    background-color: var(--color-secondary-hover);    border-color: var(--color-secondary-hover);    color: #fff;}.flag.flag-discount {    background-color: #a99672;}.flag.flag-discount .price-standard>span {    color: #fff;    margin: 0;}
#download_list {    margin: 0px 0 30px;    padding-top: 30px;    border-top: dashed 2px #a99672;    display: flex;    flex-wrap: wrap;    gap: 30px;    list-style-type: none;    justify-content: center;}#download_list li {max-width:200px;}#download_list li:before {display: none;}#download_list a {    display: flex;    flex-direction: column;    align-items: center;    text-align: center;    gap: 10px;}#download_list a::before {    content: url(/user/documents/upload/res/icons_download.svg);    display: block;    width: 48px;    height: 48px;    background: #baab8f21;    border-radius: 10px;}#download_list a:hover::before {background-color: #a99672;}
@media (max-width: 767px) {.subcategories.with-image li {    width: 33.333%;    padding: 7px 0;}#filters-wrapper {    margin-bottom: 30px;}}@media (max-width: 991px) {.subcategories li a {    padding: 0 10px;}}@media (min-width: 768px) {.desktop .banners-row {    margin-top: 0px;}}.navigation-buttons {z-index: 1;}.top-navigation-bar {    z-index: 2;    position: relative;}#header .site-name {z-index: 3;}.products-block>div .p .p-bottom>div .p-tools {padding:10px 0 0;}.stars .star.is-active:hover, .stars .star.star-half:before, .stars .star.star-on:before {    color: #c68234;}.products-block>div .p .p-bottom {    padding: 10px 10px 0;}.stars-placeholder {display: none;}.products-block>div .p .p-bottom>div .prices .price-final {    flex-basis: unset;}.products-block>div .p .p-bottom>div .prices .price-standard, .products-block>div .p .p-bottom>div .prices .price-save {    margin: 0;}.products-block>div .p .p-bottom>div .prices {    gap: 5px 10px;}
.siteCookies__form, .siteCookies--bottom.siteCookies--scrolled {  background-color: #c68234;}.siteCookies__button {  background-color: var(--color-secondary);  color: #fff;}@media (min-width: 768px) {  .siteCookies__form {    background-color: #c68234;  }}.siteCookies__link:hover {    color: var(--color-secondary);    text-decoration: none;    background: #fff;}.review_inner > div {    width: 100%;    padding-left: 0;}.category__secondDescription {    margin: 50px 0;}@media (max-width: 991px) {.welcome-wrapper {    margin-bottom: 0px;    margin-top: 50px;    padding-bottom: 0;    padding-top: 0;}}[class~="blog-hp"]:before {    color: #111;    text-transform: none;    margin-top: 0;    font-family: "Roboto Condensed", sans-serif;}.blog-hp {    margin-top: 0;}.siteCookies__button {    background-color: #d6205e;}.products-block > div .p {    padding: 20px;}#footer:before {    content: '';    background-image: url(/user/documents/upload/res/footer_flourish_1.svg);    display: block;    width: calc(100% + 20px);    background-size: contain;    background-repeat: no-repeat;    background-position: bottom;    aspect-ratio: 18 / 1;    position: absolute;    bottom: calc(100% - 1px);    left: -10px;    right: -10px;        max-width: 1920px;}#footer { position:relative;  margin-top:150px;}.homepage-group-title {    font-optical-sizing: auto;    display: block;    font-style: normal;    padding-bottom: 18px;    margin-bottom: 20px !important;    color: #a99672 !important;    letter-spacing: 2px;    border-bottom: dashed 2px #cfcfcf;}.siteAgreement #cboxContent {    background: unset;    background-image: url(/user/documents/upload/res/header_bg.jpg);    border-radius: 15px;    background-size: cover;}.siteAgreement .btn.btn-primary, .siteAgreement a.btn.btn-primary {    font-weight: 600;    height: auto;    min-width: 150px;    white-space: nowrap;    width: auto;    position: relative;    vertical-align: middle;    z-index: 1;    border-radius: 10px;    background-color: var(--color-secondary);    border-color: var(--color-secondary);    color: #fff;    line-height: 50px;    display: inline-block;}.siteAgreement .btn.btn-primary:hover, .siteAgreement a.btn.btn-primary:hover {    background-color: #d46a3f;    border-color: #d46a3f;    color:#fff;}.site-agreement-buttons {    padding-bottom: 30px;    display: flex;    justify-content: center;    gap: 20px;    align-items: center;}.siteAgreement .btn.btn-default, .siteAgreement  a.btn.btn-default {    background-color: transparent;    border: none;    color: #fff;}.siteAgreement #cboxLoadedContent {    overflow: visible !important;}.site-agreement-inner h1 {color:#fff;}.site-agreement-inner {    color: #fff;    text-align: center;    max-width: 500px;    margin: 0 auto;}.footer-rows .custom-footer {    display: flex;    flex-wrap: wrap;    justify-content: center;}</style>

Číst článek
2 položek celkem