WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove widgets from other pages (5 posts)

  1. jashsayani
    Member
    Posted 4 years ago #

    Hi,

    I am using the iBlog theme from here: http://wordpress.org/extend/themes/iblog

    Now, I want to keep the sidebar widgets on the Home page (Blog) and remove the sidebar from other pages and widen the page.

    Some help on how to go about it would be great! Thanks.

  2. Durgé Seerden
    Member
    Posted 4 years ago #

    If you want to remove the whole sidebar just remove the <?php get_sidebar(); ?> tag from your single.php and page.php files.

    Greetz,

    Durgé
    Dimics.com

  3. jashsayani
    Member
    Posted 4 years ago #

    Thanks.

    But I want to remove it from all pages except the Home page (Blog).

    So, what file of those do I need to edit??

  4. jashsayani
    Member
    Posted 4 years ago #

    Ok, on editing page.php, The sidebar is gone.

    Now I need to increase the width of the pages... (Not Home page - blog)

    However, there are 2 CSS files

    FILE 1

    header {}
    content {}
    sidebar {}
    footer {}

    FILE 2

    //HEADER
    Several properties

    //CONTENT
    Several properties

    //SIDEBAR
    Several properties

    //FOOTER
    Several properties

    ---------

    Now, in the page.php, the Header, Content, Footer, etc. DIVs exist. So, I need to find the relation between the 2 CSS files and edit the width for onlt the PAGES.php (Not index.php).

    Some help would be great! Thanks.

  5. jashsayani
    Member
    Posted 4 years ago #

    Done!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.