How to use The Social icon elsewhere on the website using html or css?

Home Forums Auberge How to use The Social icon elsewhere on the website using html or css?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #22075
    ahmed.salem375
    Participant

    How to use The Social icon elsewhere on the website using html or css?

    Resolved

    Hey there! Have you noticed this support service is provided FREE of charge?
    If you like the speed and accuracy of resolutions, please consider supporting me with a small donation. Thank you

    Consider a donation →

    Hallo
    first i thank you very much for your excellent work on the auberge theme.
    i want to use the genericons icons on a new widget that i created, how to call them using html or php?

    thanks very much

    #22078
    Oliver Juhas
    Keymaster

    Hi ahmed.salem375,

    Please note that social icons are not provided by Genericons Neue icons font. They are actually an SVG images.

    If you want to display Auberge social icon in your child theme‘s functions.php file, you can use this PHP code, for example:

    
    echo Auberge_SVG::get( array( 'icon' => 'facebook', 'base' => 'social-icon' ) );

    (The list of icons can be found in linked SVG file.)

    Displaying Genericons on your website should be as easy as using HTML such as <span class="genericons-neue genericons-neue-location" aria-hidden="true"></span>. For list of available Genericons Neue classes please refer to related CSS stylesheet.

    Best regards,

    Oliver Juhas
    WebMan Design

    #22079
    ahmed.salem375
    Participant

    Thank you very much!

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