Support » Theme: Quark » Moving front page banner

  • Resolved stevennguyen194

    (@stevennguyen194)


    I was wondering if there’s any way to move the banner. I currently have a slider after the header materials and would like the banner to be placed under the slider instead of above.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)
  • There is indeed.
    (Make sure you either have a child theme in the works or a backup of whatever files you tinker with BEFORE you tinker with them.)

    Inside your header.php you’ll find everything you’re looking for.

    <div id=”headercontainer”>
    everything that makes up this Div
    </div> <!– /#headercontainer –>

    <div id=”bannercontainer”>
    everything that makes up this Div
    </div> <!– /#bannercontainer –>

    If you just cut the entire <div id=”bannercontainer”> div set, everything inside of it, through </div> <!– /#bannercontainer –>
    and paste it above <div id=”headercontainer”>
    You’ll have a great start.

    Thread Starter stevennguyen194

    (@stevennguyen194)

    Hi DFranzwa,

    Thank you for the reply. I did what you told me and I was able to move the banner successfully above the header so that’s good. What I want to do is to move the banner below the main content area, for some reason the header.php file doesn’t have a closing php line and when I include one it messes with the formatting of the website. If I copy the bannercontainer below the main content area anyways, it still stays just below the header.

    Have you got a url you can share? I’d be happy to take a look at it.

    Theme Author Anthony Hortin

    (@ahortin)

    The default header.php file in Quark is a mix of php and html and all the opening php tags have a matching closing tag. The opening php tag (ie. the one at the very top of the file) has a matching closing tag just before the doctype (a few lines below it).

    It sounds like when you’ve copy ‘n pasted code, you’ve inadvertently missed either an opening or closing tag yourself.

    Anthony,

    I’ve been meaning to stop by and offer my kudos for this nice theme. You’ve done some excellent commenting on the backend, which is ALWAYS appreciated.

    Thanks again, Dave

    Theme Author Anthony Hortin

    (@ahortin)

    Thanks Dave. I appreciate that. I tried to make it as easy as possible for people who wanted to make changes to it 🙂

    Thread Starter stevennguyen194

    (@stevennguyen194)

    I unfortunately can’t post a link since you won’t have access to it. I’m working on this website as a side project for a company I’m in and they keep it restricted on their server. I think I have enough information to work from here thank you!

    But I have another quick question, I can’t seem to change the colors of the header and main content area individually. Anytime I try to mess with the CSS nothing changes. Any idea?

    Thread Starter stevennguyen194

    (@stevennguyen194)

    Nevermind got it! Thank you again 🙂

    Glad you got it worked out, and you’re welcome.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Moving front page banner’ is closed to new replies.