Support » Theme: Customizr » Doubled Pictures in posts

Viewing 15 replies - 1 through 15 (of 16 total)
  • Hello!

    It appears to be part of your theme. Perhaps a “featured image” that should get the reader’s attention.

    Other than that I do not know why it would show up! You can try looking into your template files and see where that <php> line is and erasing it.

    Thread Starter blogocorp

    (@blogocorp)

    Thanks, @mkdigital!

    Yes, I’ll try to find this line in the code of posts, because I don’t like this kind of images in the posts. I suppose the theme takes a picture by default although you didn’t upload as a featured image.

    I’ll try to do it and will share the code if I get it.

    Thread Starter blogocorp

    (@blogocorp)

    Any help to find the line code of these images will be appreciated 🙂

    Hola blogcorp,
    soy nueva en esto, y bueno… ¿quizás pueda tratarse de class-content-post.php, línea 508 aprox.?

    Try this:

    .thumb-wrapper.no-effect img {
      display: none;
      min-height: initial;
    }

    It will remove the top picture. Check it doesn’t affect anything else.

    Theme Author presscustomizr

    (@nikeo)

    Hi Blogocorp,

    If there is no featured image defined, Customizr select the first image attached to the post and use it featured image.

    In your case, it seems to me that you have modified the code of the function :

    tc_content_post()

    by replacing

    the_excerpt()

    by

    the_content()

    .

    If it is the case, it would explain why your post list summaries are displaying images (and sometimes it duplicates the one that is featured…)

    Hope this helps,
    Nicolas

    Thread Starter blogocorp

    (@blogocorp)

    Thanks for you answers!

    @nikeo: yes, I’ve changed this part of the code. Would it be possible to remove the featured image in posts but not in pages?

    @rdellconsulting: Your code works! But as you say, it only removes the picture of the first post. Would it be possible to remove all the featured images of the list of posts?

    Thanks a lot!

    I can see 2 pictures per post: The zooming one, and the embedded one. Which are you trying to eliminate?

    Thread Starter blogocorp

    (@blogocorp)

    The zooming one

    .thumb-wrapper {
    display: none;
    height: 250px;
    left: -1px;
    margin: auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 269px;
    }

    You’ll have to play with the other tags as the width of the post is shorter leaving space for the thumbnail.

    You had an Internal Server Error a few minutes ago!

    .thumb-wrapper {
    display: none;
    height: 250px;
    left: -1px;
    margin: auto;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
    width: 269px;
    }

    You’ll have to play with the other tags as the width of the post is shorter leaving space for the thumbnail.

    You had an Internal Server Error a few minutes ago!

    Thread Starter blogocorp

    (@blogocorp)

    Yes, I know!! The problem is now solved, I hope!

    Thread Starter blogocorp

    (@blogocorp)

    thanks @rdellconsulting! The code works! 🙂 But then the featured images of the pages disappear too 🙁 I mean, the three images of the top of the homepage.

    I’ll have to keep on trying! 😉

    Need to target the CSS more precisely.

    .tc-thumbnail .thumb-wrapper{display:none;}

    Thread Starter blogocorp

    (@blogocorp)

    Solved! I don’t know how to thank your support, @rdellconsulting. I owe you one!

    By the way: I’ve cited you in the post about the new design of my blog. It’s in Spanish, but anyway, here you have the link in case you want to see it:) http://cristinaaced.com/blog/2013/07/31/blog-o-corp-se-renueva/

    Thanks a lot for your help!

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Doubled Pictures in posts’ is closed to new replies.