Want Full width page (need help)
-
[Moderator note: moved to Fixing WordPress forum]
Im using the athemes perth theme and I want to use a full width page but my page seems to have a border. Someone else worked on my site in the past and Im wondering if there is custom css that is causing this. I have followed every tip and video concerning full page without any success.
Could it be something in this code?
<?php /** * The header for our theme. * * Displays all of the <head> section and everything up till <div id=”content”> * * @package Perth */ ?><!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset=”<?php bloginfo( ‘charset’ ); ?>”> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <link rel=”profile” href=”https://gmpg.org/xfn/11″> <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”> <?php wp_head(); ?> </head> <body <?php body_class(); ?>> <div class=”preloader”> <div class=”preload-inner”> <div class=”box1 preloader-box”></div> <div class=”box2 preloader-box”></div> <div class=”box3 preloader-box”></div> <div class=”box4 preloader-box”></div> </div> </div> <div id=”page” class=”hfeed site”> <?php _e( ‘Skip to content’, ‘perth’ ); ?> <header id=”masthead” class=”site-header clearfix” role=”banner”> <div class=”container”> <?php if ( display_header_text() ) : ?> <div class=”site-branding col-md-4 col-sm-6 col-xs-12″> <?php perth_branding(); ?> </div> <?php endif; ?> <nav id=”site-navigation” class=”main-navigation col-md-8″ role=”navigation”> <?php wp_nav_menu( array( ‘theme_location’ => ‘primary’, ‘menu_id’ => ‘primary-menu’ ) ); ?> </nav><!– #site-navigation –> <nav class=”mobile-nav”></nav> </div> </header><!– #masthead –> <div class=”header-clone”></div> <div id=”content” class=”site-content”> <div id=”content-wrapper” class=”container”>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Want Full width page (need help)’ is closed to new replies.