Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1307932

    I had a previous theme where the only feature I liked was that it could automatically take the features image of each post and display it full-width across the top of the post like this:
    screenshot

    Is this possible in Enfold? Does anyone know how to do it please?

    #1308044

    Hey Gavin,

    Thank you for the inquiry.

    This should be possible but we have to modify the single.php file template directly. We can use the default markup of the color section element and place it in the template file. Please edit the single.php file, remove everything and replace it with the following code.

    // https://pastebin.com/nFnuKsas

    You can add the featured image as usual and it will display as a full width element at the very top of the page.

    Best regards,
    Ismael

    #1308077

    Hi Ismael.
    That’s fantastic, thanks very much!

    #1308124

    Hi,

    Glad Ismael could help! :)

    For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/

    If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)

    Enjoy the rest of your day!

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Featured images as full-width header’ is closed to new replies.