• Resolved bing4

    (@bing4)


    Hello.

    How can we show text for each image always (to be visible not only on hover) ?

    Also Is it possible to overlay image with some data from another shortcode (product price) ?

    • This topic was modified 3 months, 2 weeks ago by bing4.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Zayed Baloch

    (@zayedbaloch)

    Hi,

    To make the text for each image always visible and not just on hover, you can use the following CSS:

    .twentytwenty-before-label,
    .twentytwenty-after-label {
    opacity: 1;
    }

    This CSS will ensure that the labels are fully visible at all times.

    Unfortunately, the feature to overlay the image with data from another shortcode (like product price) is not available at this time.

    Thread Starter bing4

    (@bing4)

    Hello.

    Thank you. Your code works great.

    Is there a way to modify background color for text on shortcode ?

    Also would be great to make 1 background for 1 text (1image) , another for 2. Is it possible ?

    Plugin Author Zayed Baloch

    (@zayedbaloch)

    You can use the same CSS class for the background, font color, font size, etc.

    For the “Before” Image:

    .twentytwenty-before-label {
    background-color: #336699;
    color: #fff;
    }

    For the “After” Image:

    .twentytwenty-after-label {
    background-color: #ffcc04;
    color: #000;
    }
    Thread Starter bing4

    (@bing4)

    Great??Thank you.

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