Hi, is it possible to change the “Load More” in Masonry Gallery with a Button (maybe like the “Submit” button in the contaxt form)?
Tnks
Stefano
Hey Stefano!
Open up /enfold/config-templatebuilder/avia-shortcodes/masonry_entries.php and change line 641 from this.
$output .= "<a class='av-masonry-pagination avia-button avia-color-theme-color av-masonry-load-more' href='#load-more' {$data_string}>".__('Load more','avia_framework')."</a>";
To this.
$output .= do_shortcode("[av_button label='Load More' link='manually,#load-more' link_target='' size='medium' position='center' icon_select='no' icon='ue800' font='entypo-fontello' color='theme-color' custom_bg='#444444' custom_font='#ffffff' custom_class='av-masonry-load-more']");
Regards,
Elliott
Hi Elliot,
this code shows the button and that’s exactly what I was looking for but when I click on it it doesn’t load anything but my latest element for a second time.
Hope you can help me, thanks in advance.
Stefano
Hi!
Sorry, I thought we were talking about the masonry entries. I don’t see an easy way of doing that for the masonry gallery unfortunately. You would need to style it with CSS instead.
.av-masonry-load-more { }
Regards,
Elliott
thanks again :)