This topic has 3 replies, 2 voices, and was last updated 6 years by Radu.

  • Author

    Tagged: 

  • #214393
     hbcondo
    Participant

    Using the Stylish-Woocomerce home page theme as an example, how would I add a tooltip / popover to each client icon?

    #214437
     Radu
    Moderator

    Hi,

    Using PIN element, see additional explanations in the screenshot.

    Those can be arranged using position absolute so they will not be wrapped into the clients image wrapper. You will add over it specifying right,left,top,bottom px.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #214473
     hbcondo
    Participant

    Thank you for the screenshot. It ended up being easier to override the kleo_clients.php shortcode template and pass-in the tooltip attributes of the the_post_thumbnail method as such:

    <?php the_post_thumbnail( 'post-thumbnail', [ 'title' => get_the_post_thumbnail_caption(), 'class' => 'hover-tip' ] ); ?>

    #214531
     Radu
    Moderator

    Hi,
    Great!
    Have a nice day
    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?