Forum Replies Created
-
AuthorPosts
-
Roberto
Participanti fixed with this:
@media (min-width: 1600px) { .post-template-default .site-content, .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1500px !important; } } @media (min-width: 1800px) { .post-template-default .site-content, .container, .page-template-default:not(.woocommerce) .site-content .container { max-width: 1700px !important; } }
Roberto
Participanti fixed.
Roberto
Participanti added offset, it works perfect with slider active but dont show nothing with slider deactive, please help me
Roberto
Participanti tried but don’t works. can you help me? Palese
Roberto
Participantare you there?
Roberto
Participanti fixed with plugin.
thank you very much. 🙂Roberto
Participantthank you 🙂
Roberto
Participantyour widget no use WordPress languege but it saved in PHP file in /inc/
Roberto
Participantare you there?
Roberto
ParticipantNo works
i put:
require get_stylesheet_directory() . '/inc/newscard-widgets.php';
i’ve error.
i want translate the words “populair”, “commented”, “recent” in /inc/newscard-widgets.php
Roberto
ParticipantPlease help me
Roberto
Participantthe files in inc/ folder have not !function_exists
Roberto
ParticipantA last question: how can i override inc folder in child theme?
Roberto
Participantmy code works but your Is graphically better. but it no works so.
I modify so:<?php $get_description = get_post(get_post_thumbnail_id())->post_excerpt; if(!empty($get_description)){//If description is not empty show the div ?> <figcaption class="featured-image-caption"><?php echo esc_html ($get_description);?></figcaption> <?php } ?> </figure><!-- .post-featured-image .page-single-img-wrap --> <?php } ?>
.post-featured-image.page-single-img-wrap .featured-image-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 25px 7px; font-weight:bold; font-style:italic; color: #ffffff; background-color: black; opacity: 70% } @media (max-width: 767px) { .post-featured-image.page-single-img-wrap .featured-image-caption { font-size:80%; text-align:center; padding-left: 15px; padding-right: 15px; } } }
Roberto
Participanti done it adding in /template-parts/content.php in row 36:
<?php
$get_description = get_post(get_post_thumbnail_id())->post_excerpt;
if(!empty($get_description)){//If description is not empty show the div
echo ‘<div class=”featured_caption”>’ . $get_description . ‘</div>’;
}
?> -
AuthorPosts