• Resolved ToOSk3tChY

    (@toosk3tchy)


    Hello all,

    It’s worth saying first, I am only a few weeks into ever touching wordpress but I am very slowly getting to grips with it all. My php writing skills are pretty much non existent but I’m happy to give it a go. I am an amateur at CSS and HTML as I have run a free forum since Jan, but this has mainly consisted of editing pre written layouts, nothing from scratch.

    So…
    I am attempting to move my site to something better looking and overall more professional and I am struggling with a couple of simple things on my WP home page.

    I’m using the ‘Sydney’ theme and basically want a fixed header at the top and fixed footer at the bottom. In the middle I want a full width image slider with the ability to put an overlay(faded grey or something) over the images.

    I have the images setup and my footer but it all seems to be in my header and so I can’t figure out how to get another header at the top, the site name/logo and menu are floating on top of the image. The footer is also too large in height. I only want 2 things in there and so it’s much too big right now.

    I can link my site so you can all see but I’m not certain if that’s wise so I’ll leave it for now but I can imagine it would be easier for someone to see what I mean. I could also draw up a plan of how I want it to look if needs be.

    Thank you
    Paul

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ToOSk3tChY

    (@toosk3tchy)

    Regarding the title I am basically asking is it best to aim for 2 headers or try and get the image slider in the main part of the page?

    yes u have add multiple header.

    First copy header.php and give any name after header text with -.
    Like and add your slider code on copyfile.

    header-custom.php  so call on file <?php get_header('custom');?>
    header-slider.php  so call on file <?php get_header('slider');?>

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    Thank you Ravi,

    Creating the copy file was easy but then because I have changed created new names WP is still looking for old names.

    What did I need to do next? Apologies I am a novice remember

    Thank you
    Paul

    Hii please remember one this you can any name given this file but before your name required a header- word then your name.

    so now header-{{yourname}}. so call using this function

    <?php get_header('{{just your name which u have assign}}');?>

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    ?? looks like I just screwed my site

    dear me I don’t get this.

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    I didn’t have a clue where to put the call to function so…

    I went to dashboard
    appearance
    editor

    There was already a custom-header.php file there as well as header.php so I just copied the contents of header.php into custom-header.php

    I hit update file

    now it wont load my page

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    restored. Thank goodness

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    @ravi

    finally found out how to do the above and it didn’t work

    not resolved

    Thread Starter ToOSk3tChY

    (@toosk3tchy)

    The original header.php doesn’t pick up when renamed

    The new header-custom doesn’t pick up at all.

    I found the call to php in the home.php file and this was exact. Not an issue with that

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘2 headers or index?’ is closed to new replies.