Minik DF Posted February 10, 2017 Share Posted February 10, 2017 (edited) How can i remove or hide the subject field at the contact page? See attached printscreen. I'm using Prestashop 1.6.0.9.Solved with Rocky's suggestion.See attached before and after printscreens. Edited February 11, 2017 by Minik DF (see edit history) Link to comment Share on other sites More sharing options...
w3bsolutions Posted February 10, 2017 Share Posted February 10, 2017 Its easy to hide via CSS. If you want the exact code we would need a link to the page. Link to comment Share on other sites More sharing options...
Minik DF Posted February 10, 2017 Author Share Posted February 10, 2017 Sounds great :-)The link is: http://billiggrow.dk/kontakt-osThe subject field is called "Emne overskrift" Is it possible to hide the field so any messages will be send to the option "Kundeservice"? Link to comment Share on other sites More sharing options...
rocky Posted February 11, 2017 Share Posted February 11, 2017 Unfortunately, it will take more than just CSS to hide it, since you'll still get the "Please select a subject" error message. You'll need to edit themes/organicshop/contact-form.tpl and add value="2" to the <select> with id="id_contact" so that "Kundeservice" is selected by default. You should also change <p class="select"> to <p class="select" style="display: none;"> two lines above the select so the entire line is hidden. To hide the subject descriptions, you'll need to edit themes/organicshop/css/contact-form.css and add: .desc_contact { display: none; } 1 Link to comment Share on other sites More sharing options...
w3bsolutions Posted February 11, 2017 Share Posted February 11, 2017 That's just what I was going to answer. Thanks @rocky 1 Link to comment Share on other sites More sharing options...
Minik DF Posted February 11, 2017 Author Share Posted February 11, 2017 Thank you very much, it worked perfect :-)The subject will be marked as solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now