• robertmberry

    (@robertmberry)


    Greetings,

    1. I added featured images to every post so the thumbnails would appear in the “Posts” preview I added to the homepage. The issue is that they are also appearing as background images on every post. How can I disable that?

    2. I tried to set two separate “Posts” with two categories, but it didn’t seem to work. I wanted a row for category “exhibition-review” and one for category “artist-qa”, but when I had two rows with separate categories, it just duplicated the row of “exhibition-review” when it went live. The preview looked right, but when it was published, it didn’t work correctly. Where did I go wrong?

    Thanks for your help, as always! <3

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Hi @robertmberry,

    Thanks for reaching out!

    1. The Go theme displays featured images in the headers of the single posts by default. In order to prevent that, I recommend you to perform the following:
    – install and activate the Insert Headers and Footers plugin.
    – add the following code into the plugin’s footer section (Settings > Insert Headers and Footers – https://prntscr.com/vnuh8t):

    <script>
    if(jQuery(".single-post").hasClass("has-featured-image")){
    jQuery(".single-post").removeClass("has-featured-image");
    }
    jQuery(".single-post .post__thumbnail").remove();
    </script>

    Once you add the code, let me know how it went.

    2. I will greatly appreciate if you provide me with additional info regarding the second issue since I cannot duplicate it. Any screenshot or video would really come in handy!

    Ionu? Toma

    (@tomitzu)

    I spent some time trying to solve the same problem. For me it worked simply by adding this custom CSS:

    .post__thumbnail{
    	padding:50px;
    }

    NOT RECOMMENDED ALTHOUGH IT WORKS
    Another option is to go to the theme editor – partials – content.php and delete/comment Line 15 <?php the_post_thumbnail(); ?> and in content-page.php where you have to delete Line 14 <?php the_post_thumbnail(); ?>

    • This reply was modified 4 years ago by Ionu? Toma.
    Ionu? Toma

    (@tomitzu)

    Hi @gdmilos,
    I tried your code with Insert Headers and Footers plugin and it did absolutely nothing!

    Ionu? Toma

    (@tomitzu)

    It seems that my improvised solution it’s not working for articles… ?? So I tried something else…I decreased the site spacing at maximum and I inserted the following custom CSS:

    .post__thumbnail{
    	display:none;
    }
    .content-area__wrapper{
    	padding-top: 100px;
    }

    The .content-area__wrapper was a necessary line because the content went under the menu after I manage to hide the featured image. This is another improvised solution (which doesn’t work for articles) and I think it would be awesome if this problem will be solved in a future update.
    Thank you!

    • This reply was modified 4 years ago by Ionu? Toma.
    Thread Starter robertmberry

    (@robertmberry)

    @tomitzu This works, but it puts the header right on top of the menu. Any way to add some padding up there?

    Thread Starter robertmberry

    (@robertmberry)

    @gdmilos This solution worked perfectly; thank you!

    Ionu? Toma

    (@tomitzu)

    Hi @robertmberry
    It’s kinda frustrating since my solution it’s not working properly on all devices and the solution provided by @gdmilos is not working in my case. Thanks for the response!

    Thread Starter robertmberry

    (@robertmberry)

    @tomitzu How do I add a screenshot?

    In the preview editor I have a blog carousel for two different categories, but when it goes live, it shows up as the same category.

    Ionu? Toma

    (@tomitzu)

    @robertmberry upload the pic on imgur or other similar site and share the link here

    Thread Starter robertmberry

    (@robertmberry)

    Ionu? Toma

    (@tomitzu)

    My last try and it seems to work (at least for the moment):

    .post__thumbnail{
    	display:none;
    }
    .site-content{
    	padding-top: 13vh;
    }
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Featured images and Post Preview’ is closed to new replies.