• Resolved Alex

    (@alexfoksy)


    Hi everyone,

    I have such issue: I want to have in my sitetitle an image instead of text which has to be written in wp-admin interface. I managed to put an image where I want to, but when I leave the name of my blog empty in the wp-admin the name of my browsers tab shows location of the root folder like
    https://localhost/foler/blog/index.php

    and that is needed to be changed. Do you have any suggestions?
    I’m a newie in css and may be I’ve put an image inproperly.. I changed the style.css of my theme. Initially it was this way:

    #sitetitle
    a,#sitetitle a:hover{
    font-size: 5.5em;
    color:#000000;
    font-weight:bold;
    text-decoration:none;
    font-family: "Courier New";
    }

    I make it over to:

    #sitetitle {
    background:url(images/logo.png) top right no-repeat;}

    How can I leave this image and have something to be written in browsers tab name?

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Alex

    (@alexfoksy)

    I resolved this problem =))

    If someone is interested, apart of some cosmitic changes is style.css of my theme I opend header.php of current theme and removed

    <?php bloginfo('name'); ?></a>

    in the very end of the code. To be more visual here is the line I corrected:

    <div id="sitetitle"><a href="<?php echo get_option('home'); ?>/">
    <?php bloginfo('name'); ?></a></div>
    </div>

    Such removal made it possible to write whatever you want in your wp-admin interface in Blog name section and this text will not appear on your page, only in browsers tab.

    If I did something wrong or not in a proper way sorry for that. I am a beginner and have no basics of css or php and work by the hit-and-miss method. For me it worked ))

    Thread Starter Alex

    (@alexfoksy)

    Hi folks,
    actually I made one tiny mistake that can lead to some mess on your blog. Namely the line that should be removed is a little bit incorrect. Look:

    instead of
    <?php bloginfo('name'); ?></a>

    you should remove:
    <?php bloginfo('name'); ?>

    so has to remain!

    Sorry for this

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Replacing sitetitle with image’ is closed to new replies.