tonykuehn
Forum Replies Created
-
I noticed this as well. If the values for padding or margin are set to 0, then defaults are used (20px) instead. This applies both to linked and un-linked values. If I set them to 1, then the input is respected, so it’s clearly an issue with how ‘0’ input is being handled.
It appears to be working as expected. Thanks so much for your prompt response and for the fix.
Thanks! Your temporary fix does seem to work, thanks so much for jumping on this issue.
Yes, done and done. Exact same issue. Zero plugins installed (including jetpack). I took a movie of my screen so you can see exactly what’s happening.
https://www.dropbox.com/s/c5eqxusmt8k0rw5/screengrab_otter.mov?dl=0
I should add, I don’t think it’s a plugin conflict either. I tried it with all plugins disabled and got the same results.
I can change them and the changes take effect when I hit update, but when I reload the page edit screen, or open the page in editor again after saving changes (leave the editor, and re-enter from any link), the padding and margins for all items are reset to 20px and my changes are lost. It looks like the defaults are overwriting changes on admin page editor reload.
- This reply was modified 5 years, 9 months ago by tonykuehn.
Hi!
It may be too little too late, but I had the exact same problem and this is the ONLY place I ever found a reference to it.My situation is a little different, as I am using Popup Maker, but perhaps my solution will help. It’s stupidly easy (in my case) and I spent too much time figuring it out…
So, it’s this: just add the ID of your popup before the ID of your input.
Here’s my code. It closes the popup, redirects, writes to console and sets a cookie.
// Replace form_7 with the # of your form to ensure function _cf7_form_7_on_sent_ok_() { jQuery('#popmake-5669').trigger('popmakeSetCookie'); var email = jQuery('#popmake-5669 #email').val(); console.log(email); /** * Close the popup after a 5 second delay. */ setTimeout(function () { jQuery('#popmake-5669').popmake('close'); location = 'https://beta.bootprints.com/local-edition-signup/?email='+email; }, 5000); // 5 seconds }
And then, for on_sent_ok i just call the function, which lives in my functions file and gets added to wp_footer.
That’s it. I hope this helps someone.