Search code examples
htmlcss

How to remove extra width from my website?


From 2 hours I'm looking for what error is on my page because I have a huge blank space...the width is too big and I don't want to have that space. Could you help me to fix my code ?

Here is my website where you can check : https://andrei-my-codepen.000webhostapp.com/

I don't know if it's because of an unclosed tag, or from CSS. But, when I wanted to fix this problem, I saw that, at some divs with class row, if I cancel margin-left: -15px, that space disappear, maybe is because I have too much row class?

enter image description here

Here is my codepen : https://codepen.io/andreixfr/pen/rNNbEZE


Solution

  • You can do this

    .site-wrap {overflow-x:hidden}
    

    But this is not this ideal solution you have to keep in mind that a row in bootstrap should be wrapped in a container or container-fluid, the same with the cols that must be wrapped in a row, in your site I can see a lot of rows alone and that probably may be causing your problem.