Removing sidebar in wordpress for a particular page

3 replies
Hello,
I have already created second page.php with the sidebar left and made a template for the new page.
Now the sidebar is gone but the text is still not full width and I have an empty space where the sidebar used to be.
In my .ccs I found the width option for the text but changing it, will change it for the whole site. How can I just widen the text for my new page2.php template?
#page #removing #sidebar #wordpress
  • Profile picture of the author Matrick
    sounds like a tough problem, you might wanna check out the wordpress support forum. they got some good guys there, at least they solves all of my problems.
    {{ DiscussionBoard.errors[768132].message }}
    • Profile picture of the author Aaron Sustar
      Have you tried opening "single.php" file of your template and applying some CSS styling to the <div class="post" ...>?
      {{ DiscussionBoard.errors[777708].message }}
  • Profile picture of the author Hellas
    You should add new css class to specificly that template and then define it in your css
    so you dont brake other pages when change their css class.
    {{ DiscussionBoard.errors[810068].message }}

Trending Topics