• Im new to WordPress. I was using Blogger, which took me 2 years to realize how much they suck. I’m liking WordPress a lot more, but I’m getting hung up on a few things.

    First of all, it took me about 2 hours to figure out how to add my own banner to my current theme. I just went into the page code, and pasted it where I wanted.

    When I click it, it takes me to a 404 page. It seems that when you click the banner, it takes you to my websites link, but with this at the end “.com/>”

    When I go into the code, its very confusing, and doesnt have that at all. It looks partly like this

    <h1><a href="<?php echo get_option('home'); ?>/>"><img src=https://lh3.googleusercontent.com/_ql47M91bmBc/TXoLFNUo0vI/AAAAAAAADfc/fzDUJjHJSEA/brokeboysboxers2011.jpg><?php bloginfo('name'); ?></a></h1>

    Anyone have any idea how I can fix this, and move the banner up a little bit?

Viewing 6 replies - 1 through 6 (of 6 total)
  • can you post a link to your site to illustrate your problem?

    Thread Starter MiKEyo

    (@mikeyo)

    in your posted section of code,

    try and remove > from this bit of code (the one directly after the / ):

    <h1><a href="<?php echo get_option('home'); ?>/>">

    so this bit would look like:

    <h1><a href="<?php echo get_option('home'); ?>/">

    Thread Starter MiKEyo

    (@mikeyo)

    Works, thank you!!

    Now how do I move it up? It seems that I could use line breaks to move it down, but what about up?

    in style.css of your theme (not quite half way down):

    /*-------------------------------
    START headers
    -------------------------------*/
    
    h1 {
    	padding-top: 115px;
    	margin: 0;
    	}

    change the padding-top value.

    if this is too general, and has side effects in other parts of your site, add a new line below the above style; for instance:

    #header h1 { padding-top: 60px; }

    Thread Starter MiKEyo

    (@mikeyo)

    Thanks!!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘NSFW Banner link not redirecting right….’ is closed to new replies.