Last active
August 10, 2021 00:11
-
-
Save KaineLabs/561e4b99ae7c315a2c5dbffebd9f6958 to your computer and use it in GitHub Desktop.
Youzify - Disable Directories Header
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Disable Directories Header. | |
add_filter( 'youzify_show_directories_header', '__return_false' ); | |
/** | |
* Add CSS. | |
*/ | |
add_action( 'wp_head', 'yzc_add_members_directory_css' ); | |
function yzc_add_members_directory_css() { | |
?> | |
<style type="text/css"> | |
@media screen and (max-width: 768px) { | |
.youzify-directory .youzify-mobile-nav .youzify-mobile-nav-item { | |
width: 33.33%; | |
} | |
} | |
</style> | |
<?php | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment