[Resolved] Latest posts (content block) – clickable featured images

Home Forums Support Latest posts (content block) – clickable featured images

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

    Hi,
    I would like to have featured images in latest posts hyperlinked to the posts, same as it works in BLOG.
    Can you please help me with that?

    #1323629
    David
    Staff
    Customer Support

    Hi there,

    thats a block that is controlled by WordPress so we can’t change the markup and links it creates. You can however try this CSS to make the whole post clickable:

    .wp-block-latest-posts li {
        position: relative;
    }
    .wp-block-latest-posts li a:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    #1323805
    Erik

    It works. Great!
    Thank you David

    #1323807
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.