Deactivate .aligncenter JS for images
-
Hello Folks,
I’ve tried now for two days to resolve a little WPTouch behaviour and shortly before to jump of the a bridge.
On my Page I use some pics on the right side, which are below 250px in width. I know that WPTouch uses a script that all images in posts set automatically to align center if they below 250px in width. But exactly these I try to deactivate or manipulate the with px trigger. It works some minutes as I removed the width and heigh attributes from the pics, but now it dont works anymore. If I freshly open a post, the image is alligned correctly and some ms later, it “jumps” to the center. Arrghhh
I find only the call to that script, but not the script himself in all the bauhaus and foundation files. If these pics are aligned to center the text broke and the complete layout looks ugly. These pictures are small enough to looks good when they appear on the right side in mobile version too.
So pls, give me the last hint to solve my problem.
Thanks in advance
- The topic ‘Deactivate .aligncenter JS for images’ is closed to new replies.