Full Page template
-
Hi,
I am trying to make a full page template for the front page of my site. In my child theme I made a new template with the code below. The issue I have, how can I make the content image fit 100% to the screen. Right now it seems to be way bigger than my screen, and you gotta scroll to see the whole thing.
Thanks A Lothttps://www.memastudio.ca/232-2/
here is the code:
<?php /* Template Name: No title page */ ?> <div class="content-bar"> <?php if (have_posts()) : the_post(); ?> <?php the_content(); ?> <div class="clear"></div> <?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'black-bird' ) . '</span>', 'after' => '</div>' ) ); ?> <?php endif; ?> <!--Start Comment box--> <?php comments_template(); ?> <!--End Comment box--> </div> </div> </div> </div> </div> </div> </div>
[Please use the code buttons ]
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘Full Page template’ is closed to new replies.