Ajax search results thumbnail size - by yaronfa

This topic has 4 replies, 2 voices, and was last updated 5 years, 11 months ago ago by Rose Tyler

  • Avatar: yaronfa
    yaronfa
    Participant
    December 14, 2017 at 09:55

    Hi, I would like to know how to control the thumbnail size in the ajax search results dropdown,
    I would like it to be a lot bigger

    Thank you
    Yaron

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    December 14, 2017 at 10:21

    Hello,

    Hope you are having a nice day.
    You may use custom css code, for example,

    .et-result-products img {
        width: 50px;
        margin-right: 10px;
    }

    How to create custom.css you can watch in this tutorial https://www.youtube.com/watch?v=Qok2zRedRMY.
    Let us know if you need any further assistance.

    Regards

    Avatar: yaronfa
    yaronfa
    Participant
    May 18, 2018 at 10:31

    Hello,

    I have used this css to show the ajax search results thumbnails bigger, but the image itself is generated very tiny, how can I control that?
    thank you

    Please, contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    May 18, 2018 at 11:01

    Hello,

    You need to rewrite et_search_get_posts function (legenda/framework/theme-functions.php file) in functions.php of child theme and change this – http://prntscr.com/jjgg6z

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.