首页 > 解决方案 > How do I get the text of my WordPress posts left indented?

问题描述

I'm using the theme "blogito" for my WordPress blog. In my articles, the text (<p>) is weirdly right indented and in some browsers you cant see the whole text.

How do I get a left indentation, so the text is aligned with the pictures. On this post page you can see what I mean:

https://couch-investing.de/shopdoc-das-allrounder-tool-fuer-amazon-verkaeufer/

Does that have something to do with the class entry-content col-xs-12 col-lg-10 col-lg-push-2?

I'm really bad at JavaScript and CSS and would be happy about your help :)

Cheers

Rob

标签: javascriptcsswordpresswordpress-theming

解决方案


您已为内容区域设置了偏移量
,在代码中找到此行

<div id="primary" class="content-area col-lg-10 col-lg-offset-1">

并删除col-lg-offset-1以更好地放置
这样的文本:

<div id="primary" class="content-area col-lg-10">

推荐阅读