How can I remove horizontal scrollbar in wordpress with css?

Viewed 228

I have tried this:

html, body {
    margin: 0px;
    padding: 0px;
    width: 100%;    
}

There is a small white column to the right side of the page, so there is a horizontal scrollbar. I want to see all the contents in a page so that I do not need horizontal scrollbar and I do not need that extra small white column of a page. How can I remove horizontal scrollbar in wordpress with css or what should I do to remove that horizontal scrollbar and that extra small white column?

1 Answers

Add overflow-x: hidden; to your css to hide the horizontal scroll.

Related