• Resolved hmahraj

    (@hmahraj)


    I need to hide one specific “Image placeholder” in the search results. I don’t want the home page to have a featured image; but because “Featured Image” is active on the template, the home page displays blank when it is appears in the search results. This looks bad.
    Is there CSS to do this?
    I have an activated child theme in the Modality.
    Here is my site.
    THANKS!

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you want to turn off the display of featured images on your search results page, change your css in style.css to set display: none; for .thumb-wrapper:

    media="all"
    #main .standard-posts-wrapper .thumb-wrapper, #main .standard-posts-wrapper-full .thumb-wrapper {
        display: block;
        float: left;
        width: 100%;
        height: 280px;
        display: none;
    }

    If you want to do this in a way that will improve performance, I would track down the correct template code for the theme and remove the code that displays the featured image.

    Thread Starter hmahraj

    (@hmahraj)

    Thank you very much. That worked. I hope the Image placeholder will stay hidden. If images ever comes back, what might that mean?

    Thread Starter hmahraj

    (@hmahraj)

    Still no Image placeholder showing up….so I am happy. Thanks, again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CSS to hide or remove "Image Placeholder" in the Search Results’ is closed to new replies.