kt22mike
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Increase content width in twenty thirteen themeYes. I switched to this template early this morning as I was totally frustrated. The 20 12 template solved my width problem – but of course added some new challenges (want to change white background on each page, make header/banner thinner).
Still wish I knew what the heck I was doing wrong!!!
Hopefully I can work through these – as you can tell I am a newbie when it comes to this stuff.
Thanks for taking the time to help me out. Sorry for any confusion.
Forum: Themes and Templates
In reply to: Increase content width in twenty thirteen themeI followed your instructions but I must be doing something wrong. I installed the WordPress Custom CSS plug in (I can see it in settings so I know it is properly installed (I can also see it in my plugin folder).
I included the instructions that you listed above for my twentythirteen template (capecodrailtrail.org)
.sidebar .entry-header,
.sidebar .entry-content,
.sidebar .entry-summary,
.sidebar .entry-meta {
max-width: none;
padding: 0px 40px 0px 50px;
}
`I saved the CSS code but cannot get an existing page or a new page to allow me to use the entire width of the text box.
Any help would be appreciated.
Forum: Themes and Templates
In reply to: [Twenty Thirteen] Full Width Page TemplateNeomikenet or other kind person:
I have followed your directions but for some reason the edits i included in my twentythirteen-child is not taking effect. My website is capecodrailtrail.org
Here is my style.css
/* Theme Name: Twenty Thirteen Child Theme URI: http://example.com/twenty-thirteen-child/ Description: Twenty Thirteen Child Theme Author: John Doe Author URI: http://example.com Template: twentythirteen Version: 1.0.0 */ @import url("../twentythirteen/style.css"); /* =Theme customization starts here -------------------------------------------------------------- */ .my-full-size { margin-left: auto !important; margin-right: auto !important; height: auto; padding-right: 1em !important; }Here is my full-width-page.php
<?php /** * Template: full width * * This is the template that displays all pages by default. * Please note that this is the WordPress construct of pages and that other * 'pages' on your WordPress site will use a different template. * * @package WordPress * @subpackage Twenty_Thirteen * @since Twenty Thirteen 1.0 */ get_header(); ?> <div id="primary" class="content-area"> <div id="content" class="site-content" role="main"> <?php /* The loop */ ?> <?php while ( have_posts() ) : the_post(); ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <header class="entry-header my-full-size"> <?php if ( has_post_thumbnail() && ! post_password_required() ) : ?> <div class="entry-thumbnail"> <?php the_post_thumbnail(); ?> </div> <?php endif; ?> <h1 class="entry-title my-full-size"><?php the_title(); ?></h1> </header><!-- .entry-header --> <div class="entry-content my-full-size"> <?php the_content(); ?> <?php wp_link_pages( array( 'before' => '<div class="page-links"><span class="page-links-title">' . __( 'Pages:', 'twentythirteen' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>' ) ); ?> </div><!-- .entry-content --> <footer class="entry-meta"> <?php edit_post_link( __( 'Edit', 'twentythirteen' ), '<span class="edit-link">', '</span>' ); ?> </footer><!-- .entry-meta --> </article><!-- #post --> <?php comments_template(); ?> <?php endwhile; ?> </div><!-- #content --> </div><!-- #primary -->I am using bluehost as my server and I know the child template works as I can activate it and see it running. Not sure what I am doing wrong – is there something I need to do once I open up a page to edit or create a new page? Any advice would be appreciated.