Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter vitamincee

    (@vitamincee)

    I found a (fairly hacky) solution for this if anyone else wants it!

    I wrote a jQuery script to move the div to another place:

    jQuery(document).ready(function($){
    $(“#catapult-cookie-bar”).prependTo(“#whatever-div-you-need-to-move-it-to”);
    });

    (you can also use append if prepend isn’t want you want)

    I also made some changes to my CSS:

    #catapult-cookie-bar {
    position: relative !important;
    }

    Gareth

    (@catapult_themes)

    Hi

    To have it display at the top, you just select ‘Top Bar’ from the Position setting in Settings > Cookie Consent > Style. You can see an example of it displayed at the top of the screen here – http://cookieconsent.catapultthemes.com/

    Thread Starter vitamincee

    (@vitamincee)

    Hi! I was looking for it to display at the top AND not be absolutely positioned. I wanted it to scroll with the page.

    Thanks for the great plugin!

    Gareth

    (@catapult_themes)

    In that case you just need to add some CSS:

    #catapult-cookie-bar {
      position: absolute;
    }

    It’s because it has a fixed position that it doesn’t scroll with the page.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘include plugin inline’ is closed to new replies.