Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #967828

    Hi Enfold Team!

    After the update unfortunately some settings of my testimonials have changed.
    I would like to have both picture and name above the testimonials on my homepage.
    You’ve already helped me really well with this topic once by using the following code in the functions php:

    function add_custom_script(){
    ?>
    <script>
    jQuery(function() {
    jQuery(“.avia-testimonial-image”).each(function(){
    jQuery(this).closest(‘.avia-testimonial_inner’).prepend(jQuery(this));
    });
    });
    </script>
    <?php
    }
    add_action(‘wp_footer’, ‘add_custom_script’);

    Unfortunately this only now puts the picture above the text and not the name.
    How can I also put the name above the text?

    And is there a way to organise it with the CSS so I don’t have the same problem with every Enfold update?
    I’ve put my details in the private area.

    Thanks!

    #968852

    Hey Eefke,

    To move the testimonial image on top please check this link https://kriesi.at/documentation/enfold/testimonials/#testimonial-image-on-top

    Best regards,
    Vinay

    #968951

    Hi Vinay,

    Thanks for your reply. I’ve managed to put the picture above the testimonial but the name is still under the text.
    How can I change that?

    Eefke

    #970847

    Hi,
    I changed your function code, it was targeting “avia-testimonial-image” which is why only you image moved. It is now “avia-testimonial-meta”
    I also moved it to functions.php as it was in functions-enfold.php
    Please note you will lose this edit the next time you update, Read about using a Child Theme so you won’t lose your edits.

    Best regards,
    Mike

    #971144
    This reply has been marked as private.
    #971169

    Hi,
    It’s actually pretty easy, you are basically uploading the new child theme theme and importing the settings at Enfold Theme Options > Import/Export > Import Settings from your Parent Theme
    2018-06-11_073844
    and then move the code over to the child theme functions.php
    Would you like us to assist with this?

    Best regards,
    Mike

    #971181
    This reply has been marked as private.
    #971665

    Hi,
    I have installed your child theme and added the code above to the child theme functions.php.
    All seems to be working correctly, please clear your browser cache and check.

    Best regards,
    Mike

    #971668

    Hi Mike,

    I’ve checked it and everythings works fine.
    Thats really great! So now I just make adjustments to the Child Theme?

    Thank you very much for all your help!
    Eefke

    #971672

    Hi,
    Yes, this will ensure that your customizations remain after each update.
    Unless there is anything else we can assist with this issue, shall we close this then?

    Best regards,
    Mike

    #971675

    Thanks a lot!
    Yes we can close this topic.

    Have a lovely day.
    Eefke

    #972006

    Hi,
    Glad we were able to help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Name above testimonials’ is closed to new replies.