If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #3096


    I’m using the display template, and I’d like to use your Contact Form, but I would like to omit the sidebar and show the contact form as full width. What changes do I need to make? I saw a similar question posted for the Habitat theme, but the template_contact.php doesn’t seem to conform to your advice.





    Near the top of template_contact.php you’ll find this code:

    $k_option['custom']['bodyclass'] = ""; // $k_option['custom']['bodyclass'] = "class='fullwidth'";

    Change it to:

    $k_option['custom']['bodyclass'] = "class='fullwidth'";

    and the page should change to full width.


Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘How to remove sidebar from Contact Form in display’ is closed to new replies.