Tagged: x
-
AuthorPosts
-
September 4, 2016 at 6:36 am #1160480
olbitcoParticipantI tried to add a second line under my Logo name but can’t fix it.
Is it possible to do this and have the second line in a different style ? (see logo.jpg)
I’m using integrity
Thx
September 4, 2016 at 7:17 am #1160506
ThaiModeratorHi There,
Because this requires a template change, I’d advise that you setup a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.
Then navigate to your child theme’s /framework/views/global directory create a file named _brand.php and paste the code below:<?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 ( is_front_page() ) ? '<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> <div class="second-line">Your Second Line</div>After that add the following CSS under Customizer > Custom > Global CSS:
.second-line { float: left; max-width: 200px; clear: both; display: block; font-size: 24px; color: #000; }Hope it helps 🙂
September 5, 2016 at 1:44 am #1161220
olbitcoParticipantThis reply has been marked as private.September 5, 2016 at 1:49 am #1161222
ChristopherModeratorHi there,
Please provide us with login and FTP credentials so we can take a closer look.
Thanks.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1160480 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
