[resolved] Mirror CSS from full-page.php (2 posts)

  1. martinbelton
    Posted 2 years ago #

    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?

  2. martinbelton
    Posted 2 years ago #

    Resolved by looking here.

Topic Closed

This topic has been closed to new replies.

About this Topic