Coolest Guides on the Planet

coolest guides on the planet

Coolest Guides On The Planet

  • Home
  • macOS
  • WebDev
  • All Posts
  • Contact

How to change the header size in Twenty Eleven and Twenty Ten

November 13, 2011 Leave a Comment

To change the the size in width or height or both of the header of  Twenty Eleven or Twenty Ten theme in WordPress you need to edit the ‘functions.php’ file in your theme or child theme – the preference is to make a child theme and create/change the  functions.php file in there.

The reason for this is that if the main theme is updated you will lose your custom changes.

The functions file can be found as below:

/public_html/wp-content/themes/twentyeleven/functions.php
/public_html/wp-content/themes/childthemeoftwentyeleven/functions.php

Add in the content below:

<?php
 
// The height and width of your header.
define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) );
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 130 ) );
 
?>

What you need to change is the pixel dimensions for your required height and width. Now you can create a graphic to those dimensions and upload it through the front end WordPress interface.

Appearance > Header

twenty-eleven-header-change-size

twenty-eleven-header-change-size

Cats: Tech, WordPress

Tags

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls

Donate a Beer to the Coolest Guides

Get Beaver Builder Now!

Discuss

3gs 10.6 apache backup baseband boot clean urls cpanel css curl custom database drupal el capitan git Google image instadmg ios iphone jailbreak keys lion mac macos mojave macos sierra menu mysql OSX panda php phpmyadmin private public redirect redsn0w remote rsa SEO shell ssh terminal unstoppables upgrade urls
Get DesktopServer

Lynda

Lynda.com Online Training Videos

TreeHouse

smlinks

Learn WordPress
osx-modify-shell-path

How to Add to the Shell Path in macOS Big Sur and Catalina using Terminal

October 19, 2019

virtual-hosts osx 10.10 yosemite

Set up Virtual Hosts on macOS Catalina 10.15 in Apache

October 19, 2019

Installing Homebrew on macOS Catalina 10.15, Package Manager for Linux Apps

October 18, 2019

Where is the bash shell in macos Catalina?

October 12, 2019

Refine your search

  • All
  • Modules
  • Themes
  • Documentation
  • Forums & Issues
  • Groups

RSS ars technica

  • Apple takes Epic fight over app store fees to the Supreme Court
  • Russian citizens told "switch to Android" after Apple blocks key Russian apps
  • Apple ratchets up prices, blames the cost of memory
  • Apple patches high-severity eavesdropping vulnerability in Beats Studio Buds
  • 20 years of Intel Macs: Why Apple switched, and why it switched again

RSS mac surfer

  • iOS 27 Beta Code Hints at Camera AirPods, AirPods Ultra
  • Apple Watch Series 12 Rumored to Add Health Sensor in Band
  • Apple Suspends Camera AirPods Development: Report
  • Apple Seeks Dismissal of YouTube Channels AI Lawsuit
  • Jon Prosser Fires Back at Apple, Blames Co-Defendant

Donate

Copyright © 2026· Neil Gee - All Rights Reserved - Hosted by Runcloud

Copyright © 2026 · gee on Genesis Framework · WordPress · Log in