Skip to content

Commit

Permalink
fix bugs in contentpage2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeeeoLiu committed Aug 5, 2016
1 parent 4987822 commit 7c5d741
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions css/contentpagestyle2.css
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,26 @@
color: #999999;
margin: 0;
margin-bottom: 10px;
}
.main_body_div p{
font-family: 微软雅黑;
font-size: 18px;
color: #000000;
text-indent: 2em;
line-height: 2em;
margin: 0;
}
.main_body_div p img{
max-width: 600px;
height: auto;
}
.main_body_div p{
text-align: center;
}

.main_body_div p a{
font-family: 宋体;
font-size: 12px;
color: #000000;
line-height:0.5em;
}
2 changes: 1 addition & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
</tr>
<tr>
<td>
<div align="left"><p class="main_body"><?php the_content(); ?></p></div>
<div align="left" class="main_body_div"><p class="main_body"><?php the_content(); ?></p></div>
</td>
</tr>
<tr>
Expand Down

0 comments on commit 7c5d741

Please sign in to comment.