WordPress.org

Ready to get started?Download WordPress

Forums

Replacing site-title with an image in Absolum (5 posts)

  1. purplenaartjie
    Member
    Posted 2 years ago #

    Hi,

    http://www.westeuston.org

    I've used the following in style.css to place an image where the site-title was but it only shows the image on my homepage, not on any posts or pages. I'd like it to be the standard replacement for my site-title on every page/post. Should I be editing header.php and/or page.php and single.php?

    /* =Header
    -------------------------------------------------------------- */

    #header {
    padding: 10px 0 0 0;
    }
    h1#site-title {
    background: url("http://www.westeuston.org/wp-content/uploads/2011/06/lOGO-CC00CC.jpg") no-repeat scroll 0 0 transparent;
    color: transparent;
    height: 130px;
    width: 909px;
    }

  2. purplenaartjie
    Member
    Posted 2 years ago #

    Ok, I worked it out, phew! Here's what I did:

    #site-title {
    float: left;
    font-size: 0px;
    line-height: 60px;
    margin: 0 0 0px 0;
    width: 910px;
    background: url(images/logo-big.png) no-repeat 0 0;
    }

  3. 4our2cents
    Member
    Posted 2 years ago #

    I have been wanting to do the same thing. I tried what you ahve listed but it is not working at all for me. do I need to put in the css from both your posts. Also, I want to remove the rss icon from my header. Any ideas on that one?

  4. steve21
    Member
    Posted 2 years ago #

    Hello,

    I am also trying to change this text to a customized png image using the Absolum theme. I am having some issues. Site-title is what needs to be replaced.

    The header.php has this:

    <div id="blog-title-holder">
    <?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
    <<?php echo $heading_tag; ?> id="site-title">
    <span>

    [Please post code or markup snippets between backticks or use the code button.]

    The css has this:

    [CSS moderated as per the Forum Rules. Please just post a link to your site.]

    Any help would be appreciated.

    This theme is a one of the ones offered through wordpress's backend interface.

    Thank you.

    -Steve

  5. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Please post a new topic and provide a link to your site.

Topic Closed

This topic has been closed to new replies.

About this Topic