Theme Updated – Center Logo Child CSS/Function No Longer Works
-
Hi All!
I had my site up using the previous version of the Customizr Theme. I just applied the theme update and the code snippets I applied to my Child Theme CSS and Functions files are no longer centering the logo and allowing for it to go full width.
Here is the site: https://www.arcamidwest.com.
It looks like despite the code snippets, the logo is still being forced into the 250 by 100 dimensions that are utilized in the logo upload feature of Customiz’it!.
Here’s the snippet I am using in the CSS:
/* Tagline shouldn't be displayed at all */ .inside.site-description {display:none;} /* Centers the logo (function custom_center_brand) */ .brand.span10.offset1 { float: none; } /* Center the Tagline feature but don't display it */ .tc-header .outside { display: none; text-align: center; }
Here’s the snippet I am using in the functions:
//Center Header Block Items: // center the logo by switching TBs classes on brand div: add_filter('tc_logo_title_display', 'custom_center_brand'); function custom_center_brand($output) { return preg_replace('/brand span3/', 'brand span10', $output); } // prevent the output of tc_social_in_header: add_filter('tc_social_in_header', 'prevent_social_in_header'); function prevent_social_in_header($output) { return; }
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Theme Updated – Center Logo Child CSS/Function No Longer Works’ is closed to new replies.