New Landing How can we help? Atelier Change Icon

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Atelier
  • #305936
    juliensalanave
    Member
    Post count: 125

    Hello team! Good day! Can I change icon on header banner which is the sf-icon-contact or the envelop icon into open envelop icon? What will I do. Your help is much appreaciated. Thanks.

    Please see attached image.

    -Billy

    Attachments:
    You must be logged in to view attached files.
    #306204
    David Martin – Support
    Moderator
    Post count: 20834

    Please install and activate the supplied child theme, inside the child theme functions.php file paste this:

    	// Header contact icon
    	function sf_atelier_header_contact_icon_alt() {
    		return '<i class="sf-icon-contact"></i>';
    	}
    	add_filter('sf_header_contact_icon', 'sf_atelier_header_contact_icon_alt');

    You can then change the icon code <i class="sf-icon-contact"></i> to the one you want to use.

    #306321
    juliensalanave
    Member
    Post count: 125

    What is the Icon code of sf-icon for open envelop? Tnx

    – Billy

    #306378
    David Martin – Support
    Moderator
    Post count: 20834

    You can use any of these: http://fontawesome.io/icons/

    Or http://swiftideas.com/documentation/icon-mind-icons/

    So, you can use the fontAwesome example:

    	// Header contact icon
    	function sf_atelier_header_contact_icon_alt() {
    		return '<i class="fa fa-envelope-open-o" aria-hidden="true"></i>';
    	}
    	add_filter('sf_header_contact_icon', 'sf_atelier_header_contact_icon_alt');
    #306435
    juliensalanave
    Member
    Post count: 125

    How to update to the latest font awesome version. The fa fa-envelope-open-o class does not exist because the current version is outdated.

    -Billy

    #306777
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Billy, we will get that update in the next release.

    In the meantime, add your FTP details and I can do it for you.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.