Disable lightbox for items (WordPress)2019 Community Moderator ElectionHow to insert an item into an array at a specific index (JavaScript)?How to disable text selection highlighting?Disable/enable an input with jQuery?Make the cursor a hand when a user hovers over a list itemDisable same origin policy in ChromeHow to disable resizable property of textarea?Getting a jquery lightbox to pull the image out of a <img> tagadd custom class to image gallery in wordpressHow does Facebook disable the browser's integrated Developer Tools?Add hyperlink to lightbox image

Accepted offer letter, position changed

Vocabulary for giving just numbers, not a full answer

Is it possible to avoid unpacking when merging Association?

Linux Ubuntu 18.04 Full Backup

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

If I receive a SOS signal, what is the proper response?

What are some noteworthy "mic-drop" moments in math?

Why would one plane in this picture not have gear down yet?

Why the color red for the Republican Party

Coax or bifilar choke

Could you please stop shuffling the deck and play already?

Are all players supposed to be able to see each others' character sheets?

Child Theme Path Being Ignored With wp_enqueue_scripts

At what distance can a bugbear, holding a reach weapon, with Polearm Mastery, get their Opportunity Attack?

What is the cause of the Apocalypse in The Umbrella Academy?

Is this Paypal Github SDK reference really a dangerous site?

Has a sovereign Communist government ever run, and conceded loss, on a fair election?

How can I ensure my trip to the UK will not have to be cancelled because of Brexit?

How to detect if C code (which needs 'extern C') is compiled in C++

Latex does not go to next line

Shifting between bemols (flats) and diesis (sharps)in the key signature

PTIJ: Should I kill my computer after installing software?

When traveling to Europe from North America, do I need to purchase a different power strip?

Do items de-spawn in Diablo?



Disable lightbox for items (WordPress)



2019 Community Moderator ElectionHow to insert an item into an array at a specific index (JavaScript)?How to disable text selection highlighting?Disable/enable an input with jQuery?Make the cursor a hand when a user hovers over a list itemDisable same origin policy in ChromeHow to disable resizable property of textarea?Getting a jquery lightbox to pull the image out of a <img> tagadd custom class to image gallery in wordpressHow does Facebook disable the browser's integrated Developer Tools?Add hyperlink to lightbox image










-1















How I can disable/remove links ("a href") in this code below using javascript or CSS?




CSS: "pointer-events:none;" doesn't work, lightbox still displays...




<div class="hc-image-wrap" style="height: 247px;">
<a title="" data-lightbox="magnific-image-gallery" href="/wp-content/uploads/2011/09/01-1.jpg">
<img src="/wp-content/uploads/2019/03/01-1-1200x801.jpg" alt="thumbnail">
<div class="responsive-titles">
<div class="title">
<h3 class="colorswitch"></h3>
</div>
<div class="description colorswitch"></div>
</div>
</a>
</div>


Thanks in advance!










share|improve this question









New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you want to remove href from anchor tag?

    – Gufran Hasan
    Mar 6 at 15:22











  • I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

    – Seba
    Mar 7 at 8:07











  • I think you should remove it from the code.

    – Gufran Hasan
    Mar 7 at 8:12











  • It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

    – Seba
    Mar 7 at 9:52











  • Please your site url.

    – Gufran Hasan
    Mar 7 at 11:12















-1















How I can disable/remove links ("a href") in this code below using javascript or CSS?




CSS: "pointer-events:none;" doesn't work, lightbox still displays...




<div class="hc-image-wrap" style="height: 247px;">
<a title="" data-lightbox="magnific-image-gallery" href="/wp-content/uploads/2011/09/01-1.jpg">
<img src="/wp-content/uploads/2019/03/01-1-1200x801.jpg" alt="thumbnail">
<div class="responsive-titles">
<div class="title">
<h3 class="colorswitch"></h3>
</div>
<div class="description colorswitch"></div>
</div>
</a>
</div>


Thanks in advance!










share|improve this question









New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Do you want to remove href from anchor tag?

    – Gufran Hasan
    Mar 6 at 15:22











  • I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

    – Seba
    Mar 7 at 8:07











  • I think you should remove it from the code.

    – Gufran Hasan
    Mar 7 at 8:12











  • It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

    – Seba
    Mar 7 at 9:52











  • Please your site url.

    – Gufran Hasan
    Mar 7 at 11:12













