Can't centre align text in footer
-
Hi,
I know there are a lot of these threads about aligning the footer which I have read through and most of them say to edit the style.css file. However, as I have a child theme my style.css file doesn’t have any code it simply tells the child theme to take the style sheet from the parent theme.
I am a massive newb at coding so please explain stuff in full!
All I want to do is put the ‘copyright’ bit on the same line as ‘disclaimer’ and centre align.
My site is https://www.tombretravel.com and below is a copy of my child footer.php file and style.css file. Any help would be amazing!
Cheers,
Tom.
/* Theme Name: Twenty Sixteen Child Theme URI: https://tombretravel.com Description: Twenty Sixteen Child Theme Author: Tom Brewerton Author URI: https://tombretravel.com Template: twentysixteen Version: 1.0.0 License: GNU General Public License v2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready Text Domain: twenty-sixteen-child */
<?php /** * The template for displaying the footer * * Contains the closing of the #content div and all content after * * @package WordPress * @subpackage Twenty_Sixteen * @since Twenty Sixteen 1.0 */ ?> </div><!-- .site-content --> <footer id="colophon" class="site-footer" role="contentinfo"> <?php if ( has_nav_menu( 'primary' ) ) : ?> <nav class="main-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Primary Menu', 'twentysixteen' ); ?>"> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'menu_class' => 'primary-menu', ) ); ?> </nav><!-- .main-navigation --> <?php endif; ?> <?php if ( has_nav_menu( 'social' ) ) : ?> <nav class="social-navigation" role="navigation" aria-label="<?php esc_attr_e( 'Footer Social Links Menu', 'twentysixteen' ); ?>"> <?php wp_nav_menu( array( 'theme_location' => 'social', 'menu_class' => 'social-links-menu', 'depth' => 1, 'link_before' => '<span class="screen-reader-text">', 'link_after' => '</span>', ) ); ?> </nav><!-- .social-navigation --> <?php endif; ?> <div class="site-info"> <?php /** * Fires before the twentysixteen footer text for footer customization. * * @since Twenty Sixteen 1.0 */ do_action( 'twentysixteen_credits' ); ?> <p>©2016 <a href="https://tombretravel.com">tombretravel</a></p> <a href="https://tombretravel.com/disclaimer/">Disclaimer</a> </div><!-- .site-info --> </footer><!-- .site-footer --> </div><!-- .site-inner --> </div><!-- .site --> <?php wp_footer(); ?> </body> </html>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can't centre align text in footer’ is closed to new replies.