Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
February 10, 2015 at 7:06 pm #393881
Thanks for the great theme! I was wondering how I can move the Author of the testimonials to be on top instead of the bottom of the testimonial?
Thanks in advance!
February 11, 2015 at 2:22 pm #394336Hey brandonwu!
Thank you for using our theme.
You have to modify the file enfold\config-templatebuilder\avia-shortcodes\testimonials.php.
Goto line 385ff and you find:
$output .= "<div class='avia-testimonial {$class}' $markup>"; $output .= "<div class='avia-testimonial_inner'>"; if($grid) $output .= $avatar; $output .= "<div class='avia-testimonial-content {$this->content_class}' {$this->content_styling} {$markup_text}>"; $output .= ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content)); $output .= "</div>"; $output .= "<div class='avia-testimonial-meta'><div class='avia-testimonial-arrow-wrap'><div class='avia-arrow'></div></div>"; if(!$grid) $output .= $avatar; $output .= "<div class='avia-testimonial-meta-mini'>"; if($name) $output .= "<strong class='avia-testimonial-name' {$this->title_styling} {$markup_name}>{$name}</strong>"; if($subtitle) $output .= "<span class='avia-testimonial-subtitle {$this->subtitle_class}' {$this->title_styling} {$markup_job}>{$subtitle}</span>"; if($link) $output .= "<span class='hidden avia-testimonial-markup-link' {$markup_url}>{$link}</span>"; if($link) $output .= " – <a class='aviablank avia-testimonial-link' href='{$link}' >{$linktext}</a>"; $output .= "</div>"; $output .= "</div>"; $output .= "</div>"; $output .= "</div>";
Replace with:
$output .= "<div class='avia-testimonial {$class}' $markup>"; $output .= "<div class='avia-testimonial_inner'>"; if($grid) $output .= $avatar; $output .= "<div class='avia-testimonial-meta'><div class='avia-testimonial-arrow-wrap'><div class='avia-arrow'></div></div>"; if(!$grid) $output .= $avatar; $output .= "<div class='avia-testimonial-meta-mini'>"; if($name) $output .= "<strong class='avia-testimonial-name' {$this->title_styling} {$markup_name}>{$name}</strong>"; if($subtitle) $output .= "<span class='avia-testimonial-subtitle {$this->subtitle_class}' {$this->title_styling} {$markup_job}>{$subtitle}</span>"; if($link) $output .= "<span class='hidden avia-testimonial-markup-link' {$markup_url}>{$link}</span>"; if($link) $output .= " – <a class='aviablank avia-testimonial-link' href='{$link}' >{$linktext}</a>"; $output .= "</div>"; $output .= "</div>"; // these 3 lines have been moved !!!! $output .= "<div class='avia-testimonial-content {$this->content_class}' {$this->content_styling} {$markup_text}>"; $output .= ShortcodeHelper::avia_apply_autop(ShortcodeHelper::avia_remove_autop($content)); $output .= "</div>"; $output .= "</div>"; $output .= "</div>";
Regards,
Günter -
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.