How to create a border around the search result pics

This topic contains 4 replies, has 2 voices, and was last updated by  rigots 4 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #510301

    rigots
    Lifetime Member
    Post count: 275

    Hi I would like to make a border around the search result pictures.

    I tried
    .sd .geodir-image-container
    {
    border-style: solid;
    }

    But puts a border around the container, but the pictures are about 5 pixel smaller and that leaves a white space at the bottom between the picture and the container border.

    Can you help me figure out what CSS to use to just put the border around the pictures?

    See how it looks now at.
    https://www.hirehomeservice.com/gd-search/page/2/?geodir_search=1&stype=gd_service&s=+&snear&sgeo_lat&sgeo_lon

    Thank you.
    Rigo

    #510311

    Kor
    Moderator
    Post count: 16516

    Hi Rigots,

    You already have it when I inspected your Website. Let us know if you need anything else.

    #510321

    rigots
    Lifetime Member
    Post count: 275

    Please take a look again at the bottom of the picture. There is a small white gap between the border I created and the bottom of the picture.

    Why is there a white gap at the bottom of the pictures and is there a way to remove that gap?

    Maybe by making the picture to expand to the complete container? Or maybe by puting a new border just around the picture and not the container?

    Let me know.
    Thanks.

    #510328

    Kor
    Moderator
    Post count: 16516

    Hi rigots,

    Thanks for your reply. Try using the custom CSS code below and see if it fixes it.

    .geodir-image-container .geodir-image-wrapper {
        margin: 0 0 -11px !important;
    }
    #510979

    rigots
    Lifetime Member
    Post count: 275

    Great,
    That worked.

    Thank you.
    Rigo

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

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket