chibwe
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Chaplin] Ajax Load More Custom QueryAm I posting in the right forum for this kind of assistance?
Forum: Themes and Templates
In reply to: [Chaplin] Lazy Loading SupportHi @anlino,
Yes, I noticed that post content is lazy loaded. What files would I have to mod in order to enable lazy loading? I tried modifying the preview template partial with the code below. It worked for images that are initially loaded up on a given page. Doesn’t work for the ones loaded upon scrolling down the page. What could be causing this? Please let me know if You need more info to help clarify things.if ( $aspect_ratio !== 'original' ) : ?> <a href="<?php the_permalink(); ?>"> <img class="faux-image dd-rounded-top aspect-ratio-<?php echo $aspect_ratio; ?>" src="<?php echo esc_url( $image_url ); ?>"> </a> <?php else : ?> <a href="<?php the_permalink(); ?>"> <?php if ( has_post_thumbnail() && ! post_password_required() ) { the_post_thumbnail( $post->ID, $image_size ); } else { echo '<img src="' . esc_url( $fallback_image_url ) . '" />'; } ?> </a> <?php endif; ?>Forum: Themes and Templates
In reply to: [Chaplin] Font and Colour of Cover Page Excerpt TextNot sure about the first question, since I’m using a plugin option for that.
As of excerpt color, take this:
.preview-excerpt P { color: red; }Add it to your customizer > additional css section.
All you’d have to do then is pick a the color you want, intsead of red, once you know it all works.
How does that work for you?
Remember to refresh your page a couple times or use incognito, if the change isn’t immediately visible.
Hope that helps, let me know.