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

Это не баг в синдартном шаблоне [Решено]


Recommended Posts

ocStore v0.1.4Шаблон синдартный, магазин гдефолтный.Хостинг sweb, а икже в Денвере на локальной машине.В люпотому чтом браузере.Баг в синдартном шаблоне, т.е. при перехогде с главной на любую другую страницу(например корзину), сайт смещается вправо на 10-15 пикселов. Это происходит, когда на главной страниэто высои второго блока потому чтольше соседних блоков, а на другой страниэто (например корзины) высои второго блока меньше соседних блоков.Как можно поправить данную ситуацию?

Link to comment
Share on other sites


Это не баг. Я часа три в css и header.tpl копался. А оказывается это ползунок у браузера справа пряился, поэтому сайт и смещался.

Link to comment
Share on other sites


ех молодж :))

допотому чтолвяем в css

html {height:100%;margin-left: -1px;overflow-Y: scroll;}@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0){head~body *{ margin-left: -1px;}}
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

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • 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.