• I’m using Whitehouse theme. It’s just a white background now with text, and I’d like to add an image in the header.

    I can’t just swap out images, since there is no image there now. Whitehouse deliberately made their css extremely confusing so people would pay for help. I’m thrifty, however.

    Is there a simple way I can add it in css or in header.php so as not to go digging in functions? I’ve tried many variations of #header background: url(img/collage.jpg)which don’t do anything. Thanks so much. https://donnabarstow.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Have you tried appearance > header under your admin menu? Normally you should be able to add a header image there since your theme has the tag ‘custom-header’.

    Thread Starter Drawer2

    (@drawer2)

    Littlebigthing, I know, that should work, right? But although it does say custom-header, that’s only for PAYING members, I guess. I can see that in my Header.php, but can’t see how to bypass it.

    Can someone see how to bypass the pagelines block there, so I can insert an image?
    `<div id=”header” class=”fix”>
    <div class=”content fix”>
    <div class=”headline”>
    <?php if(pagelines(‘custom_header’)):?>
    <a class=”home” href=”<?php echo get_settings(‘home’); ?>/” title=”<?php bloginfo(‘name’);?>”><img src=”<?php echo pagelines(‘custom_header’);?>” alt=”<?php bloginfo(‘name’);?>” /></a>
    <?php else:?>
    <h1 class=”site-title”><a class=”home” href=”<?php echo get_settings(‘home’); ?>/” title=”<?php _e(‘Home’,TDOMAIN);?>”><?php bloginfo(‘name’);?></a></h1>
    <h6 class=”site-description”><?php bloginfo(‘description’);?></h6>
    <?php endif;?>
    </div>`

    Where did you get the theme? There is an old outdated one from here but has been updated in over two years. If from another source, you need to ask them for support as this forum supports themes from WPORG only. If using that old theme, I suggest you find another.

    Edit: Seems it is Pagelines. You need to contact them.

    Thread Starter Drawer2

    (@drawer2)

    Hello, Pioneer Valley Web Design member. The theme is Whitehouse, and I got it here on wp.org, yes. I have already done a lot of work to make it work for me. This is the last step. I would like to keep it if I can add a header. Do you have any suggestion how?

    Add to stylesheet;
    #header{background:url(imageurl) 0 0 no-repeat;}
    Adjust attributes to suit.

    Just to follow up

    1. No theme found here would require that you pay to add a header. That would violate the license terms a theme must include to be listed here.
    2. If you were using the theme listed here (which really is not as it is so out of date, see: https://www.ads-software.com/themes/search.php?q=Whitehouse – a search for the theme does not find it but a search on Google ‘WordPress Theme Whitehouse’ does: //www.ads-software.com/themes/whitehouse but that theme notes:

    This theme hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    Last Updated: 2010-06-08

    So: You still need to ask PageLines about this theme. You could try here:
    https://www.ads-software.com/support/theme/whitehouse

    but nothing in last two years there, so I would head over to pagelines and ask there:

    The url at WPORG for this theme (//www.pagelines.com/themes/whitehousepro) is redirecting to:

    //www.pagelines.com/whitehousepro-version-3-released/

    A mod should probably review that.

    Thread Starter Drawer2

    (@drawer2)

    Thank you, Pioneer.

    It’s peculiar, the entire site for pagelines.com appears to be down, yet they have 30,000 followers on Twitter. I messaged them there and on Facebook.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to add background image to header that is blank now’ is closed to new replies.