如何减少博客作者的左边距 [英] How to reduce left margin on blogger

查看:56
本文介绍了如何减少博客作者的左边距的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对 html css 没有任何经验,我最近开始了自己的博客:

最终输出:

I don't have any experience with html or css, I recently started my blog: https://nataliaputilova.blogspot.com/2019/09/blog-post_50.html

But you can see there's so much white space on the left, how do I reduce this? I tried googling some stuff about editing the html or adding a css code, but none of it worked.

This is the css I tried, and it didn't look like it changed anythin

.content-outer {
    margin-left: 10px;
}

解决方案

change the .centered-bottom and post-sidebar class width.

.centered-bottom, .centered-top {
    width: 90%;  /*change this */
}


if you don't want to have padding for .post-sidebar u can remove it.

.post-sidebar {
    box-sizing: border-box;
    display: block;
    font: normal 400 14px Montserrat, sans-serif;
    padding-right: 20px; /*Remove this if u don't want to have padding */
    width: 70px;   /*change this */
}

Final output:

这篇关于如何减少博客作者的左边距的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