Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #1161780

    Hi,
    I created instead the twitter icon the Vero icon. Works perfect, only the titel is not right. Instead Twitter should be displayed „VERO“
    pictas-collective.com
    Thanks you for your support.
    Best,
    Harry

    #1162618

    Hey,

    You can add Vero icon by referring to this post – https://kriesi.at/documentation/enfold/social-share-buttons/#how-to-add-custom-social-icons-to-enfold-options. If you would like us to do it for you, please create temporary admin logins and post them here privately :)

    Best regards,
    Yigit

    #1162626

    Thanks Yigit,
    please can you do this for me?
    Many thanks.
    Best,
    Harry

    PS: maybe you can send me the workflow what you did. because I use only the parent theme and if I make a theme update I can make the changes by myselfs

    #1162642

    Hi,

    I tried replacing the code in the bottom of Functions.php file with this one

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    	$icons['vero_icon']	 = array( 'font' =>'vero', 'icon' => 'ue800');
    	return $icons;
    }
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    
    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
    	$icons['Vero'] = 'vero_icon';
    	return $icons;
    }
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    But saving does not work for me. Could you please replacing your code with this one? Then you would need to go to Enfold theme options to set your social icon once again :)

    Best regards,
    Yigit

    #1163152

    Hi,

    it doesn’t work. This is the code at the bottom of the function.php:

    /*
    * register custom functions that are not related to the framework but necessary for the theme to run
    */

    require_once( ‘functions-enfold.php’);

    add_filter(‘avf_default_icons’,’avf_default_icons_mod’, 10, 1);
    function avf_default_icons_mod($icons) {
    $icons[‘twitter’] = array( ‘font’ =>’vero’, ‘icon’ => ‘ue800’);
    return $icons;
    }

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
    $icons[‘vero_icon’] = array( ‘font’ =>’vero’, ‘icon’ => ‘ue800’);
    return $icons;
    }
    add_filter(‘avf_default_icons’,’avia_add_custom_icon’, 10, 1);

    // Add new icon as an option for social icons
    function avia_add_custom_social_icon($icons) {
    $icons[‘Vero’] = ‘vero_icon’;
    return $icons;
    }
    add_filter(‘avf_social_icons_options’,’avia_add_custom_social_icon’, 10, 1);

    #1163158

    And know I got an error code on the website.

    Warning: require_once(0php’): failed to open stream: No such file or directory in /home/.sites/327/site3737621/web/wp-content/themes/enfold/functions.php on line 770 Fatal error: require_once(): Failed opening required ‘0php’’ (include_path=’.:/usr/share/pear’) in /home/.sites/327/site3737621/web/wp-content/themes/enfold/functions.php on line 770
    There has been a critical error on your website.

    #1163165

    Hey!

    Could you please post FTP logins here privately so we can look into it?

    Cheers!
    Yigit

    #1163168

    Sure.

    #1163175

    Hi gharry79,

    We cannot login to the dashboard with the php error. Please remove this code from the functions.php file via FTP. Or give us access to the FTP.

    Best regards,
    Victoria

    #1163183

    Okay.

    #1163218

    Hi,

    Changes are done. Please review your website :)

    Best regards,
    Yigit

    #1163221

    Awesome. Thank you very much. But now the quality and the sharpness on the images are gone.

    Best,
    Harry

    #1163241

    I added this code at the end of the function.php for the image problem:

    add_filter( ‘avf_avia_builder_masonry_lightbox_img_size’, ‘enfold_customization_change_popup_size’ );
    function enfold_customization_change_popup_size( $size ) {
    return ‘fullsize’;
    }

    But the images are stil not sharp.

    Many thanks.

    Best,
    Harry

    #1163353

    Hi,

    Please regenerate thumbnails using this plugin – https://wordpress.org/plugins/regenerate-thumbnails/

    Best regards,
    Yigit

    #1163415

    Hi Yigit,

    I regenerated the thumbnails, then I deleted also the cache but the images are not sharp.

    Many thanks.

    Best,
    Harry

    #1163589

    Hi Harry,

    Can you disable caching and minification for now?

    Which pages are having images that are not sharp?

    Best regards,
    Victoria

    #1163643

    Hi Victoria,
    I don’t use a caching and minification plugin.
    On the main page if you scroll down to the images from our members.
    Best,
    Harry

    #1163658

    Hi Harry,

    I see Autopimize being used and this is what I am referring to. Can you please have it disabled for now?

    Best regards,
    Victoria

    #1163661

    Hey Victoria,
    now I deactivated Autopimize.
    Best,
    Harry

    #1163662

    Should I regenerate the thumbnails again?
    Best,
    Harry

    #1163778

    Hi Harry,

    Please have a look at the following links:

    The code added was not supposed to affect the images or to make any changes to them.
    Best regards,
    Victoria

Viewing 21 posts - 1 through 21 (of 21 total)
  • You must be logged in to reply to this topic.