+ Reply to Thread
Results 1 to 3 of 3

Thread: How to stop the floating top navigation on General Flatty template?

  1. #1
    Junior Member
    Join Date
    May 2020
    Location
    Sydney, Australia
    Posts
    14

    How to stop the floating top navigation on General Flatty template?

    Hi

    As we integrate the Google Ads into our Dewalist classified website, the Google ad type that we use is the "By Site", not "by ad unit", meaning Google decided to put ad banners by itself. Sometimes, Google puts a huge banner between the logo and the top navigation. As this template - General Flatty as floating on the top navigation, it caused an issue on the content below of the top navigation. BTW, I tried to upload the screenshot and it seems not to be able to do so.

    Anyway, I posted the image on our chat website.

    See: https://dewachat.com/t/bug-on-the-dewalist-homepage/56

    My question is that is there any way we can stop this floating for this top navigation?

    I appreciated your feedback.

    Thanks
    Last edited by dcpartners; October 3, 2021 at 08:40 PM. Reason: Missing the content

  2. #2
    Hello Valdy,

    Yep, you can stop this floating for the top menu. Go to ftp://templates>>general_flatty>>js>>lib.js find method: this.stickMenu = function(mode){

    and on next line add: return;
    Save and check again.
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Junior Member
    Join Date
    May 2020
    Location
    Sydney, Australia
    Posts
    14
    Quote Originally Posted by Viktor View Post
    Hello Valdy,

    Yep, you can stop this floating for the top menu. Go to ftp://templates>>general_flatty>>js>>lib.js find method: this.stickMenu = function(mode){

    and on next line add: return;
    Save and check again.
    Perfect. Changed the code and worked well.

    Thank you, Victor

+ Reply to Thread