• Resolved NomadMik

    (@nomadmik)


    Hello Anders,

    I am trying to get my featured image to span the full width of the post container. There seems to be a margin on the right that I can’t find in the code.

    Also, is there a way to eliminate the post header all together so I can raise up the post content box to tuck the featured image under the shadow of my page header image?

    https://www.fantasyislandecoresort.com/blog/about/

    Thanks,
    Mik

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

    (@nomadmik)

    I forgot to mention. The width looks fine on mobile.

    Thread Starter NomadMik

    (@nomadmik)

    Rather than enlarge the featured image, I centered it.

    .featured-media a img {
    margin-left: auto;
    margin-right: auto;
    }

    To get rid of the .post-header I removed it from the page.php

    <div class=”post-header”>

    <h2 class=”post-title”><?php the_title(); ?></h2>

    </div> <!– /post-header –>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Featured Image Full Width’ is closed to new replies.