Petites corrections sur le thème classic-child

This commit is contained in:
2020-10-31 12:33:56 +01:00
parent 79c4ca44e3
commit 45216254d9
131 changed files with 213 additions and 325 deletions

View File

@@ -24,7 +24,6 @@ a {
margin-bottom: 20px;
}
/* Barre des catégories */
.header-nav {
background: white;
@@ -55,7 +54,16 @@ a {
margin-right: 10px;
}
#js-product-list-header {
display: none;
}
.qui-sommes-nous {
width: 100%;
margin-top: .9375rem;
text-align: left;
white-space: nowrap;
}
/* Espace au-dessus de la bannière */
#wrapper {
@@ -147,6 +155,7 @@ a:hover {
.block-categories {
background-color: rgba(177,194,90,0.5);
box-shadow: none;
padding: 1rem 1.25rem;
border-radius: 6px;
}
.block-categories .category-sub-menu {
@@ -170,9 +179,13 @@ a:hover {
}
.divCategorie {
text-align: center;
opacity: 0.75;
margin-top: -15px;
}
.imageCategorie {
width:50%
.divCategorie img {
width: 200px;
overflow: hidden;
vertical-align: top;
}
/******* Pagination ********/

View File

@@ -1,6 +1,6 @@
h1 {
text-align: center;
display: none;
#section-ppbrandslider > h1 {
text-align: center;
display: none;
}
.nbs-flexisel-container {
@@ -53,8 +53,10 @@ h1 {
z-index: 4;
top: 50%;
transform: translateY(-50%);
background: #1B9BCC;
color: #fff;
/*background: #1B9BCC;*/
/*color: #fff;*/
background: #fff;
color: #1B9BCC;
}
.nbs-flexisel-nav-left {

View File

@@ -7,15 +7,17 @@
{/if}
{if $enable_brand_slider}
<h1>Nos marques</h1>
<ul id="logo-slider">
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
<li>
<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">
<img src="img/m/{$manufacturer.id_manufacturer}.jpg"></a>
</li>
{/foreach}
</ul>
<section id="section-ppbrandslider">
<h1>Nos marques</h1>
<ul id="logo-slider">
{foreach from=$manufacturers item=manufacturer name=manufacturer_list}
<li>
<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)}">
<img src="img/m/{$manufacturer.id_manufacturer}.jpg"></a>
</li>
{/foreach}
</ul>
</section>
{/if}

View File

@@ -39,7 +39,7 @@
<li><a class="text-uppercase h6" href="{$categories.link nofilter}">{$categories.name}</a></li>
<li>{categories nodes=$categories.children}</li>
</ul>
<div class="divCategorie">
<img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{/if}" class="imageCategorie">
</div>
</div>
<div class="divCategorie">
<img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{/if}">
</div>

View File

@@ -1,5 +1,6 @@
{extends file='parent:_partials/footer.tpl'}
{*Signature perso de TheCoreDev *}
{block name='copyright_link'}
<a class="copyright" href="https://thecoredev.fr" target="_blank" rel="nofollow">
{l s='%copyright% %year% - Développé par TheCoreDev' sprintf=['%year%' => 'Y'|date, '%copyright%' => '©'] d='Shop.Theme.Global'}

View File

@@ -46,7 +46,7 @@
{/block}
{/block}
{* Mes feuilles de style perso *}
{* TheCoreDev : rajout de CSS perso *}
<link href="https://fonts.googleapis.com/css?family=Raleway:300,400,500,700,900" rel="stylesheet">
<link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
{*<link href="https://fonts.googleapis.com/css?family=Lobster+Two:400,700" rel="stylesheet">*}

View File

@@ -5,10 +5,14 @@
<div class="container">
<div class="row">
<div class="hidden-sm-down">
<div class="col-md-5 col-xs-12">
<div class="col-md-4 col-xs-12">
{hook h='displayNav1'}
</div>
<div class="col-md-7 right-nav">
<div class="col-md-8 right-nav">
<div class="qui-sommes-nous">
<i class="fa fa-question"></i>
<a id="qui-sommes-nous" href="/content/4-qui-sommes-nous" title="En savoir plus sur notre entreprise">Qui sommes-nous</a>
</div>
{hook h='displayNav2'}
</div>
</div>

View File

@@ -1,17 +0,0 @@
{*<div id="js-product-list-header">*}
{* {if $listing.pagination.items_shown_from == 1}*}
{* <div class="block-category card card-block">*}
{* <h1 class="h1">{$category.name}</h1>*}
{* <div class="block-category-inner">*}
{* {if $category.description}*}
{* <div id="category-description" class="text-muted">{$category.description nofilter}</div>*}
{* {/if}*}
{* {if $category.image.large.url}*}
{* <div class="category-cover">*}
{* <img src="{$category.image.large.url}" alt="{if !empty($category.image.legend)}{$category.image.legend}{else}{$category.name}{/if}">*}
{* </div>*}
{* {/if}*}
{* </div>*}
{* </div>*}
{* {/if}*}
{*</div>*}

View File

@@ -1,112 +0,0 @@
{**
* 2007-2019 PrestaShop and Contributors
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/AFL-3.0
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
* versions in the future. If you wish to customize PrestaShop for your
* needs please refer to https://www.prestashop.com for more information.
*
* @author PrestaShop SA <contact@prestashop.com>
* @copyright 2007-2019 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
<!doctype html>
<html lang="{$language.iso_code}">
<head>
{block name='head'}
{include file='_partials/head.tpl'}
{/block}
</head>
<body id="{$page.page_name}" class="{$page.body_classes|classnames}">
{block name='hook_after_body_opening_tag'}
{hook h='displayAfterBodyOpeningTag'}
{/block}
<main>
{block name='product_activation'}
{include file='catalog/_partials/product-activation.tpl'}
{/block}
<header id="header">
{block name='header'}
{include file='_partials/header.tpl'}
{/block}
</header>
{block name='notifications'}
{include file='_partials/notifications.tpl'}
{/block}
<section id="wrapper">
{hook h="displayWrapperTop"}
<div class="container">
{block name='breadcrumb'}
{include file='_partials/breadcrumb.tpl'}
{/block}
{block name="left_column"}
<div id="left-column" class="col-xs-12 col-sm-4 col-md-3">
{if $page.page_name == 'product'}
{hook h='displayLeftColumnProduct'}
{else}
{hook h="displayLeftColumn"}
{/if}
</div>
{/block}
{block name="content_wrapper"}
<div id="content-wrapper" class="left-column right-column col-sm-4 col-md-6">
{hook h="displayContentWrapperTop"}
{block name="content"}
<p>Hello world! This is HTML5 Boilerplate.</p>
{/block}
{hook h="displayContentWrapperBottom"}
</div>
{/block}
{block name="right_column"}
<div id="right-column" class="col-xs-12 col-sm-4 col-md-3">
{if $page.page_name == 'product'}
{hook h='displayRightColumnProduct'}
{else}
{hook h="displayRightColumn"}
{/if}
</div>
{/block}
</div>
{hook h="displayWrapperBottom"}
</section>
<footer id="footer">
{block name="footer"}
{include file="_partials/footer.tpl"}
{/block}
</footer>
</main>
{block name='javascript_bottom'}
{include file="_partials/javascript.tpl" javascript=$javascript.bottom}
{/block}
{block name='hook_before_body_closing_tag'}
{hook h='displayBeforeBodyClosingTag'}
{/block}
</body>
</html>