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

    Hi. Is it possible to set the featured image in a portfolio Post as a fullscreen background…?

    thanks…

    #598821

    Hi welti,

    I think that would take a lot of customisation and would be out of scope of theme support unfortunately, but send us a link to your page and we’ll have a look.

    Best regards,
    Rikard

    #598845

    Eventuell sowas?

    <?php $url = wp_get_attachment_url( get_post_thumbnail_id($post->ID, ‘full’) ); ?>
    <div style=”background-image: url(<?php echo $url ?>);”> … </div>

    Or a Background plugin??

    #599426

    Hi,

    Not sure if that code would work or not but please try it. The problem is really to get it full screen since the image is inside of the container element already.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.