C
C
carec2018-01-13 22:11:05
User navigation
carec, 2018-01-13 22:11:05

How to remove Sidebar?

Good evening. Can you please tell me how to remove the left sidebar in the template https://de.wordpress.org/themes/gambit/ ?
By deleting sidebar-main.php we will almost solve the problem, but how and where then to align the posts of the site to the width of the page?
Thank you in advance!:)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Orkhan Hasanli, 2018-01-13
@carec

- deleting the sidebar template will not give results))) You'll be lucky if it doesn't give PHP errors.
- you need to delete not only the template, but also disable it via functions.php
- you also need to find all page templates page.php single.php etc. and find where this sidebar is displayed and delete it.
- further you will need knowledge of html 5 & css3 to remove the desired html block and add styles in order to align the block to the width of the screen.
English instruction.
www.wpbeginner.com/wp-themes/how-to-remove-the-sid...
Be sure to back up your site before making changes. Updraftplus backup plugin or any other of your choice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question