set thumbnail height in only one CPT

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

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

Open Support Ticket
  • Author
    Posts
  • #364774

    Kelly Vento
    Expired Member
    Post count: 32

    Can you set the height of the images that show on a CPT listings page? I have about 6 CPTs, only one to adjust the size of one of them. Please advise.

    #364796

    Kor
    Moderator
    Post count: 16516

    Hi Kelly,

    Sorry, not really sure what you needed there. Could you share some screenshots or links of what you’re trying to achieve there?

    Thanks!

    #364887

    Kelly Vento
    Expired Member
    Post count: 32

    sure 🙂 Instead of the listings being sized horizontal like in 1.jpg, have them be square like in 2.jpg. BUT only for this CPT – all other CPT listings (on their own pages) are fine sized like this. Please advise! Thanks!

    #364908

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    It should be possible, but I believe it’ll be hard to keep it square on all devices.

    I asked a developer to check and to give us some pointers.

    Thanks

    #364912

    Kelly Vento
    Expired Member
    Post count: 32

    Thanks! close to square is fine on all devices, even if a shift occurs.

    #365110

    Giri
    Expired Member
    Post count: 3155

    Hi can you post the site url.

    Its not possible to help you without inspecting your site code.

    Thanks

    #367521

    Kelly Vento
    Expired Member
    Post count: 32

    http://www.showoffmydog.com
    It would be for the CPT “dogs”: gd_dog
    which I don’t think any are in, I did set a few through gd_elite_dog: http://www.showoffmydog.com/the-elite-2/
    So would be that kind of look, more rows – but those to be more square than rectangle

    #367687

    Giri
    Expired Member
    Post count: 3155

    Hi kelly,

    If your post type is gd_dog

    then you can use style like this to set the height.

    
    
    
    .geodir_category_list_view li.geodir-gridview.gd-post-gd_dog .geodir-post-img {
         height: 250px;
    }

    replace

    gd_dog

    with

    gd_elite_dog

    if you want those styles for elite dog page.

    Let me know.

    Thanks

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

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

Open Support Ticket