Title: Random Header Images: How?
Last modified: August 30, 2016

---

# Random Header Images: How?

 *  Resolved [Fyurie](https://wordpress.org/support/users/fyurie/)
 * (@fyurie)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/random-header-images-how/)
 * Hey, had a browse and didn’t see anything concrete about it being asked already,
   so here goes.
 * Does Hiero contain any support for randomized header images? I was under the 
   impression it did when i set an older version up a while ago, but has since been
   updated and i don’t see this functionality anywhere.
 * If it isn’t there, a way for me to do so would be greatly appreciated. If you
   do post a method, please be aware that I’m not amazingly webdev-savvy, try to
   be simple in your descriptions or I’ll get lost. ;_;

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327467)
 * Hi Fyurie,
 * I have been using this theme for over an year now and dont remember of any such
   feature.
 * but one can always customize the theme.
 * can you please share a link to your site for us to have a look?
 * Thanks
 *  Thread Starter [Fyurie](https://wordpress.org/support/users/fyurie/)
 * (@fyurie)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327472)
 * Perhaps I’m just going mad then.
 * [https://www.goodjobmedia.com/](https://www.goodjobmedia.com/)
 * Nothing too special going on, is the latest version of Hiero plus some minor 
   CSS tweaks for colors etc.
 *  [Peti_](https://wordpress.org/support/users/peti_/)
 * (@peti_)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327517)
 * I need this too.
    How can i add an image (not logo) and replace the black backgroung
   of the header?
 * Or do you know any free theme that supports this?
 * Thanks
 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327520)
 * [@fyurie](https://wordpress.org/support/users/fyurie/) can you please explain
   how do or where do you need the image? an pictorial representation would be great
 * [@peti_](https://wordpress.org/support/users/peti_/) you can add any image in
   the logo section, only i will advice you to make sure the width of the image 
   is less than or equal to 980px. Also please create new threads for new issues.
 * Thanks
 *  [Peti_](https://wordpress.org/support/users/peti_/)
 * (@peti_)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327521)
 * I dont want to replace the logo but the black background behind the logo with
   an image.
 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327522)
 * Can you share a link to your site?
 * Thanks
 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327523)
 * Hi Peti,
 * You can use a background image by the following steps.
 * First upload an image to the media gallery and get the file url of the image 
   and then add the following css to the bottom of style.css file.
 * `background-image: url("http://localhost/Others/wordpress/wordpress391/wp-content/
   uploads/2014/08/cover-01.jpg");`
 * I would advice you to make changes using [child theme](http://codex.wordpress.org/Child_Themes).
 * Hope it helps!!
 * Thanks
 *  Thread Starter [Fyurie](https://wordpress.org/support/users/fyurie/)
 * (@fyurie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327524)
 * [@maruti](https://wordpress.org/support/users/maruti/) Mohanty
    I’ve since gotten
   my problem solved by a webdev-savvy friend who ended up taking the random header
   image functionality from another theme using the same framework and hacking it
   into the Hiero theme.
 * I could try and write something up for future searchers, but I can’t guarantee
   my series of events will get the correct/intended results.
 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327525)
 * Hi Fyurie
 * I checked your site and it looks like the image is added from the **Appearance**
   >> **cutomize** >> **general** >> **Upload a logo** which is available by default
   with the theme.
 *  Thread Starter [Fyurie](https://wordpress.org/support/users/fyurie/)
 * (@fyurie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327526)
 * The fact that it now randomizes when you refresh/load a new page is not default
   behavior, though, Maruti.
 *  [Peti_](https://wordpress.org/support/users/peti_/)
 * (@peti_)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327527)
 * [@maruti](https://wordpress.org/support/users/maruti/)
 * I just wanted to change the background of the header (to an image), but your 
   code helped me to do that.
 * Thanks
 *  [Maruti Mohanty](https://wordpress.org/support/users/marutim/)
 * (@marutim)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327528)
 * [@fyurie](https://wordpress.org/support/users/fyurie/) Hadnt noticed it the last
   time. can you please share the solution with us and then mark the thread resolved
   so that it helps others.
 * [@peti_](https://wordpress.org/support/users/peti_/) Glad it helped
 *  Thread Starter [Fyurie](https://wordpress.org/support/users/fyurie/)
 * (@fyurie)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327529)
 * I don’t know the exact specifics as I left it largely to him to solve, but it
   came down to taking the function for selecting a random header image from another
   theme using the same framework as Hiero and putting that code into functions.
   php and header.php in the Hiero theme.
 * I can perhaps ask him to come by and give a better response, but that’s as well
   of it that I know.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Random Header Images: How?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hiero/1.8.4/screenshot.png)
 * Hiero
 * [Support Threads](https://wordpress.org/support/theme/hiero/)
 * [Active Topics](https://wordpress.org/support/theme/hiero/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hiero/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hiero/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [Fyurie](https://wordpress.org/support/users/fyurie/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/random-header-images-how/#post-6327529)
 * Status: resolved