Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #370723

    Hello,

    I’d like to change the Load More button on the masonary gallery so that it is a red button. Preferably, I’d like to use the same red button from the theme builder, medium styled, and centered. I’d like to make a special class for it so I can add custom CSS to the child CSS file in the future.

    -Is there a way to place a button with Load More on masonary?
    -If a button is too complicated, is there a way to add CSS to the Load More button to have the same effect?

    Thank you for an awesome theme!

    #370724
    This reply has been marked as private.
    #370834

    Hey!

    Open up /enfold/config-templatebuilder/avia-shortcodes/masonry-entries.php and change line 640 from this.

    $output .= 		"<a class='av-masonry-pagination 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']");
    

    Cheers!
    Elliott

    #372908

    Thank you elliot! I will test this and get back to you if I have any issues. Feel free to close this ticket

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Create a Button for Load More on Masonary’ is closed to new replies.