WordPress.org

Ready to get started?Download WordPress

Forums

Customize Template Page Width (1 post)

  1. psims529
    Member
    Posted 4 months ago #

    HI all,

    My website has a sidebar, but I have removed it for a template where I will be displaying maps and charts that need the whole page in order to be seen properly. I have figured out how to get a specific page to display properly by adding the following coding to the style.css for page "maps"

    body.slug-maps #container {
    width: 960px;
    }

    body.slug-maps #content {
    width: 840px;
    }

    My question has to do with making that same coding applicable to all pages that I create using the template titled "interacted." Can I just edit the above code to work on a template instead of a single page? Or is there a better way to accomplish this?

    Thanks so much for all your help - it is greatly appreciated!

    -Patrick

Reply

You must log in to post.

About this Topic