Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #18786


    I’m trying to create a template without any margin or padding (I need to use a lightbox iframe), with css, I managed to remove header, footer etc:

    .page-template-template-clean-php #header {display:none}

    I can’t figure out a way to prevent margin and padding in #main on this template.

    Can someone help me on this?



    Template: http://pastebin.com/0izYm5au

    (Note: I need a page template)


    Hi alecrim,

    I’m not sure if you mean you’ve solved it with the that page template or you are still looking for help.

    If you do still need help, can you describe what you are trying to do a bit more or show a screenshot with some annotation?




    Hi Devin,

    I need a clean page template, no menu, no header, full width for some pages. I created this one, but still I need to set the full width everytime.


    The page template you have there should do most of it. You can create an alternate header that doesn’t have the menu or header (see http://codex.wordpress.org/Function_Reference/get_header) and then continue modifying for your needs.



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Need a template without any padding and margin’ is closed to new replies.