Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #576717

    Hi!

    Would it be possible to add an overlay to blog images, but only in the 1-column grid layout, and only on the homepage. So, when the post is opened, the image is displayed without the overlay?

    Regards
    Poirot

    #576793

    Hey Poirot!

    That would take a lot of time and code to implement so it would have to be considered custom work. It would be best to hire a freelancer to help you out with this customization.

    Regards,
    Elliott

    #577005

    Ok, thank you Elliott!

    I gave it a shot, but obviously it didn’t work :-)

    img.attachment-large.size-large.wp-post-image:after {background:linear-gradient(135deg, rgba(255,101,100,0.4) 0%, rgba(255,101,100,0) 50%, rgba(255,101,100,0) 100%),linear-gradient(45deg,rgba(40,0,215,0) 0%, rgba(40,0,215,0) 50%, rgba(40,0,215,0.4) 100%),linear-gradient(transparent 5%, rgba(0,0,0,0.8) 100%);content:”gradient mask for lede image”; position: absolute;top: 0;bottom: 0;left: 0;right: 0;}

    Edit: As an alternative, would it be possible to upload 2 featured images (one with overlay, other without)? One would be used on the homepage, the other when the post is active.

    Regards,
    Poirot

    • This reply was modified 8 years, 9 months ago by Poirot.
    #577579

    Hi Poirot,

    I’m not sure but either method would be a big project unfortunately, it would be considered custom work and out of scope of theme support. If you still want to pursue this I would recommend you to hire a freelancer to see if they can help you out.

    Best regards,
    Rikard

    #577762

    Ok, thank you Rikard!

    Best regards,
    Poirot

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Blog image overlay’ is closed to new replies.