balvarezboxfishstudio
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
To better hide the modal when editing pages, we have replaced the previous CSS with:
body.wp-admin.post-type-page #tawcvs-modal-container { display: none !important; }This way, we are not hiding the default wordpress modal class, but hiding the modal generated by this plugin.
Not really, in the meantime we just wrote an ugly CSS generic rule to avoid it:
.media-modal-backdrop { visibility: hidden; }But this is not a proper solution and it could have some side effects if that CSS class is used somewhere else.
Checking your code I can see that it comes from the function
add_attribute_term_templatebut I see no correlation of why this function will success on injecting the modal HTML in an edit post page…Maybe an explanation of what this is intended for would help me debugging why it only appears in some pages, and how I can make it disappear.
Thanks!! 🙂
Viewing 3 replies - 1 through 3 (of 3 total)