[resolved] <h> Issue in Sidebar (and a logo question) (6 posts)

  1. SusieN
    Posted 9 years ago #


    I have just integrated my blog to match my website, but I'm struggling with 2 things.

    1. I'm pretty unfamiliar with php and I can't figure out my sidebar <h4> issue. http://thewebdesignloft.com/blog If you look at the sidebar, "Favorite Resources" won't style as an <h4> like the other sidebar items. I've tried editing the links.php file but it doesn't work for me. I've also tried doing this in the sidebar.php file, but again, no dice. Where in the world can I change this to an <h4>? By the way, this is the default WP theme that I've customized.

    2. My logo in the blog isn't placed correctly. On the rest of my website, it's over on the right. No matter what I try, it won't move here in the blog. What am I missing?

    Thanks for any help.


  2. moshu
    Posted 9 years ago #

    1. WP is generating a h2 heading for the link categories. It's stupid, but that's how it works.
    Add to your stylesheet something like:

    .navigation h2 {
    your stuff...;}

    and style it like your h4 headings

    2. from your stylesheet:

    #masthead {
     background-image: url('images/loftlogo.jpg');
     background-repeat: no-repeat;
     width: 100%;
     background-color: #65aa69;

    Nothing tells the image to go right :)
    background-image: url('images/loftlogo.jpg') top right;

  3. SusieN
    Posted 9 years ago #

    Thank you for your reply. The sidebar <h2> issue is solved. :)

    As far as the logo....when I add top right; the logo disappears. Still confused by this...

    And one more question...what is the proper way to add a favicon to this blog? I tried to add <link rel="shortcut icon" href="images/favicon.ico"> to header.php inside the <head> tags, but it didn't work.

    Thanks again!!

  4. SusieN
    Posted 9 years ago #

    Update: I got the logo to go right by adding background-position: top right;

    Now my only problem is I need it to move down and left a bit. I will keep plugging away.


  5. SusieN
    Posted 9 years ago #

    One more update: I found out how to add the favicon:

    <link rel="shortcut icon" href="<?php bloginfo('template_directory'); ?>/favicon.ico" />

    Now I just need to figure out the positioning of the logo and I'm set! :)

  6. SusieN
    Posted 9 years ago #

    Final update. I figured the positioning out.

    Thanks again for your help. :)

Topic Closed

This topic has been closed to new replies.

About this Topic