How to remove a block from contact page?
-
Hello,
I’m using the theme named the producer
https://premium.themolitor.com/?theme=theproducerWhat I would like to achieve is to get rid of the block named div id=”topPanel” only in the contact page, so that the user can see the form without scrolling.
I know I can do that with CSS, but I’m interested in a clean solution, which would be by writing a condition. Problem is that I don’t know php so I tried to write a condition in the “page.php” file which does not work. Can someone help me please?
The code I wrote:
<?php if (is_page( contacto ) // Commercial code redacted by a moderator } ?>
Viewing 12 replies - 1 through 12 (of 12 total)
Viewing 12 replies - 1 through 12 (of 12 total)
- The topic ‘How to remove a block from contact page?’ is closed to new replies.