In the following example, I want the phone number to be "clickable" on small screens, but be regular "un-clickable" text on larger screens. I know I can add classes and duplicate the phone number to hide/show with the media query, but was wondering if there's a way to "strip" the anchor tag off of the text, so I don't have to duplicate the text?
Thanks! I think that will work perfectly for what I need. You've always been such a great help to me and others around here @Paulie_D, so thanks for that as well!
In the following example, I want the phone number to be "clickable" on small screens, but be regular "un-clickable" text on larger screens. I know I can add classes and duplicate the phone number to hide/show with the media query, but was wondering if there's a way to "strip" the anchor tag off of the text, so I don't have to duplicate the text?
CodePen Example
Hope this makes sense, thanks!
Pointer-events will probably do it: http://codepen.io/Paulie-D/pen/nrjfb
Thanks! I think that will work perfectly for what I need. You've always been such a great help to me and others around here @Paulie_D, so thanks for that as well!