Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1399695

    We need to add the social media icon “RUMBLE”
    How do we go about doing this?

    • This topic was modified 1 year, 9 months ago by So Evolve.
    #1399756

    Hi So Evolve,

    I have checked for the rumble icon on fontello’s website unfortunately, I did not find any icon.
    You will need to find it somewhere or you can try downloading it here: https://companieslogo.com/rumble/logo/ (I just found one here)
    Then do the following Steps:
    1. Please add this code in functions.php of your child theme or you can add it via a plugin called WPCode:

    // Register new icon as a theme icon
    function avia_add_custom_icon($icons) {
        $icons['rumble'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue897');
        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['Rumble'] = 'rumble';
        return $icons;
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);

    2. Go to Enfold > Social Profiles, then add Rumble and the link to your Rumble Channel.

    3. Go to Header > Extra Elements > Header Social Icons and make sure to set to any value except No social Icons (at this point check the frontend of your site and see if it works properly)

    4. Go to Media > Add New, then upload the rumble icon, (once uploaded) click the Copy URL to clipboard button.

    5. Go to Enfold > General Styling > Quick CSS and add this CSS code:

    #top #header .social_bookmarks .av-social-link-rumble a {
        background: url(rumble_image_url) center center no-repeat;
        background-size: contain;
    }
    
    #top #header .social_bookmarks .av-social-link-rumble a:before {
        display: none;
    }

    Just replace rumble_image_url with the URL you copied from the clipboard.
    Hope this helps.

    Best regards,
    Nikko

    #1399845
    This reply has been marked as private.
    #1399872

    Hi,
    It sounds like you copied the code from an email.
    Please ensure to copy the code from the forum and not an email notification so the symbols are not converted.
    If this doesn’t help, please include an admin login in the private content area so we can be of more assistance.

    Best regards,
    Mike

    #1399898

    Yes, you were correct; I did make the mistake of copying the code from the email.
    I made the changes, and all works perfectly.
    Thanks for the great support

    #1399905

    Hi So Evolve,

    I’m glad that we could help you :)
    Thanks for using Enfold and have a great day!

    Best regards,
    Nikko

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Add Social Media Icon for Rumble’ is closed to new replies.