Мобильная Версия Сайта
#21
Отправлено 02 Август 2014 - 13:28
У меня похожая проблема.
После удаления слайдера на главной странице по инструкции отсюда: http://forum.storela...меров-слайдера/, появилась проблема при просмотре сайта на экране смартфона (или при уменьшении ширины окна браузера).
Суть проблемы на скриншоте:
Причем на страницах каталога, доставки и других все нормально и верхняя часть не съезжает влево.
Помогите, пожалуйста исправить. Заранее спасибо!
#22
Отправлено 03 Август 2014 - 07:47
Найдите в
maomas (02 Август 2014 - 13:28) писал:
У меня похожая проблема.
После удаления слайдера на главной странице по инструкции отсюда: http://forum.storela...меров-слайдера/, появилась проблема при просмотре сайта на экране смартфона (или при уменьшении ширины окна браузера).
Суть проблемы на скриншоте:
Причем на страницах каталога, доставки и других все нормально и верхняя часть не съезжает влево.
Помогите, пожалуйста исправить. Заранее спасибо!
Здравствуйте.
Найдите в style.css эту строчку и удалите.
.home #header {margin-left: -384px;}
#23
Отправлено 03 Август 2014 - 11:02
Если в style.css вернуть эту строчку:
.home #header{height: auto;text-align: left;position: absolute;background: none;z-index: 1000;left: 50%;margin-left: -600px;}
то шапка вроде выравнивается, но вылезают другие косяки(((
И еще раз повторюсь, что на других страницах, кроме главной, все окей...
#24
Отправлено 03 Август 2014 - 11:42
maomas (03 Август 2014 - 11:02) писал:
Если в style.css вернуть эту строчку:
.home #header{height: auto;text-align: left;position: absolute;background: none;z-index: 1000;left: 50%;margin-left: -600px;}
то шапка вроде выравнивается, но вылезают другие косяки(((
И еще раз повторюсь, что на других страницах, кроме главной, все окей...
Найдите в style.css код и удалите
.home #header { margin-left: -480px; }
Так же найдите и удалите этот код
.home #header { margin-left: -220px; }
И удалите этот код
.home #header { margin-left: -150px; }
#25
Отправлено 03 Август 2014 - 12:01
#26
Отправлено 04 Август 2014 - 17:53
#27
Отправлено 04 Август 2014 - 17:56
malroz (04 Август 2014 - 17:53) писал:
Найдите в Style.css
#search input[type="submit"] { outline: none; padding: 0!important; margin: 0; border: none; position: absolute; z-index: 99999; cursor: pointer; top: 36px; width: 21px; height: 40px; background-image: url('http://design.avtodrug66.ru/arrow1.png'); background-position: 1px 1px; background-repeat: no-repeat; background-color: #ff0000; position: absolute; right: -20px; text-indent: -2000px-moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; }измените на
#search input[type="submit"] { outline: none; padding: 0!important; margin: 0; border: none; position: absolute; z-index: 99999; cursor: pointer; top: 0px; width: 21px; height: 40px; background-image: url('http://design.avtodrug66.ru/arrow1.png'); background-position: 1px 1px; background-repeat: no-repeat; background-color: #ff0000; position: absolute; right: -20px; text-indent: -2000px-moz-border-radius: 0px; -webkit-border-radius: 0px; -khtml-border-radius: 0px; border-radius: 0px; }
#28
Отправлено 04 Август 2014 - 18:16
#29
Отправлено 04 Август 2014 - 18:27
malroz (04 Август 2014 - 18:16) писал:
@media only screen and (min-width: 768px) and (max-width: 959px) { #search input[type="submit"]{top: 52px;} }перед 1072 строчка
@media only screen and (min-width: 480px) and (max-width: 767pxи произведите выше сказанные инструкции
#30
Отправлено 04 Август 2014 - 18:34
@media only screen and (min-width: 768px) and (max-width: 959px) {
#search input[type="submit"]{top: 52px;}
}
#31
Отправлено 04 Август 2014 - 18:36
malroz (04 Август 2014 - 18:34) писал:
@media only screen and (min-width: 768px) and (max-width: 959px) {
#search input[type="submit"]{top: 52px;}
}
@media only screen and (min-width: 768px) and (max-width: 959px) { #search input[type="submit"]{top: 52px;} }
#32
Отправлено 04 Август 2014 - 18:51
@media only screen and (min-width: 480px) and (max-width: 767px { #search input[type="submit"]{top: 52px;}}
как насамом деле должно быть?
#33
Отправлено 04 Август 2014 - 19:02
malroz (04 Август 2014 - 18:51) писал:
@media only screen and (min-width: 480px) and (max-width: 767px { #search input[type="submit"]{top: 52px;}}
как насамом деле должно быть?
@media only screen and (min-width: 768px) and (max-width: 959px) { #search input[type="submit"]{top: 52px;} } @media only screen and (min-width: 480px) and (max-width: 767px) { .hidden-tablet {display: none !important;} .container {width: 460px;} .container .column, .container .columns {margin-left: 5px;margin-right: 5px;} .columns.alpha {margin-left: 0;margin-right: 5px;} .columns.omega {margin-right: 0;margin-left: 5px;} .alpha.omega {margin-left: 0;margin-right: 0;} .container .two.columns {width: 200px;} .container .four.columns {width: 100%;} .container .five.columns, .container .twelve.columns {width: 460px;margin:0;}
#35
Отправлено 04 Август 2014 - 19:14
malroz (04 Август 2014 - 19:09) писал:
@media only screen and (min-width: 768px) and (max-width: 959px) { #search input[type="submit"]{top: 52px;}} .hidden-tablet {display: none !important;} .container {width: 460px;} .container .column, .container .columns {margin-left: 5px;margin-right: 5px;} .columns.alpha {margin-left: 0;margin-right: 5px;} .columns.omega {margin-right: 0;margin-left: 5px;} .alpha.omega {margin-left: 0;margin-right: 0;} .container .two.columns {width: 200px;} .container .four.columns {width: 100%;} .container .five.columns, .container .twelve.columns {width: 460px;margin:0;}измените на
@media only screen and (min-width: 768px) and (max-width: 959px) { #search input[type="submit"]{top: 52px;} } @media only screen and (min-width: 480px) and (max-width: 767px) { .hidden-tablet {display: none !important;} .container {width: 460px;} .container .column, .container .columns {margin-left: 5px;margin-right: 5px;} .columns.alpha {margin-left: 0;margin-right: 5px;} .columns.omega {margin-right: 0;margin-left: 5px;} .alpha.omega {margin-left: 0;margin-right: 0;} .container .two.columns {width: 200px;} .container .four.columns {width: 100%;} .container .five.columns, .container .twelve.columns {width: 460px;margin:0;}
#36
Отправлено 04 Август 2014 - 19:18
#38
Отправлено 04 Август 2014 - 19:29
#39
Отправлено 04 Август 2014 - 23:42
#40
Отправлено 05 Август 2014 - 03:11
.header_bar #search input[type="submit"] { border: 2px solid #ff0000; height: 40px; position: absolute; right: 0; }замените на:
.header_bar #search input[type="submit"] { border: 2px solid #ff0000; height: 40px; position: absolute; right: 0; top: 0; }
Количество пользователей, читающих эту тему: 0
0 пользователей, 0 гостей, 0 анонимных