Page content offset when closing modal bootstrap

Asked

Viewed 230 times

1

I have the following problem, when opening a link in a modal on my page and closing it the content of the main page is shifted to the left, whenever the modal is open and closed the content moves, I do not know why it happens, I appreciate the help.

This is the site: http://leituracrista.com/folhetos/doutrinarios/a-cruz-e-a-gloria/

Try opening a link on the page above, for example (1 John 3:5).

  • Put HTML and CSS code in question.

  • Which version of bootstrap? This is a bug in the class modal-open of a version. Go bootstrap.css file (or min if you’re using) @Miguelsilva, look for: body.modal-open is kind of great the style application. Comment the style margin- who is there

  • @Lucascosta boostrap 3.3.7.

  • The interesting thing is that if I open html locally it is no problem

  • Opening the site seems to me that you load several times bootstrap.min.css and two versions, 3.3.6 and 3.3.7

  • @Lucascosta I will test, I was using css online, I will have to download here, this

  • @Lucascosta, I’ll fix this, thank you

  • @Lucascosta managed to solve, was the duplicate references to css even, I left only version 3.3.7 and worked well. Thanks. How do I mark the post as solved?

  • You can reply and mark your reply.

Show 4 more comments

1 answer

0


The page was loading several times bootstrap.min.css and two versions Just remove the different and repeated versions

Browser other questions tagged

You are not signed in. Login or sign up in order to post.