D
D
Dmitry Borisov2019-05-09 14:49:48
Layout
Dmitry Borisov, 2019-05-09 14:49:48

Layout slides out when clicking on a button in opencart 3, how to solve the problem?

Good day to all!
I am redoing the template for OpenCart 3, and at one moment I noticed that when I click on the cart (a modal window appears), the layout moves to the right side slightly, how to solve this problem?
I tried to point to the button (padding: 0; margin: 0;) and tried to do it on the modal window, but it doesn't work.
You can see it here : Link
Attention : the problem was noticed only in the Google Chrome browser

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladislav, 2019-05-21
@Vladyslawx

Boostrap Modal adds style to the body element padding-right: 17px;
As a fix you can use:

.modal-open {
  padding-right: 0 !important;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question