简体   繁体   中英

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

在此处输入图片说明

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

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

You should add padding-left to .entry h4 or more padding to that element.

.post-title, .entry h4 {
font-weight: bold;
color: #568e90;
padding-left: 10px;
}

在此处输入图片说明

More padding to align with the bullet lists

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM