Jump to content

Featured Replies

Posted
comment_204509

Hello
I want to add a photo in the language section of the translation section for a text, but I don't want the photo to be clickable
Normally, when I place the photo, by clicking on the photo, the photo will be enlarged. I want to get this feature from only this photo, not all photos.
I used the following code

<img src="https://ipbmafia.ru/uploads/reactions/react_thanks.png" width="25" height="25">

 

comment_204516

custom.css:

.no-click {
  pointer-events: none;
}

 

Фото, которое не будет кликабельным:

<div class="no-click"><img src="https://ipbmafia.ru/uploads/reactions/react_thanks.png" width="25" height="25"></div>

 

avangcom 

  • Author
comment_204533

@aLEX49566

I used this code, it works correctly, but it turns out like this

q1.png.613df9369d0e9d9426ec5b950b0c8ae6.png

I want it to be like this

q2.png.427e1db6f7af668efc6dd12c90f48fcb.png

I wrote the code like this, it worked, there is no problem???

 <div class="no-click">Give<img src="https://ipbmafia.ru/uploads/reactions/react_thanks.png" width="25" height="25"> to this post to see the hidden content. </div>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.


Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.