-
AuthorPosts
-
September 27, 2018 at 2:11 pm #1015289
Hi dear Kriesi team,
sorry for this new thread. The old thread is closed already.
Mike and Victoria, you helped me with this issue. Everything on the site works and looks fine except for this:https://kriesi.at/support/topic/enfold-read-more-link-in-masonry-portfolio/#post-1014235
How can this be solved?
Thank you very much for your help!Best regards,
ThomasSeptember 28, 2018 at 9:12 am #1015645Hey Ink_Eye,
I fixed it by adjusting the code in the functions.php to:
// masonry read more function ava_custom_script_mod(){ ?> <script> (function($){ $(window).on('av-height-change', function() { $('.av-caption-style-overlay').each(function() { var more = $(this).find('.av-masonry-read-more'); var cont = $(this).find('.av-masonry-entry-title'); if( more.length >= 1 ) { cont.css('opacity','1'); return; } $('<div class="av-masonry-read-more avia-button">mehr erfahren</div>').insertAfter(cont); cont.css('opacity','1'); }); }); })(jQuery); </script> <?php } add_action('wp_footer', 'ava_custom_script_mod');
Best regards,
PeterSeptember 28, 2018 at 10:53 am #1015690Hi Peter,
thank you very much!
Best regards, Thomas
September 28, 2018 at 10:55 am #1015692Hi,
Glad I could help you :)
Best regards,
PeterJuly 14, 2020 at 5:13 pm #1230338Hi Peter,
I hope you are fine! I used this code on my website and it worked pretty well for two years. Until I made some updates and fixed some other issues a few days before.
I had somme issues with the child theme. So I copied the code in the functions file of the main theme. I prefer to use the child theme again, if possible. What can I do to get the read more again?
If it is possible to use the child theme again I would like to copy all of the custom css code to the child theme also.
Best regards, Thomas
July 15, 2020 at 4:41 pm #1230652Hi Ink_Eye,
Of course, you can copy all the additional coding into the child theme, not just can, but should totally do so.
If you need further assistance please let us know.
Best regards,
VictoriaJuly 17, 2020 at 8:42 am #1231139Hi Victoria,
yes, I did it before. And I would like to do it again. I had some Issues with that. For example the font did not get loaded. I can do it again. I hope that it will fix the “read more” issue. It worked before, but now not anymore.
I did it like in another post in this forum:
Structure in the child theme:
css/custom.cssand put in the child theme functions php a line of code to tell the theme that there is a custom.css file.
Is this correct?
Best regards, Thomas
July 24, 2020 at 4:59 am #1232856 -
AuthorPosts
- You must be logged in to reply to this topic.