-
AuthorPosts
-
January 16, 2014 at 4:05 pm #210708
is it possible to have Partner/Logo Element title under elements (not only on hover elements) ?
January 17, 2014 at 7:50 am #211064Hey 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,
IsmaelJanuary 17, 2014 at 1:14 pm #211191Great !
last questions ;)– is it possible to keep same the links ?
– how to update the logoslider.php via my enfold child theme ?January 18, 2014 at 7:04 pm #211638Hi!
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,
PeterJanuary 20, 2014 at 1:09 pm #212190Cool, 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) !!!
January 20, 2014 at 3:18 pm #212241Hey!
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!
IsmaelJanuary 20, 2014 at 3:26 pm #212250Yes you’re right !!!
THX :))) -
AuthorPosts
- The topic ‘Partner/Logo Element title under elements’ is closed to new replies.
