Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #455111

    How do i style the image caption on an image, which appears after a hover

    #455337

    Hi kimogroup!

    You can target it with this CSS.

    .av-image-caption-overlay p {
      color: red !important;
    }

    Best regards,
    Elliott

    #455966

    Hover Sample

    Kindly find an attached picture for your perusal

    I want to do a hover like this, i want to be able to arrange where the text will be.

    #456223

    Hi!

    That is bordering on custom work but surround each text with a <span></span> tag and send us a link to your page and we’ll see if we can get you some CSS to make it look like that.

    Cheers!
    Elliott

    #458282
    This reply has been marked as private.
    #458600

    Hey!

    Add this to your custom CSS.

    .av-image-caption-overlay-center > p:nth-child(1) {
      left: 10px;
      position: absolute;
      top: 10px;
    }
    .av-image-caption-overlay-center > p:nth-child(2) {
      left: 10px;
      position: absolute;
      top: 30px;
    }

    And just keep adding new sections for each new span you add.

    Best regards,
    Elliott

    • This reply was modified 9 years, 6 months ago by Elliott.
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.