• Resolved NicolasWP

    (@nicolaswp)


    Hi. i¡m working on a localhost site. When i use the template for front page o the full width template, the featured image doesn’t cover the full width.

    I think the problem is the responsive image that add a markup in the output HTML, but i don’t know how to solve the problem.

    Any idea?

    <img src="http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049.jpg" class="attachment-sela-hero-thumbnail size-sela-hero-thumbnail wp-post-image" alt="Big Sur" srcset="http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049.jpg 1600w, http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049-300x225.jpg 300w, http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049-768x576.jpg 768w, http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049-1024x768.jpg 1024w, http://localhost/wp_demos/wp-content/uploads/2011/07/michelle_049-1200x900.jpg 1200w" sizes="(max-width: 813px) 100vw, 813px" height="610" width="813">

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi there!

    Maybe the images aren’t wide enough? The featured image on the front page and on pages works best with images at least 1180 wide. (Featured Images for posts should be at least 820 wide by 312.)

    If you adjust yours to be at least that wide, does that help?

    Thread Starter NicolasWP

    (@nicolaswp)

    Hi.

    The images are 1600×1200. I tried with diferent sizes and images. Also i change the theme to Motif, with a similar Featured Image, and the problem is the same.

    I think there is a problem with the new RICG, but i want to know if someone else have the same issue or is a problem with my localhost config.

    Moderator Kathryn Presner

    (@zoonini)

    You may need to regenerate your thumbnails. You could try running the Regenerate Thumbnails plugin – let us know how it goes.

    Thread Starter NicolasWP

    (@nicolaswp)

    Hi. Regenerate thumbnails didn’t fix the problem.

    Howewer, i reset the wordpress instalation and the problem was fixed. It seems that something was wrong in my instalation.

    Thanks!!

    Moderator Kathryn Presner

    (@zoonini)

    Glad you’re all set. I’ll mark this thread as resolved.

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

The topic ‘Featured Image on Front Page Problem’ is closed to new replies.