Tagged: x
-
AuthorPosts
-
April 9, 2016 at 1:12 pm #874379
Hi Theme-X!
I’m trying to add an image next to my header logo, but when adding the below code to my child theme; x/framework/views/global/_brand.php the main logo appears twice instead of once. Any idea why?
Thanks!
<?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 = ‘‘;
?>
<?php echo ( is_front_page() ) ? ‘<h1 class=”visually-hidden”>’ . $site_name . ‘</h1>’ : ”; ?>
April 10, 2016 at 1:41 am #874881Hey there,
Regretfully we cannot support any modifications to the header other than minor cosmetic changes due to the fact that X is a highly dynamic theme with many elements being constructed on the fly based on options in the Customizer. Among these, the header is one of the more complex elements of the theme and structural modifications to it will likely lead to numerous layout problems as there are a lot of things to take into consideration because of X’s responsive nature. Taking all of this into consideration, these types of updates are out of the scope of our support as their involvement is simply too great. While we would love to be able to assist all of our users with every customization request, the simple reality is that we cannot cater to every inquiry. Additionally, we will not be able to support any issues that might arise from modifications made to this area on your own.
Thank you for your understanding.
April 10, 2016 at 10:50 am #875282Absolutely!
Thanks for letting me know.
April 10, 2016 at 10:12 pm #875830You are most welcome!
-
AuthorPosts