• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
WordPress a2z

WordPress a2z

WordPress Dynamic API Reference

  • Home
  • Plugins
  • Themes
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / twentysixteen_header_style() – Styles the header text displayed on the site.

You appear to be a bot. Output may be restricted

Description

Styles the header text displayed on the site.

Create your own twentysixteen_header_style() function to override in a child theme.

Usage

twentysixteen_header_style();

Parameters

Returns

void

Source

File name: twentysixteen/inc/customizer.php
Lines:

1 to 21 of 21
  function twentysixteen_header_style() {
    // If the header text option is untouched, let's bail.
    if ( display_header_text() ) {
      return;
    }

    // If the header text has been hidden.
    ?>
		<style type="text/css" id="twentysixteen-header-css">
		.site-branding {
			margin: 0 auto 0 0;
		}

		.site-branding .site-title,
		.site-description {
			clip: rect(1px, 1px, 1px, 1px);
			position: absolute;
		}
		</style>
		<?php
  }
 

 View on Trac

Published: 25th November 2019 | Last updated: 25th November 2019

Primary Sidebar

Information

Function name: twentysixteen_header_style
Plugin ref: Twenty Sixteen
Version: 2.8
Sourcefile: inc/customizer.php
File ref: inc/customizer.php
Deprecated?: No
API Letters: H,S,T

Footer

WordPress a2z
WordPress a2z
WordPress Dynamic API Reference
WordPress 6.1.1. PHP: 8.0.28
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wp-a2z.org
© Copyright WordPress a2z 2014-2023. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites