Support » Plugin: Ivory Search - WordPress Search Plugin » How do I change the size of the images?

  • Resolved ildomandatore

    (@ildomandatore)


    I tried to change the size of the images, but;
    – I have an image size limit.
    – The images go under the titles.
    – Titles do not go under the image, without covering it.
    https://imgur.com/a/frrsHsM

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I hope you are well today and thank you for your question.

    You can change the AJAX image size by developing custom code as described below.

    https://wporg.ibadboy.net/support/topic/resizing-ajax-images/#post-14630025

    Best regards,

    Thread Starter ildomandatore

    (@ildomandatore)

    I have used these CSS, but I am convinced that they are not good.

    .attachment-full.size-full.wp-post-image {
        max-width: 460px;
    }
    
    .left-section {
        width: -moz-available;
    }
    
    #is-ajax-search-result-3164 a, #is-ajax-search-details-3164 a:not(.button) {
    	  background-color: transparent !important;
    }
    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Not just CSS code, you have to use the PHP code as displayed in the above-shared topic.

    Thread Starter ildomandatore

    (@ildomandatore)

    I added the PHP, but given the ineffectiveness, I’ll try to remove it and see if it works. I think so.

    I worked more on his CSS, but the box shadow uses gray instead of black. Look at the menu and image in the search. https://imgur.com/a/es4iqFQ

    I have doubts about this CSS;

    .left-section {
         width: -moz-available;
    }

    The width works well with Firefox. I’ll have to try other browsers and see the changes to make. My doubt is that I won’t have full compatibility across multiple browsers.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    I can see in your shared screenshot that you managed to make the image size larger.

    How can I help you now?

    Thread Starter ildomandatore

    (@ildomandatore)

    I cannot get a proper image with desktop, tablet, and mobile. On the mobile, the image is cropped. At first glance, there doesn’t seem to be a problem, but looking at the original image, the right side is missing.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You have to develop custom code to achieve this.

    If you are not a developer then you can consider hiring a developer to develop it for you.

    Thread Starter ildomandatore

    (@ildomandatore)

    A reply not very usefull. This mean that I never have agood image size, because not exist a value as 100%, fill content or something o similar? I’ve tried them, but with bad results. images was too smalls or too bigs. A strange trouble.

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    Yes, you can change the image size in the search results by developing custom code as stated in my earlier replies.

    Thread Starter ildomandatore

    (@ildomandatore)

    Or…. Add image size for phone… ;P For now. But, trouble is put them in middle. How can I do it?

    Plugin Author Vinod Dalvi

    (@vinod-dalvi)

    You have to develop custom code to do that.

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.