生成博文后图片不靠左侧对齐,默认居中了。 #538
-
|
如图所示,本地预览图片直接居中了,我是通过 |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
Beta Was this translation helpful? Give feedback.
-
|
hexo-renderer-marked 一直是居中的 如果需要自定义样式建议直接上html代码。 |
Beta Was this translation helpful? Give feedback.
-
|
是在.md文件里插入html代码吗?每一张图片都需要设置靠左样式吗?感觉不是很方便啊,有没有改一次就行的呢?我是C/C++选手,这方面还是小白。感谢解答 |
Beta Was this translation helpful? Give feedback.
-
|
自定义css? |
Beta Was this translation helpful? Give feedback.
-
好的,既然默认一直是居中的显示,那就不是我整的不对。我在想想办法吧,感谢你的解答。 |
Beta Was this translation helpful? Give feedback.
-
|
改一下这里试试
|
Beta Was this translation helpful? Give feedback.


改一下这里试试
hexo-theme-next/source/css/_common/scaffolding/base.styl
Line 68 in 2e672c8
margin-left: auto;会影响居中