Hi,
your theme is great, it’s the second time I use it and it’s perfect!
I’m creating a blog page and I have some problems and I need your help.
– I create the page and the article with avia layout builder. With the blog post element, I can’t change the option full content, excerpt, or excerpt and read more. The appearance remains the same.
-the “read more” tag does not work in my article. i don’t want to write an excerpt, is there another solution ? i’m sorry but i didn’t find answers in the frequently asked questions.
Thx for all
Rege
Hey regehernanski,
Sorry for the late reply, when a post has been created with the Advanced Layout Builder the except will need to be added manually in the “Rédiger un extrait (facultatif)” field. The “read more” tag will not work in this situation.
So to use these options we would advise using the standard editor for your posts.
From looking at your post layout it looks like you wanted to have the featured image as a full-width image above the post, and perhaps this is why you want to use the ALB, but this can be achieved with jQuery, from this:
to this:
For this example I used this code to the end of the functions.php file in Appearance > Editor:
function custom_script(){
?>
<script>
(function($) {
$(document).ready(function(){
$('.single-post .big-preview.single-big').css({ 'max-height': '400px'}).detach().insertBefore('.container_wrap_first');
$('.single-post .big-preview.single-big a').css({ 'max-height': '400px'});
});
})(jQuery);
</script>
<?php
}
add_action('wp_footer', 'custom_script');
Perhaps this will help.
Best regards,
Mike
Hi Mike,
I’ll try like this.
Thanks a lot
Rege