Support » Fixing WordPress » Container width on custom template?

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    Did you try applying a different class or id to the container div in the new template?

    Yes, I added this to the custom template:

    <div id=”container” class=”1sidebar”>

    That did a good job of letting me remove the left sidebar from the page in question, but the custom template has no place for me to alter the container’s width. So I was advised to add this to style.css:

    #container.1sidebar { THE CONTAINER INFO }

    The part got added to style.css but seems to make no difference, so something’s missing here.

    esmi

    (@esmi)

    Forum Moderator

    The styling on the id (#) will over-ride the styling on the class as it’s more specific. Try setting up a completely new container id.

    SUCCESS!!! Thank you, esmi!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Container width on custom template?’ is closed to new replies.