Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #165336

    Hello, I need to make the main container in one of my pages of my boxed theme 100% width. But of course I don’t want neither the header nor the footer to lose the 50px margin. Is it possible? How?

    I tried this

    .page-id-25 .container { margin:0px!important; padding:0px!important;}

    but of course the header and footer lose the margin too.

    thanks

    #165454

    Hi,

    Can you post the link to your website please?

    Regards,
    Josue

    #166692

    Yes, I want the iframe to fill 100% of the container.

    http://goo.gl/Vtgm8H

    Thanks

    #166697

    Hello!

    Do as following:
    1. Create a ‘Color section’ and give it an ID
    2. Put a text block in it
    3. Inside the text block put your HTML iframe code.
    4. Apply this CSS:

    #myid .container, #myid .container iframe{
        width: 100%;
    }

    Change #myid for the correct ID.

    Result:

    Regards,
    Josue

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

The topic ‘Main container width 100%’ is closed to new replies.