-1












-1








-1








How I can disable/remove links ("a href") in this code below using javascript or CSS?




CSS: "pointer-events:none;" doesn't work, lightbox still displays...




<div class="hc-image-wrap" style="height: 247px;">
<a title="" data-lightbox="magnific-image-gallery" href="/wp-content/uploads/2011/09/01-1.jpg">
<img src="/wp-content/uploads/2019/03/01-1-1200x801.jpg" alt="thumbnail">
<div class="responsive-titles">
<div class="title">
<h3 class="colorswitch"></h3>
</div>
<div class="description colorswitch"></div>
</div>
</a>
</div>


Thanks in advance!










share|improve this question









New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












How I can disable/remove links ("a href") in this code below using javascript or CSS?




CSS: "pointer-events:none;" doesn't work, lightbox still displays...




<div class="hc-image-wrap" style="height: 247px;">
<a title="" data-lightbox="magnific-image-gallery" href="/wp-content/uploads/2011/09/01-1.jpg">
<img src="/wp-content/uploads/2019/03/01-1-1200x801.jpg" alt="thumbnail">
<div class="responsive-titles">
<div class="title">
<h3 class="colorswitch"></h3>
</div>
<div class="description colorswitch"></div>
</div>
</a>
</div>


Thanks in advance!







javascript php css wordpress lightbox






share|improve this question









New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Mar 6 at 15:21









Gufran Hasan

3,62741527




3,62741527






New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Mar 6 at 15:14









SebaSeba

1




1




New contributor




Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Seba is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Do you want to remove href from anchor tag?

    – Gufran Hasan
    Mar 6 at 15:22











  • I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

    – Seba
    Mar 7 at 8:07











  • I think you should remove it from the code.

    – Gufran Hasan
    Mar 7 at 8:12











  • It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

    – Seba
    Mar 7 at 9:52











  • Please your site url.

    – Gufran Hasan
    Mar 7 at 11:12

















  • Do you want to remove href from anchor tag?

    – Gufran Hasan
    Mar 6 at 15:22











  • I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

    – Seba
    Mar 7 at 8:07











  • I think you should remove it from the code.

    – Gufran Hasan
    Mar 7 at 8:12











  • It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

    – Seba
    Mar 7 at 9:52











  • Please your site url.

    – Gufran Hasan
    Mar 7 at 11:12
















Do you want to remove href from anchor tag?

– Gufran Hasan
Mar 6 at 15:22





Do you want to remove href from anchor tag?

– Gufran Hasan
Mar 6 at 15:22













I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

– Seba
Mar 7 at 8:07





I want to completely remove the whole "<a href...< /a >" code to disable lightbox functionality (display large image after click). Regards

– Seba
Mar 7 at 8:07













I think you should remove it from the code.

– Gufran Hasan
Mar 7 at 8:12





I think you should remove it from the code.

– Gufran Hasan
Mar 7 at 8:12













It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

– Seba
Mar 7 at 9:52





It's not possible to remove it from the code. Please check these images on home page: tiny.cc/0xcv3y, I have to find a solution to do this using javascript or css. Regards

– Seba
Mar 7 at 9:52













Please your site url.

– Gufran Hasan
Mar 7 at 11:12





Please your site url.

– Gufran Hasan
Mar 7 at 11:12












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Seba is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55026386%2fdisable-lightbox-for-items-wordpress%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes








Seba is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Seba is a new contributor. Be nice, and check out our Code of Conduct.












Seba is a new contributor. Be nice, and check out our Code of Conduct.











Seba is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55026386%2fdisable-lightbox-for-items-wordpress%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

AWS Lex not identifying response if by a variable The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) The Ask Question Wizard is Live! Data science time! April 2019 and salary with experienceEnforcing custom enumeration in AWS LEX for slot valuesHow to give response based on user response in Amazon Lex?Intercepting AWS Lambda Response to a AWS Lex QueryLex chat bot error: Reached second execution of fulfillment lambda on the same utteranceamazon lex showing invalid responseLambda response send back to Lex slot?Response card in Amazon lexAmazon Lex - Lambda response return HTML to botHow can I solve 424 (Failed Dependency) (python) obtained from Amazon lex?

Алба-Юлія

Захаров Федір Захарович