WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] remove sidebar in forum page (7 posts)

  1. nevergrad
    Member
    Posted 5 years ago #

    how can i edit the style.css so that in the forum page no sidebar will be appeared?

  2. curtismchale
    Member
    Posted 5 years ago #

    please provide a link to your site so we can advise the best route to achieve this.

  3. nevergrad
    Member
    Posted 5 years ago #

  4. curtismchale
    Member
    Posted 5 years ago #

    I am guessing that you want to remove the line that says <?php get_sidebar(); ?> from the template page the feeds the forum. If this page also feeds some other pages (like the blog or pages) then you will need to use some conditional code to exclude it from just the forum page.

    Check out this page in the Codex for information on conditional code.

    By the way I really like the design of the site. Is it your design or a purchased theme?

  5. nevergrad
    Member
    Posted 5 years ago #

    it is more complicated than that...because i think the sidebar is determined in the css file. No "<?php get_sidebar(); ?>" appeares in the page template. Anyway the design is a purchased theme. It is called aeros theme. If you download it, see the code, and understand how i can do it,please inform me... Thanks a lot by the way for trying!! :)

  6. nevergrad
    Member
    Posted 5 years ago #

  7. nevergrad
    Member
    Posted 5 years ago #

    i did it finally...i was wrong...the "<?php get_sidebar(); ?>" was in the code of the footer. THANK YOU VERY MUCH!

Topic Closed

This topic has been closed to new replies.

About this Topic