【发布时间】:2019-07-31 02:41:30
【问题描述】:
我正在使用第三方模板。对于我的博客文章,桌面上的显示还可以。但在移动版本(平板电脑和手机)上,帖子正文是右对齐的。我希望它向左移动。
@media only screen and (max-width: 780px) {
.picsizer {
width: 100%;
}
.fullwrap {
position: relative;
}
.post-outer {
width: 100%;
}
#stickyme {
width: 100%;
}
.labelblog .post-outer {
padding-left: 40px;
padding-right: 40px;
}
}
~~~~<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/-z541xJZy8o4/XT0QfBsglbI/AAAAAAAABKU/LcYLqVn4A1MMDRODOxLeewRDDasnVCq0gCKgBGAs/s1600/famous.png" imageanchor="1" ><img border="0" src="https://1.bp.blogspot.com/-z541xJZy8o4/XT0QfBsglbI/AAAAAAAABKU/LcYLqVn4A1MMDRODOxLeewRDDasnVCq0gCKgBGAs/s320/famous.png" width="320" height="320" data-original-width="636" data-original-height="636" /></a></div>
<link rel="stylesheet" href="https://s3.amazonaws.com/canvas-chess/source/pgn.min.css">
<script src="https://s3.amazonaws.com/canvas-chess/source/canvaschess-0.1.0.min.js"></script>
<script src="https://s3.amazonaws.com/canvas-chess/source/pgnviewer-0.1.0.min.js"></script>
<script>
var viewer = new CHESS.PgnViewer({
pgn_uri: 'https://s3.amazonaws.com/canvas-chess/pgn/lasker_capablanca_1921.pgn',
piece_set: 'https://s3.amazonaws.com/canvas-chess/pieces/merida'
});
</script>
....
I added in the html code. Here's the link to the full blog post. It was done a while back and I am doing a fixing of the website.
https://abigaildemo.blogspot.com/2018/10/four-move-checkmates.html
【问题讨论】:
-
请发布您的相关代码,以及到目前为止您尝试过的内容。
-
我们也需要html。
-
@takendarkk - 我将帖子添加到 html 中。