Tagged: x
-
AuthorPosts
-
October 12, 2016 at 10:23 pm #1214045
hauphoffParticipantI created a child theme and added the tagline to the brand file for this site: heidiuphoff.wpengine.com
<?php // ============================================================================= // VIEWS/GLOBAL/_BRAND.PHP // ----------------------------------------------------------------------------- // Outputs the brand. // ============================================================================= $site_name = get_bloginfo( 'name' ); $site_description = get_bloginfo( 'description' ); $logo = x_make_protocol_relative( x_get_option( 'x_logo' ) ); $site_logo = '<img src="' . $logo . '" alt="' . $site_description . '">'; ?> <?php echo '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a> <p class="tagline"><?php bloginfo('description'); ?></p>How would I modify this to have the tagline below the site name? So that it looks like this: heidiuphoff.com
October 13, 2016 at 2:48 am #1214262
FriechModeratorHi There,
Thanks for writing in! You can add this under Custom > CSS in the Customizer.
p.tagline { float: left; clear: both; }Hope it helps, Cheers!
October 13, 2016 at 12:43 pm #1215061
hauphoffParticipantThank you for the quick response!
The tagline is exactly where I want it now.
However the menu in the header now lines up below the tagline instead of below the top of the page. Is there any easy css fix for that?
October 13, 2016 at 4:19 pm #1215285
NicoModeratorHi There,
Try adding this in your custom > CSS:
.masthead-inline .desktop .x-nav{ margin-top: -50px; } @media (max-width: 979px) .masthead-inline .x-btn-navbar { margin-top: -30px; }Hope it helps. Let us know how it goes.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1214045 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
