Jump to content

innocence

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by innocence

  1. On 3/17/2015 at 5:15 PM, vekia said:

    use this js snippet:
     

    $(window).scroll(function(){
          if ($(this).scrollTop() > 135) {
              $('#pts-mainnav').addClass('fixed');
          } else {
              $('#pts-mainnav').removeClass('fixed');
          }
      });

    and in css styles define class "fixed"

     

    .fixed {
    position:fixed!important;
    z-index:9999;
    width:100%;
    margin:0px;
    top:0px;
    }

    it will work in that way then:

    thank you for this solution

    when you are using classic theme modify 

    theme.js

    and theme.css

     

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More