Tagged: x
-
AuthorPosts
-
January 23, 2017 at 9:35 am #1341612
Mr.alrikssonParticipantHi,
It seems like the title of the website is shown as h1 on all pages. Why have you built it like that? I don’t want it to be visible at all not even in the source code:
<h1 class=”visually-hidden”>example.com</h1>
January 23, 2017 at 10:24 am #1341707
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 . '">'; ?> <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>"> <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?> </a>Hope it helps 🙂
January 25, 2017 at 9:06 am #1344746
Mr.alrikssonParticipantThis reply has been marked as private.January 25, 2017 at 10:46 am #1344935
RupokMemberHi there,
Thanks for writing back. If you duplicate a page in Child Theme then the page within parent theme will be overridden by the child theme. So it will be applied site-wide. Let us know if you have any confusion.
Cheers!
January 26, 2017 at 4:00 am #1346104
Mr.alrikssonParticipantThis reply has been marked as private.January 26, 2017 at 4:31 am #1346139
Paul RModeratorHi,
We’ll forward your concern to our web development team.
At the mean time please follow the instruction given in #1341707
Thanks
January 31, 2017 at 2:34 am #1351937
Mr.alrikssonParticipantThanks
January 31, 2017 at 5:12 am #1352085
ThaiModeratorYou’re most welcome 🙂
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1341612 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
