Tagged: layout, testimonial
Hi guys,
how do i make the name & title appear first in testimonial?
</img>
thanks
felix
Hey foking!
Thank you for visiting the support forum!
Please add this on Quick CSS or custom.css:
div.avia-testimonial-meta {
margin: 0;
}
div.avia-testimonial-image {
float: right;
}
Cheers!
Ismael
Hi Ismael,
Hmm.. thats really not what I want.
I want the field “Name” and “Subtitle below name” to be on top instead of below the”Quote”
Felix
Hi!
Please try adding following code to Functions.php file in Appearance > Editor
function add_custom_script(){
?>
<script>
jQuery(window).load(function(){
jQuery(".avia-testimonial-meta-mini").prependTo(".avia-testimonial-content");
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
Best regards,
Yigit
Hi!
Thank’s for coming back.
I added the following code in functions.php at the end:
function add_custom_script(){
?>
<script>
jQuery(function() {
jQuery(".avia-testimonial-meta-mini").each(function(){
jQuery(this).closest('.avia-testimonial_inner').prepend(jQuery(this));
});
});
</script>
<?php
}
add_action('wp_footer', 'add_custom_script');
It moved the names up to the top.
Regards,
Günter
Cool many thanks so much.
I just need to move it slightly to the right. I guess that can be easily fixed using CSS