Support » Fixing WordPress » Mirror CSS from full-page.php

  • Resolved martinbelton


    Previously, in this question, Alchymyth showed me how to mirror the theme’s CSS, by using the structure as it is used in content-page.php:

    <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

    However, in this case, I would like the CSS to mimic the full-width.php, which looks like this:

    get_header(); ?>
    	<div id="primary" class="site-content">
    		<div id="content" role="main">
    		<?php while ( have_posts() ) : the_post(); ?>
    		<?php get_template_part( 'content', 'page' ); ?>
    		<?php comments_template( '', true ); ?>
    		<?php endwhile; // end of the loop. ?>
    		</div><!-- #content -->
    	</div><!-- #primary -->
    <?php get_footer(); ?>

    How should I go about it?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Mirror CSS from full-page.php’ is closed to new replies.