Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #210708

    is it possible to have Partner/Logo Element title under elements (not only on hover elements) ?

    http://www.repromoselle.com/wordpress/prestations/

    #211064

    Hey ceubri!

    Edit config-templatebuilder > avia-shortcodes > logoslider.php, find this code on line 465:

    
    $output .= !empty($link) ? "<a href='{$link}' data-rel='slide-".avia_partner_logo::$slider."' class='slide-image' title='{$linktitle}' {$blank} >{$img}</a>" : $img;
                        $output .= "</div>";
    

    Replace it with:

    
    $output .= !empty($link) ? "<a href='{$link}' data-rel='slide-".avia_partner_logo::$slider."' class='slide-image' title='{$linktitle}' {$blank} >{$img}</a>" : $img;
    					$output .= "<div class='logo-title'>".$hover."</div>";
                        $output .= "</div>";
    

    Best regards,
    Ismael

    #211191

    Great !
    last questions ;)

    – is it possible to keep same the links ?
    – how to update the logoslider.php via my enfold child theme ?

    #211638

    Hi!

    You can upload the modified logoslider.php into the child theme folder. However you must add some code into the child theme functions.php file to overwrite the original parent theme code – see: https://kriesi.at/support/topic/have-easyslider-fill-up-entire-column-with-no-padding-or-margins/#post-205281

    Regards,
    Peter

    #212190

    Cool, the .php in child theme works !

    – is it possible to keep the same links than the thumbnails?
    e.g. : the title “Reprographie” go to http://www.repromoselle.com/wordpress/prestations/reprographie/

    Thanks for your usefull responses (great support) !!!

    #212241

    Hey!

    If I am not mistaken, you can replace the code above with this:

    $output .= !empty($link) ? "<a href='{$link}' data-rel='slide-".avia_partner_logo::$slider."' class='slide-image' title='{$linktitle}' {$blank} >{$img}</a>" : $img;
    					$output .= "<a href='{$link}' title='{$linktitle}' {$blank}><div class='logo-title'>".$hover."</div></a>";
                        $output .= "</div>";

    Cheers!
    Ismael

    #212250

    Yes you’re right !!!
    THX :)))

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Partner/Logo Element title under elements’ is closed to new replies.