Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #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!

    #920241

    Hey 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,
    Ismael

    #920247

    Hi 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??

    #920705

    Hi 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,
    Victoria

    #921025

    Hi Victoria,
    see the details in the private content.
    Thank you

    #921422

    Hi,

    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,
    Ismael

    #921433

    Hi Ismael,
    awesome, best support ever!
    Thank you
    :-)

    #921747

    Hi,

    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

    #923914

    Dear 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?

    #924332

    Hi 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,
    Victoria

    #924333

    Hi 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,
    Victoria

    #924355

    Dear Victoria,
    thank you very much, awesome support!

    #924366

    One more thing: The left arrow is now on top of the picture in the desktop view. Ii there a css solution for that?

    #924532

    Hi 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,
    Victoria

    #924570

    Hi Victoria,
    i updated the code. But now the description text overlaps the image again. You have another tip for me maybe.

    #926471

    Hi,

    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,
    Ismael

    #926532

    Hi Ismael,
    thank you very much, great support!

    #926923

    Hi,

    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

Viewing 18 posts - 1 through 18 (of 18 total)
  • The topic ‘large testimonial image and description position’ is closed to new replies.