• Hey folks,

    Here is what I would like to do. I would like to add a gmail icon with a link to my email address next to the RSS icon on my theme over at https://www.thebluntprophet.com/

    How can I accomplish this? I know its to be added in the header but I am not to much of a PHP gurur…yet !!

    Thanks in advance !

Viewing 7 replies - 1 through 7 (of 7 total)
  • Currently you have:
    <a href="https://www.thebluntprophet.com/?feed=rss2" class="feedicon"></a>

    Add something like:
    <a href="mailto:[email protected]" class="emailicon"></a>

    And update the css for the new .emailicon class.

    Thread Starter thebluntprophet

    (@thebluntprophet)

    I have done what you asked, I added to my header.php file and added the following to my css file.

    .emailicon {
    width: 35px;
    height: 35px;
    }

    #topbar .emailicon {
    background: url(“./images/gmail.png”) no-repeat;
    display: block;
    display: inline; /* IE */
    float: left;
    margin: 20px 10px 0 0;
    }

    I am still not seing this icon.

    Shouldn’t need both of those… So that’s pretty much identical to your .feedicon css?

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Yes that is identical to the feedicon. I will get rid of the CSS info and see what that does.

    Thread Starter thebluntprophet

    (@thebluntprophet)

    Still not showing when only in the header.php file.

    Thread Starter thebluntprophet

    (@thebluntprophet)

    SHowing now, thanks much all !

    Could try using the feedicon class to test (should show up as another rss icon, but will email when clicked).

    This is one of those times you need to get your head around why it is not working in your particular setup.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Adding a link/image’ is closed to new replies.