Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #795815

    Hi,
    I would like to add a filter to override the helper-social-media.php to rewrite this part of code, and change h5 for h4.
    I tried doing it adding the same code to my enfold-child functions.php with the litte change ( it works), but I thinking is so much better If I do it with a filter. (only about 5 lines of code).

    $this->html .= "<div class='av-share-box'>";
    	if($this->title){
    		$this->html .= 		"<h5 class='av-share-link-description'>";
    		$this->html .= 		apply_filters('avia_social_share_title', $this->title , $this->args);
    		$this->html .= 		"</h5>";
    }

    I would like to know if I can do the same procedure for other parts of the enfold theme

    So much thanks.

    #796113

    Hey vgsystems,

    You can copy this file to your child theme, with the same directory structure and edit the file there. Or we can adjust those with css and no need for overriding the helper.

    Let uk know what you think.
    Best regards,
    Victoria

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