Task:6815 | Правки верстки и стилей WTB

pull/36/head
Your Name 2 months ago
parent b0ac036409
commit 1c2dedb195
  1. 53
      wp-content/themes/cosmopet/static/css/wtb-page.css
  2. 2
      wp-content/themes/cosmopet/templates/_pages/wtb.twig
  3. 2
      wp-content/themes/cosmopet/templates/header.twig

@ -145,3 +145,56 @@
color: var(--main_black);
}
/* Sell form end */
.wrapper-wtb {
margin: 0 auto;
max-width: 1600px;
}
.container {
max-width: 1222px;
}
.find-us ul {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 36px;
}
.find-us h3 {
font-size: 18px;
font-weight: bold;
line-height: 28px;
color: #fff;
margin-bottom: 8px;
text-transform: uppercase;
}
.find-us p {
font-size: 18px;
font-weight: 500;
line-height: 32px;
}
@media only screen and (max-width: 1600px) {
.wrapper-wtb {
max-width: 1280px!important;
}
}
@media only screen and (max-width: 992px) {
.where-home h1 {
font-size: 32px;
line-height: 38px;
margin-bottom: 15px;
}
.where-home {
padding: 0px 0 36px;
}
.where-home p {
font-size: 20px;
line-height: 24px;
}
.find-us ul {
display: grid;
grid-template-columns: repeat(1, minmax(0, 1fr));
gap: 36px;
}
.sell-form__container {
padding: 36px 16px;
}
}

@ -4,7 +4,7 @@
{% block content %}
<div class="body-wrap">
<main class="wrapper" style="padding-top: 0;">
<main class="wrapper-wtb" style="padding-top: 0;">
<!-- Where home -->
<section class="where-home">
<div class="container">

@ -222,7 +222,7 @@
</li>
{% if site_region == 'ae' %}
<li class="main-menu__item">
<a href=" {% if current_lang == 'ru' %}{{production_url}}{% elseif current_lang == 'en' %}{{production_url_en}}{% endif %}"
<a href=" {% if current_lang == 'ru' %}{{production_url}}{% elseif current_lang == 'en' %}/where-to-buy{% endif %}"
class="main-menu__link">
{% if current_lang == 'ru' %}ГДЕ КУПИТЬ{% elseif current_lang == 'en' %}WHERE TO BUY{% endif %}

Loading…
Cancel
Save