Thumbnails

This topic contains 15 replies, has 3 voices, and was last updated by  jltrinka 10 years, 5 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #4579

    jltrinka
    Free User
    Post count: 183

    I’m trying to make the thumbnail images contained within the div, but the following is not working:

    .geodir_thumbnail{
    background-size:contain;
    }

    Is there another way to do this?

    #4613

    Guust
    Moderator
    Post count: 29970

    A URL would be handy?

    #4625

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4630

    Guust
    Moderator
    Post count: 29970

    You need to specify the same class as the one you want to override:

    .geodir_category_list_view li .geodir-post-img .geodir_thumbnail {
    background-size: contain;
    }

    should work?

    This site gives you an idea how it might look in different devices.

    #4691

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4695

    Guust
    Moderator
    Post count: 29970

    This is the site I forgot to post before: http://prism.mobiforge.com/

    @media only screen and (max-width: 860px)
    .geodir_category_list_view li .geodir-post-img .geodir_thumbnail {
    background-size: contain;
    position: relative;
    }

    media=”all”
    @media only screen and (max-width: 860px)
    .geodir_thumbnail {
    height: 80px;
    }

    Have a play with that. Use http://prism.mobiforge.com/ together with Chrome’s inspector and you should be able to fine-tune it.

    #4708

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4811

    Paolo
    Site Admin
    Post count: 31206

    New core has different css classes in html to make it easier to adapt to virtually all themes.

    All css changes have to be inspected with either inspect element for google chrome or firebug if you prefer firefox and css classes of your custom css edited to reflect the new css classes in the template.

    Let us know if you cann’t figure it out.

    Thx

    #4835

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4859

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    we will not keep all reply private. Only those with links to your website if you don’t wish to show them.

    Forum are made to be seen by others too in case they encounter similar problems.

    Thanks

    #4861

    jltrinka
    Free User
    Post count: 183
    This reply has been marked as private.
    #4862

    Paolo
    Site Admin
    Post count: 31206

    In your style.css line 38 you added:

    .geodir_new_listing {
    background: url(“/images/new.png”) no-repeat scroll left top rgba(0, 0, 0, 0);
    height: 40px !important;
    margin-left: 5px;
    margin-top: -5px;
    position: absolute;
    right: 0;
    text-indent: -9009px;
    top: 0;
    width: 40px !important;
    }

    Simply remove the / before images/new.png and the image will appear again.

    #4873

    jltrinka
    Free User
    Post count: 183

    Excellent. Thanks!

    Should we switch to the other discussion about the thumbnails issue?

    #4880

    jltrinka
    Free User
    Post count: 183

    My apologies, this is that thread. I lost track of where I was.

    #4881

    Paolo
    Site Admin
    Post count: 31206

    I the thumb issue is definitely a bug, not something related to your website only.

    I’ve reported this to developers who will provide a fix asap.

    Thanks

Viewing 15 posts - 1 through 15 (of 16 total)

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

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount