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

    Hi,
    Is it possible to insert a diagonal ribbon with text in an image in the enfold theme?
    and get an effect similar to the image: https://ibb.co/gtFVRSH

    Thank’s!
    Francesco

    #1220923

    Guess that this is just an image – a photoshop thing.
    Do you need this often – or just for a few images?

    See here – this is made with caption of Image ALB:
    https://webers-testseite.de/image-with-ribbon/

    In any case I think it would be better to do it in a photo editing program. Just look at the way it behaves when you make the screen smaller.

    the image alb got a custom-class: with-ribbon

    .with-ribbon .av-caption-image-overlay-bg {
        display: none;
    }
    
    .with-ribbon .av-image-caption-overlay-center p {
      background-color: rgba(255,0,0,0.8);
      color: #fff;
      text-shadow: 1px 2px 3px #000;
      padding: 20px ;
      position: absolute;
      top:5%;
      left: -10%;
      transform: rotate(-30deg) ;
      width: 80%;
      text-align: left;
      text-indent: 40px;
      box-shadow: 1px 2px 8px #000;
      font-size: 36px;
      text-transform: uppercase;
    }
    #1221103

    Hi,

    Thanks for helping out @guenni007, did you try that out @cisky979?

    Best regards,
    Rikard

    #1221127

    Thanks @guenni007, unfortunately I’m not a developer and I’m afraid I wasn’t able to insert the code correctly.
    I inserted all the code in Quick Css> Theme Options
    https://ibb.co/nCxxy7X

    and “with-ribbon” in image> advanced> developer settings> custom CSS class
    https://ibb.co/qxBn1hp
    But I don’t see it!


    @Rikard
    , can I leave you access?

    Another information: can I insert a text in the ribbon?
    Thank’s very much!!!
    Francesco

    #1221137

    did you fill something in the caption:

    and:

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