Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Other
How to remove the "mfn_hook_content_before" on a page
carolschulte
April 2015
in
Other
I added an optin form code in the hook "before content" and I would like to remove it from a few pages.
How can I do so? Thank you in advance for your help.
Comments
Albert
April 2015
Hi,
this can be done within custom css only. If you will send us url to example page where you want to remove this, we can show you how to do it.
Thanks!
carolschulte
April 2015
I would like to remove the
optin
on these 2 pages.
http://www.carolschulte.com/mastermind/
and
http://www.carolschulte.com/mastermind-registration/
Thank you in advance.
Albert
April 2015
Ok. So you can remove them within below css:
.page-id-xxx #optinforms-form1-container { display: none; }
where xxx is page id.
carolschulte
April 2015
I added it in the custom css but it did not work.
I added this:
Albert
April 2015
What exactly you added and on which page? Because we do not see anything.
carolschulte
April 2015
I added this:
.page-id-mastermind #optinforms-form1-container { display: none; }
.page-id-mastermind-registration #optinforms-form1-container { display: none; }
Albert
April 2015
mastermind is page ID? Do you know what is Page ID? Page ID is a NUMBER, not name.
carolschulte
April 2015
I found my mistake and put correct page id.
It works now.
Thank you so very much!!
Albert
April 2015
Glad to hear that
You're welcome!
Sign In
or
Register
to comment.
Comments
this can be done within custom css only. If you will send us url to example page where you want to remove this, we can show you how to do it.
Thanks!