new style yets moread
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?php $posts = get_posts( array(
|
||||
'numberposts' => 6,
|
||||
'numberposts' => 4,
|
||||
'category' => $category_id, // текущая рубрика
|
||||
'orderby' => 'date',
|
||||
'order' => 'DESC',
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
<?if (defined('TESTMODE') and TESTMODE == 1):?>
|
||||
<link rel="stylesheet" href="<?php echo get_template_directory_uri();?>/style-test.css?ver=3">
|
||||
<?else:?>
|
||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=280">
|
||||
<link rel="stylesheet" href="<?php echo get_stylesheet_uri();?>?ver=283">
|
||||
<?endif?>
|
||||
<link href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" rel="stylesheet">
|
||||
<!--<link href="<?php echo get_stylesheet_directory_uri()?>/pub/fontawesome.css" rel="stylesheet">-->
|
||||
|
||||
12
style.css
12
style.css
@@ -2507,14 +2507,18 @@ span.rub_back_title{
|
||||
}
|
||||
|
||||
|
||||
@media screen and (min-width: 1800px) {
|
||||
@media screen and (min-width: 1600px) {
|
||||
|
||||
#yets-5, #yets-6{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.moread{
|
||||
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
||||
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
||||
grid-template-rows: 2fr;
|
||||
grid-auto-rows: 0;
|
||||
overflow-y: hidden;
|
||||
row-gap: 0;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -2895,3 +2899,7 @@ and (max-device-width : 667px) {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user