Support » Theme: Twenty Fourteen » [Theme: Fourteen] Website title and site description in the same line

Viewing 1 replies (of 1 total)
  • Hi @cartagiov,

    To display title and site description in the same line just remove the following code from the sidebar.php file and add it on line number 46 in the header.php file of your child theme“>child theme.

    <?php
    $description = get_bloginfo( 'description', 'display' );
    if ( ! empty ( $description ) ) :
    	?>
    	<h2 class="site-description"><?php echo esc_html( $description ); ?></h2>
    <?php endif; ?>

    Add following CSS code in the style.css file of your child theme or add it in your site using the following plugin.

    http://wordpress.org/plugins/simple-custom-css

    h2.site-description {
       float: left;
       clear: none;
       margin: 20px;
       color: #fff;
    }

    Best Regards,
    WPMU DEV

Viewing 1 replies (of 1 total)
  • The topic ‘[Theme: Fourteen] Website title and site description in the same line’ is closed to new replies.