• Resolved flitaly

    (@flitaly)


    Hello,
    I would like simple banner to be fixed on top of all pages above the header.
    However, if set to “fixed”, simple banner covers the header in all pages.
    I’ve tried one of the solutions already provided, but none worked for my theme.
    Thank you very much for your help!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author rpetersen29

    (@rpetersen29)

    Hi @flitaly
    In Simple Banner Custom CSS .simple-banner-scrolling box put:

    position: fixed;
    

    And in Website Custom Javascript put:

    document.addEventListener('DOMContentLoaded', function(){
      var style = document.createElement("style");
    
      style.appendChild(document.createTextNode(".fixto-fixed{ top: " + document.getElementById('simple-banner').clientHeight + "px !important;}"));
      document.head.appendChild(style);
    }, false);
    
Viewing 1 replies (of 1 total)
  • The topic ‘Banner covering header’ is closed to new replies.