Skip to content

Commit

Permalink
fix picture and readmore link position
Browse files Browse the repository at this point in the history
  • Loading branch information
TheYahya committed Jan 21, 2016
1 parent fa8c993 commit e59d6ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<div class="wrapper" dir="rtl">
<div class="header" >

<p class="blog-name"><a href="<?php echo home_url(); ?>"><span><?php bloginfo('name'); ?></span></a>: <?php bloginfo('description'); ?></p>
<p class="blog-name"><a href="<?php echo home_url(); ?>"><span><?php bloginfo('name'); ?></span></a> <?php bloginfo('description'); ?></p>
<p class="header-links"><span> </span>


Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</p>
</header>
<section class="entry-content cf">
<?php the_content('بیشتر بخوانید <span class="meta-nav">&larr;</span>',false); ?>
<?php the_content('<p class="read-more-p">بیشتر بخوانید <span class="meta-nav">&larr;</span></p>',false); ?>
</section>
<footer class="article-footer cf">

Expand Down
12 changes: 6 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,10 @@ body {
.entry-content a:hover, .notf p a:hover, .comment-reply-link:hover, .fn a:hover, .navigation a:hover, .footerWrapper a:hover {
color: #000000;
border-bottom: #000000 dashed 1px;
}
}
.read-more-p{
text-align: left;
}
/* Images */
.alignleft {
float: left;
Expand All @@ -150,7 +153,7 @@ body {
margin-right: auto;
}
img {
max-width: 100% !important;
width: 100%;
height: auto;
border-radius: 6px;
}
Expand Down Expand Up @@ -255,10 +258,7 @@ img {
font-size: 24px;
}
}
@media all and (max-width: 600px){
.blog-name a {
font-size: 2.5em;
}
@media all and (max-width: 600px){
.wrapper {
margin-top: 0;
}
Expand Down

0 comments on commit e59d6ae

Please sign in to comment.