Support » Themes and Templates » changing banner

  • Hi guys, I would like to change the banner of my theme, but I can’t find it in the css/html. COuld anybody kindly let me know how to do it? I tam planning to add a sort of logo instead of the text and change the images as well
    ANy hekp much appreciated, here’s the link
    thanks a lot

Viewing 11 replies - 1 through 11 (of 11 total)
  • do you have a link to the site?
    which theme are you using?
    typically you will change this in the appearance > header area

    courtney brazley

    oh apologies, I thought i included the link, here it is

    the images are in …/twentyeleven/images/headers/

    this is a set of banners , one is chosen at random on every page load.

    ok, so if I remove all the images from there and add my own, that will sort everything out without breaking anything yeah? Also something related to this, I have noticed that the images in my header have all an absolute path and not relative as I would have expected. Is there a reason for that?

    also, there are other things I would like to change in the banner, like removing the link from the text. Where is this info stored?



    Forum Moderator

    you can add custom headers under:

    dashboard – appearance – header – Select Image

    or for a specific page or post, add a ‘featured image’ with minimum dimensions of 1000 * 288 px to that page or post

    the link on your site title is coded in header.php;
    (add a copy of header.php into the child theme and edit it there)


    <h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></span></h1>

    to remove the link, change to:

    <h1 id="site-title"><span><?php bloginfo( 'name' ); ?></span></h1>

    thanks fantastic, but when I change the line, the h1 style disappear, leaving me with this



    Forum Moderator

    what was styled before was #site-title a { … };

    now that you removed the link, the styling goes back to the default style for h1 – which is a small black font.

    to replicate the formatting of the linked site title for your unlinked site title, add this to style.css of your child theme:

    h1#site-title span {
    	color: #009900;
    	font-size: 30px;
    	font-weight: bold;
    	line-height: 36px;
    	text-decoration: none;

    Oh I see what you mean, thanks. I will add your css rule on. One thing though, why is the h1 style defaulted to a small black font? Shouldn’t it be a proper h1by default?



    Forum Moderator

    why is the h1 style defaulted to a small black font?

    because that is what is done in the ‘reset’ section at the top of style.css.

    thanks alchymyth, very helpful : – )

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘changing banner’ is closed to new replies.