Forums

[resolved] get_footer ($name) isn't working for me... (4 posts)

  1. cmonk
    Member
    Posted 2 weeks ago #

    Hey all --

    I'm working on a website and having troubles with the home.php page. All of my other Pages on the site have a blue background, but the front page is white. When I do the normal get_footer command, I add a little rounded image to the bottom of the Content block, making it look nice.

    When, however, I do the command on the home.php page, it give me the blue where it should be white.

    I have created a new PHP page called footer-special.php and uploaded it correctly. The code inside is here.

    Now, on my home.php page, I changed the get_footer to:
    <?php get_footer ( $special ); ?>

    Nothing is changing for me.

    Also, in the style.css, I added a new value(?) entitled 'footerhome' where I change the location of the image to look correct.

    If you'd like to look at the site if I haven't described the problem well enough, you can find it here.

    Thanks a million for your help!

  2. kkarpieszuk
    Member
    Posted 2 weeks ago #

    <?php get_footer ('special'); ?>

  3. mirch
    Member
    Posted 2 weeks ago #

    thanks kkarpieszuk

  4. cmonk
    Member
    Posted 2 weeks ago #

    Thank you!

Reply

You must log in to post.

About this Topic

Tags

No tags yet.