WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. martinbelton
    Member
    Posted 3 months 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
    Member
    Posted 3 months ago #

    Resolved by looking here.

Reply

You must log in to post.

About this Topic