Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter tarjabfb

    (@tarjabfb)

    thanks a lot!

    HI everyone

    could you please help me with below?

    I’m trying to remove feature image from a single post. I went through lots of similar topics, was trying to change css codes as advised but it did not work.

    The only one place when I could see the sense of playing with css was content-single.php (please see below which part i was playing with)

    Is that something you could help me with?

    Link to my website
    https://babskablogostrefa.pl/domowy-relaks-recenzja-sanctuary-spa/

    Many thanks

    <!–post thumbnal options–>
    <div class=”single-feat clearfix”>
    <figure class=”single-thumb single-thumb-full”>
    <?php
    $sidebar_layout = acmeblog_sidebar_selection();
    if( $sidebar_layout == “no-sidebar”){
    $thumbnail = ‘large’;
    $no_image = get_template_directory_uri().’/assets/img/no-image-840-480.jpg’;
    }
    else{
    $thumbnail = ‘medium’;
    $no_image = get_template_directory_uri().’/assets/img/no-image-690-400.jpg’;

    }
    if( has_post_thumbnail() ):
    the_post_thumbnail( $thumbnail );
    else:
    $img_url[0] = $no_image;
    ?>
    <img src=”<?php echo esc_url( $img_url[0] ); ?>” alt=”<?php the_title_attribute(); ?>”

Viewing 2 replies - 1 through 2 (of 2 total)