Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

нужно полистить head на сайте


PetrAbakumov
 Share

Recommended Posts

Всем привет! У меня проблема икая — в блоке head есть множество строк (около 700) стилей простынёй, нужно вынести их из инлайна в файл стилей в корень style.css. Мне на запрос, как это сгделать в итоге всегда выдает это

Link to comment
Share on other sites


Вот синдартная тройка

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="{{ direction }}" lang="{{ lang }}">
<!--<![endif]-->
<head>

шаблон common/header.twig

Edited by esculapra
Link to comment
Share on other sites

21 минуту назад, esculapra сказал:

Вот синдартная тройка

<!DOCTYPE html>
<!--[if IE]><![endif]-->
<!--[if IE 8 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie8"><![endif]-->
<!--[if IE 9 ]><html dir="{{ direction }}" lang="{{ lang }}" class="ie9"><![endif]-->
<!--[if (gt IE 9)|!(IE)]><!-->
<html dir="{{ direction }}" lang="{{ lang }}">
<!--<![endif]-->
<head>

шаблон common/header.twig

Да, это есть, но вместо стилей переменная: image.png.cd0d400255a966780e8ac123dca7e227.pngА в гдевтулзе видно, что в этом месте просто стили:   . Мне их оттуда выищить в файл стилей нужно. 

Link to comment
Share on other sites


14 часов назад, PetrAbakumov сказал:

Ггде мне увигдеть значение {style.content}?

По игдее это задается в контроллере common/header.php

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.