-
AuthorPosts
-
March 1, 2018 at 7:59 pm #919847
Dear support,
i managed to change the Image Position of the large testimonial slider above the text following this instruction:: https://kriesi.at/support/topic/change-the-position-of-image-in-testimonial/Is there a chance to position the name and the description right beside the image on top of the testimonial? You find the example at the bottom of the page linked in private content
thanks!March 2, 2018 at 11:40 am #920241Hey dondela,
Thank you for using Enfold.
Yes, that’s possible. Please add this script in the functions.php file.
add_action('wp_footer', 'ava_custom_script'); function ava_custom_script(){ ?> <script type="text/javascript"> (function($) { function ab() { $('.avia-testimonial').each(function() { var meta, image; meta = $(this).find('.avia-testimonial-meta'); image = $(this).find('.avia-testimonial-image'); meta.insertAfter(image); }); } ab(); })(jQuery); </script> <?php }
And then add the following css codes in the QuicK CSS field.
.avia-testimonial-image { float: left; margin-right: -200px; }
Best regards,
IsmaelMarch 2, 2018 at 11:49 am #920247Hi Ismael,
thanks for your help. I tried it but the image disappears and the headline Text is still below the content. What could be my fault??March 3, 2018 at 9:29 am #920705Hi dondela,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaMarch 4, 2018 at 1:32 pm #921025Hi Victoria,
see the details in the private content.
Thank youMarch 5, 2018 at 11:33 am #921422Hi,
Thank you for the info.
We adjusted the script a bit and added a few css codes. Please remove browser cache or hard refresh before checking the page.
Best regards,
IsmaelMarch 5, 2018 at 11:49 am #921433Hi Ismael,
awesome, best support ever!
Thank you
:-)March 5, 2018 at 8:16 pm #921747Hi,
Glad we could help! Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/Thank you for using Enfold :)
Best regards,
VinayMarch 8, 2018 at 3:10 pm #923914Dear support,
i have one more issue with the testimonial Image position. In mobile view the names and description overlap the image. is there a way to avoid this?March 9, 2018 at 8:04 am #924332Hi dondela,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) { #top .av-large-testimonial-slider .avia-testimonial-meta-mini { padding-top: 185px; } } .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial { padding: 0px 35px; } #top #wrap_all .all_colors #after_section_5 h1 { font-size: 24px; }
If you need further assistance please let us know.
Best regards,
VictoriaMarch 9, 2018 at 8:04 am #924333Hi dondela,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 767px) { #top .av-large-testimonial-slider .avia-testimonial-meta-mini { padding-top: 185px; } } .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial { padding: 0px 35px; } #top #wrap_all .all_colors #after_section_5 h1 { font-size: 24px; }
If you need further assistance please let us know.
Best regards,
VictoriaMarch 9, 2018 at 9:49 am #924355Dear Victoria,
thank you very much, awesome support!March 9, 2018 at 10:10 am #924366One more thing: The left arrow is now on top of the picture in the desktop view. Ii there a css solution for that?
March 9, 2018 at 3:09 pm #924532Hi dondela,
Please, remove that code and add this one, the curly was in the wrong place.
@media only screen and (max-width: 767px) { #top .av-large-testimonial-slider .avia-testimonial-meta-mini { padding-top: 185px; } .responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial { padding: 0px 35px; } #top #wrap_all .all_colors #after_section_5 h1 { font-size: 24px; } }
If you need further assistance please let us know.
Best regards,
VictoriaMarch 9, 2018 at 3:55 pm #924570Hi Victoria,
i updated the code. But now the description text overlaps the image again. You have another tip for me maybe.March 14, 2018 at 8:18 am #926471Hi,
We adjusted the css codes a bit.
@media only screen and (min-width: 768px) { /* Add your Desktop Styles here */ #top .av-large-testimonial-slider .avia-testimonial-content { text-align: left!important; display: block; width: 90%; margin: 0 auto; } #top .avia-testimonial .avia-testimonial-image { float: left; display: block; width: 30% !important; height: auto; } #top .av-large-testimonial-slider .avia-testimonial-meta-mini { padding-top: 0 !important; } #top .av-large-testimonial-slider .avia-testimonial-meta { display: block; margin: 10px 0 50px 0; float: left; width: 65% !important; } } @media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ .avia-testimonial-image { margin: 0 auto; float: none; } #top .av-large-testimonial-slider .avia-testimonial-meta-mini { text-align: center; } }
Best regards,
IsmaelMarch 14, 2018 at 10:40 am #926532Hi Ismael,
thank you very much, great support!March 14, 2018 at 11:43 pm #926923Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)Best regards,
Vinay -
AuthorPosts
- The topic ‘large testimonial image and description position’ is closed to new replies.