The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Specific No Image Drag

View previous topic View next topic Go down

Specific No Image Drag

Post by FineryWorkshop on February 28th 2015, 5:05 pm

How do I make it where you can't drag images in only the forum? I tried adding this to template: style="pointer-events:none;" in points of the template, but it doesn't work and I also tried just adding to the template:

Code:
<style>
[size=13].post .content img{pointer-events: none;}[/size]
[size=13]</style>[/size]


I just want the drag to work in the forums, not everywhere Smile (I really need the drag to still work in the PMs)

FineryWorkshop
Forumember

Female Posts : 48
Reputation : 1
Language : English
Location : USA

http://NOTREADY.forumotion.com

Back to top Go down

Re: Specific No Image Drag

Post by Fierce Star on February 28th 2015, 5:15 pm

So you don't want any images to be draggable in posts only, correct?
If your forum version is phpBB3 like your post profile says, try adding this to your CSS (ACP -> Display -> Pictures and Colors -> Colors -> CSS Stylesheet):
Code:
.post .postbody img {
pointer-events: none;
}

Fierce Star
Forumember

Male Posts : 110
Reputation : 17
Language : English
Location : United States

http://inactivesite.onlyhelpwithothersnow.com

Back to top Go down

Re: Specific No Image Drag

Post by FineryWorkshop on February 28th 2015, 5:24 pm

@Fierce Star wrote:So you don't want any images to be draggable in posts only, correct?
If your forum version is phpBB3 like your post profile says, try adding this to your CSS (ACP -> Display -> Pictures and Colors -> Colors -> CSS Stylesheet):
Code:
.post .postbody img {
pointer-events: none;
}
It is, but I still can't drag on PMs :c

FineryWorkshop
Forumember

Female Posts : 48
Reputation : 1
Language : English
Location : USA

http://NOTREADY.forumotion.com

Back to top Go down

Re: Specific No Image Drag

Post by _Twisted_Mods_ on March 11th 2015, 10:11 am

try adding this

Code:
form .post .postbody img {
pointer-events: unset!important;
}

_Twisted_Mods_
Helper
Helper

Male Posts : 2020
Reputation : 299
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum