Border radius for images in vertical search results

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Border radius for images in vertical search results

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 months, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #45591
    vannie
    vannie
    Participant

    hi Ernest,

    For the vertical search results, I want to make the images have border radius. I can’t get it to work for desktop, however the below CSS does work for mobile.

    #ajaxsearchprores1_1.vertical .results .item .asp_image, #ajaxsearchprores1_2.vertical .results .item .asp_image, div.asp_r.asp_r_1.vertical .results .item .asp_image {
    border-radius: 10px;
    }

    If you have any advice, would be much appreciated!
    Thanks,
    Tom

    #45593
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Tom,

    Use this, it will work across any device:

    .asp_image {
        border-radius: 10px !important;
    }

    I hope this helps!

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #45597
    vannie
    vannie
    Participant

    This works, thanks Ernest! I discovered another CSS code was causing it not to work, which I discovered through your comment.
    So issue has been resolved!
    Have a nice day
    Tom

    #45601
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.