Support » Plugin: Ocean Extra » Adding a telegram icon to the social icon widget

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    I don’t think it is possible for the social icon widget right now. But you can add a new icon in the menu social links – https://docs.oceanwp.org/article/365-add-new-social-options-for-the-top-bar-and-the-social-menu

    Hello, Amit.
    Many thanks.
    I’m added this code in to function.php my child theme. It’s worked for the Top Bar.

    
    function my_ocean_social_options( $array ) {
    	// Telegram icon
    	$array['telegram'] = array(
    		'label' => 'telegram',
    		'icon_class' => 'fa fa-telegram',
    	);
    	// Return
    	return $array;
    }
    add_filter( 'ocean_social_options', 'my_ocean_social_options' );
    

    I added this CSS code in to style.css from my child theme for chenge hover color

    
    .fa-telegram:hover{
    	color:#0088cc;
    }
    

    But is don’t worked for the widget social icons.
    Probably need is other php code for this.
    Thank you again.

    • This reply was modified 6 months, 2 weeks ago by  philstudio.

    I mentioned in the last reply. Unfortunately, we don’t have an option to add the social icon in the social icon widget right now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding a telegram icon to the social icon widget’ is closed to new replies.