私はWordPressの開発に新しいが、私はカスタムWordPressのテーマを開発しましたが、私はposts.PostsにCSSを与えることができませんでした。いくつかのCSSは、私がこれを行う方法を私にお勧めします。WordPressテーマの投稿にCSSを与える方法
<?php get_header(); ?>
<div id="primary" class="content-area">
<main id="main" class="site-main" role="main">
<?php
// Start the loop.
while (have_posts()) : the_post();
// Include the page content template.
get_template_part('template-parts/content', 'page');
// If comments are open or we have at least one comment, load up the comment template.
if (comments_open() || get_comments_number()) {
comments_template();
}
// End of the loop.
endwhile;
?>
</main><!-- .site-main -->
<?php get_footer(); ?>
私はポストが登場すると、私のワードプレスのテーマのpage.phpのコードされているどのように画像を追加しました。いくつかの助けを求めていること
参照してください。https://codex.wordpress.org/CSS – Dharmendra