slider should not be click-able

  • PG28

    #7568

    http://www.omforyogis.com – I don’t want the slider to be click-able at all. I searched the forum and found the way how to remove the click from the image but you still can click on the text which brings you to the post. Please advise what kind of code I can put into Custom CSS styles.

    THANKS so much.

    Petra

    Luko

    #38648

    The best way is with javascript.

    With CSS, only this come to my mind currently:

    .slider_post h2 {
    pointer-events:none;
    }

    But this solution won’t work on IE and Opera.

    How did you remove it from image?

    Prasanna SP

    #38649

    jQuery .unwrap() or .replaceWith() would do the trick. Can’t give the exact code since I’m on mobile now. Don’t remember the selectors in slider..

    PG28

    #38650

    Luko, I tried your suggestion but it did not work. However, thanks.

    I got the idea to change the URL of the link to one of the other pages, in this way I avoid that people go to the post.

    So I am ok.

    Love the theme!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.