code for removing theme template on secondary pages

  • Unknown's avatar

    I would greatly appreciate help in finding out how to remove sidebar & other items on the pages associated with my menu pages. While I want my title page to remain as is, I would like the additional pages to be blank except for what I type. I have the CSS upgrade.

    Thanks, in advance, for your help.

    http://www.mobilejewishfederation.org

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    You have to explain more what you want. Do you want just a blank white browser window with a bit of text jammed into the upper left with no styling and the rest of the page completely blank?

  • Unknown's avatar

    Virtually blank white browser window with just the post content text (and the footer credits which have to remain no matter what.

    body.page {
    background: none;
    }
    
    .page #header, .page #sidebar, .page #post-extra-content, .page #footer-widget-area {
    display: none;
    }
    
    .page #content-container {
    margin: 0;
    width: 100%;
    }

    Oh! Add the following to get rid of the page title.

    .page .page-title {
    display: none;
    }
  • Unknown's avatar

    Sorry I didn’t explain very well. If you look on our website at the menu entitled “Community Resources” you’ll see what I want EXCEPT for the sidebar (Upcoming Events). I want this removed. If you look at the menu entitled “Mobile Jewish Film Festival” I’d like the Upcoming Events removed as well as “Aug. 2 posted by MAJF,” “Posted in…..” and “Comments Off” removed. I hope this explains it.

    Thanks

  • Unknown's avatar

    “Community Resources” is a page.

    “Mobile Jewish Film Festival” is a post.

    Do you want the date, author, comments and posted in stuff removed from ALL posts, or just that particular post? My suggestion would be to turn “Mobile Jewish Film Festival” into a page instead of a post.

    With both of them as “pages” then you edit each one and from the page template pulldown in the attributes module you select “one column page (no sidebar)” and it’s done. No need for any CSS at all.

  • Unknown's avatar

    Yes, that’s exactly what I want – each one as a page. In my ignorance, I did not realize that I saved “Mobile Jewish Film Festival” as a post. How do I change that?

    Thanks so much.

  • Unknown's avatar

    There’s not a way to automatically change a post into a page. What you can do is just copy the content from the post and create a brand new page with that content. I would recommend using the html editor to copy and paste the content:

    Types of WordPress Editors

  • Unknown's avatar

    Thanks. Much appreciated!

  • The topic ‘code for removing theme template on secondary pages’ is closed to new replies.