Remove post image (not featured image) in Generate

Community Forums Forums Design Tips and Tricks Remove post image (not featured image) in Generate

This topic is: resolved

This topic contains 6 replies, has 4 voices, and was last updated by  Sridhar Katakam 1 year, 6 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #21827

    sean nelson
    Participant
    Post count: 16

    I’ve seen how to remove the top image in Generate.  What I want to do is not display the image that is in the text section of a blog post.  I like having an image displayed in posts, but this causes there to be duplicate images on the home page.

    Example:  <a href=”http://www.briankeithmay.com”>briankeithmay.com</a>

    You see the image in the top section and then again with the post that displays.

     

    Any help would be appreciated.

    Sean

    #21833

    Anita
    Participant
    Post count: 7582

    What you can do it… instead of having the image at the top before the content, add it to the body of the content and then use the “the more” function as seen below to force the “read more” link. The image will then show up when they click “read more.”

    [php]<!–more–>[/php]


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #21860

    sean nelson
    Participant
    Post count: 16

    Thanks, not a bad idea.  It would require me to put the image down at least as far as the read more button, but its an option.

    Still hoping for a code solution, though.

    Thanks for taking the time to help.

    Sean

    #21861

    Sridhar Katakam
    Participant
    Post count: 1005

    .home .hentry img {
    display: none;
    }

    will get rid of all images within body (content) of Posts on the hompage.


    #21867

    sean nelson
    Participant
    Post count: 16

    Sridhar,

    Worked perfectly.  Thank you for the help.

    Sean

    #22787

    Rafael Kaizen
    Participant
    Post count: 1

    Hello @Sridhar,

    I would like to know which file I should insert the information you mentioned?

    I’m having the same problem.

    Thank you in advance.

    #22819

    Sridhar Katakam
    Participant
    Post count: 1005

    Rafael,

    In child theme’s style.css.


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

You must be logged in to reply to this topic.