Skip to main content
kineticcreative123
Inspiring
August 27, 2018
Answered

Responsive footer - Need help setting stacking order.

  • August 27, 2018
  • 3 replies
  • 1030 views

Hey all,

Below is a page I'm working on. How can I set the stacking order of each block? for instance I would like both secondary nav sections to be at top and so on.

One more question... Is there a way to get the bootstrap button at the bottom to align better with the vertical line when media size changes?

Thanks in advance for any help!!

Here is the link:

Executive Insights from Premier – Spring Edition

    This topic has been closed for replies.
    Correct answer osgood_

    Seriously, that code is a crock of shite.......hummm I'm losing the will to live here. Anyway I digress.

    If you find the media query code (see below) in your page and alter it as shown your divs will re-order themselves at tablet size.

    /* If you don't want the footer to be responsive, remove these media queries */

    @media (max-width: 880px) {

    .footer-distributed{

    display: flex;

    flex-direction: column;

    font: bold 14px sans-serif;

    }

    .footer-nav {

    order: 3;

    }

    .footer-left {

    order: 4;

    }

    .footer-address {

    order: 5;

    }

    .top {

    order: 6;

    }

    You also need to add the 'top' class to your center tag (see below) for your back to top image in the footer, not sure why your using the <center> tag, my head is spinning.....I guess these frameworks or whatever school of learning are real progress.

    <center class="top">

    <img style="margin:0 auto;display:block;margin-top:45px;margin-bottom:10px;padding-left:8px;" src="http://offers.premierinc.com/rs/381-NBB-525/images/scroll.png" alt="LineItemDetails" height="40" width="40"></center>

    3 replies

    Nancy OShea
    Community Expert
    Community Expert
    August 27, 2018

    Fix your code errors, you have some critical ones starting with 2 doc types and <html> tags on or around line 106.  Doctype and <html> tags must go at the very top of your page.   Plus many more...

    Showing results for http://explore.premierinc.com/exec-communication-temp - Nu Html Checker

    I can't say I'm wild about the code you're using.  It almost makes Muse generated code look really good (sarcasm).

    Nancy O'Shea— Product User & Community Expert
    kineticcreative123
    Inspiring
    August 27, 2018

    Ya that code is generated by the platform. I know it's wacky. These are the people: ion interactive Content Marketing Solutions

    I used Muse once. Thats too funny. And I mean once. Worst piece of software ever built. EVER.

    osgood_Correct answer
    Legend
    August 27, 2018

    Seriously, that code is a crock of shite.......hummm I'm losing the will to live here. Anyway I digress.

    If you find the media query code (see below) in your page and alter it as shown your divs will re-order themselves at tablet size.

    /* If you don't want the footer to be responsive, remove these media queries */

    @media (max-width: 880px) {

    .footer-distributed{

    display: flex;

    flex-direction: column;

    font: bold 14px sans-serif;

    }

    .footer-nav {

    order: 3;

    }

    .footer-left {

    order: 4;

    }

    .footer-address {

    order: 5;

    }

    .top {

    order: 6;

    }

    You also need to add the 'top' class to your center tag (see below) for your back to top image in the footer, not sure why your using the <center> tag, my head is spinning.....I guess these frameworks or whatever school of learning are real progress.

    <center class="top">

    <img style="margin:0 auto;display:block;margin-top:45px;margin-bottom:10px;padding-left:8px;" src="http://offers.premierinc.com/rs/381-NBB-525/images/scroll.png" alt="LineItemDetails" height="40" width="40"></center>

    kineticcreative123
    Inspiring
    August 27, 2018

    Ya their code is a little wacky lol. Breath... Don't want you to keel over on my account. Pretty cool platform though. Take a bunch of work out of backend stuff. We mainly use them for real time interactive assessments. You can plug in all the code you want.

    I will give your suggestions a shot and get back.

    Thanks!!

    ALsp
    Legend
    August 27, 2018

    Dumb question...

    Why would you think this is a Dreamweaver support issue? Have you tried contacting the people who developed the framework you are using?

    Just curious.

    kineticcreative123
    Inspiring
    August 27, 2018

    I'm using iON Interactive. This is a "code block" I placed on the page that I wrote. So it really doesn't have anything to do with the framework. I plan on using this footer on other pages outside of iON.