Page 1 of 1

Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 8:53 pm
by Valerina
Hey All

I am running oc 3.0.3.1 using the default theme.
How do I hide the Contact Form located at the bottom of Contact page?

Re: Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 9:31 pm
by rjcalifornia
Valerina wrote:
Tue Apr 09, 2019 8:53 pm
Hey All

I am running oc 3.0.3.1 using the default theme.
How do I hide the Contact Form located at the bottom of Contact page?
May be this plugin can help:

https://www.opencart.com/index.php?rout ... n_id=17172

Re: Contact Page, Hide Contact Form

Posted: Tue Apr 09, 2019 11:12 pm
by DigitCart
Hi
Add this to your stylesheet.css:

Code: Select all

#information-contact form {
    display: none;
}
or remove the form from this file:
catalog\view\theme\default\template\information\contact.twig
from:

Code: Select all

<form action="{{ action }}" method="post" enctype="multipart/form-data" class="form-horizontal">
to:

Code: Select all

</form>

Re: Contact Page, Hide Contact Form

Posted: Wed Apr 10, 2019 4:52 pm
by letxobnav
at least do not try the mentioned extension as it does not support V3 (sigh...)

Re: Contact Page, Hide Contact Form

Posted: Thu Jun 13, 2019 9:57 pm
by PatrickR
Why not creating an information page called contact instead of using the opencart page ?