• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Full Width and Height Template

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Full Width and Height Template

This topic is: not resolved

Tagged: full width, full-height, template

  • This topic has 3 replies, 2 voices, and was last updated 6 years, 1 month ago by cn.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 20, 2016 at 2:59 pm #185988
    cn
    Member

    Hi,

    I have Genesis Framework with the Altitude Pro theme installed. I have one page that I would like to have a full-width and full-height iframe as the content. I'd like to keep the header and footer of the theme if possible. When I add the iframe to the page, the theme makes it fit into a small box. At the suggestion of Support, playing around with Firebug, I found that removing the "site-inner" class allows the iframe to fill the page.

    I don't want the whole site to be full-width and full-height, just one page. Is there a way to create a page template which keeps header and footer intact, yet removes content CSS to allow a full width and height? Thanks!

    May 20, 2016 at 3:33 pm #185991
    Victor Font
    Moderator

    Just create a new class for a specific site-inner for that particular page and adjust the width in that class. If you view the page source code, the page ID is shown in the body classes. Create your new class like this:

    .page-id-2613 .site-inner {
       max-width: 100%;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 20, 2016 at 4:07 pm #185995
    cn
    Member

    Awesome, that's a start. The width gets changed to 100%. The height of the iframe is still very narrow though. I can't seem to find where the height is even set. http://nimmer.org/photos

    May 20, 2016 at 5:46 pm #185999
    cn
    Member

    With your help, I was able to get the iframe to fit on the page properly. However, the changes don't work with the mobile responsive part of the theme. I may be going down a rabbit hole with this one.

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2022 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble