• Hello

    I want show the images in size 100% on “single” page. It’s ok on index, but when I go to post’s link, the image does not show entirely, and I want that the image appears 100%. Any way to do it?

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

    (@larys)

    Ok, where’s single.php file of this theme?

    Theme Author Ben Sibley

    (@bensibley)

    Thanks for using Tracks!

    The featured image is output as a background image of a div, so you’ll need to replace the featured image function so it outputs an img tag instead. Otherwise, the image is going to be cropped or stretched unless it fits the allotted space perfectly.

    We have a full-width layout available that will allow you to show images at their full size on Post pages. However, if you want to code it yourself, you’ll want to copy the content.php file from Tracks into a child theme. Then, replace the call to the featured image function with your own featured image function that outputs the img tag instead of adding the image as a background image.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Image on ''single'' page’ is closed to new replies.