Compare commits

..

2 Commits

Author SHA1 Message Date
2a78084959 اصلاح css بخش آخرین مقالات
عرض تصاویر و رنگ متن نام نویسنده
2025-05-30 14:02:14 +03:30
65ed1f26b2 حل مشکل باز نشدن عکس آخرین مقالات 2025-05-30 13:58:36 +03:30
2 changed files with 4 additions and 3 deletions

View File

@ -295,8 +295,8 @@
$the_query->the_post();?> $the_query->the_post();?>
<div class="article-item"> <div class="article-item">
<a href="<?php the_permalink()?>"> <img src="<?php the_post_thumbnail()?>" alt=""> </a> <a href="<?php the_permalink()?>"><?php the_post_thumbnail()?></a>
<a href="<?php the_permalink()?>"> <h3><?php the_title()?></h3> </a> <a href="<?php the_permalink()?>"><h3><?php the_title()?></h3></a>
<span class="author"><?php echo get_the_author_posts_link()?></span> <span class="author"><?php echo get_the_author_posts_link()?></span>
<span class="publish-date"><?php the_date()?></span> <span class="publish-date"><?php the_date()?></span>
</div> </div>

View File

@ -658,6 +658,7 @@ header{
} }
.article-item img{ .article-item img{
max-width: 100%; max-width: 100%;
height: 150px;
} }
.article-item h3{ .article-item h3{
color: #424141; color: #424141;
@ -665,7 +666,7 @@ header{
margin:10px 0 20px 0; margin:10px 0 20px 0;
font-size: 15px; font-size: 15px;
} }
.article-item .author{ .article-item .author a{
background: linear-gradient(45deg, #9b35fa, #60afff); background: linear-gradient(45deg, #9b35fa, #60afff);
border-radius: 25px; border-radius: 25px;
padding: 2px 10px; padding: 2px 10px;