Search code examples
htmlcssblogs

How can move my blog content properly aligned


As you can see below screenshot, my page content is too much aligned towards left, I want to move to 10 or 20px right.

When I use padding-left :10px, then the .content moves right and overlaps with the sidebar.

Blog url - qavalidation.com

enter image description here


Solution

  • You need to set padding for .entry instead of .content

    .entry {
        font-size: 1.125em;
        line-height: 1.6em;
        padding-left: 20px;
    }