L.S.

I've updated my site to Joomla 4 and installed the latest version of GK Dekor for Joomla 4.

When I select fixedmenu in the template settings the menu on desktop is not fixed to the top. I use the classical style, which should support fixed.

Am I doing something wrong or is it a bug?

best regards, Marie-Anne

    larotonde Hi

    Let me consult with our GK team about this sticky feature and get back to you.

    UPDATE:

    We fixed this issue, you can update 2 files into your site:

    1: File: [your_site_root]/templates/gk_decor/layouts/default.php

    Line 96:

    <div id="gkBg">

    change to:

    <div id="gkBg" class="<?php if($this->API->get('menu_fixed', 0)) echo 'header-sticky'; ?>">

    2: File: [your_site_root]/templates/gk_decor/css/template.css

    add this css rule:

    html.j4 #gkBg.header-sticky {
      padding-top: 0;
    }
    html.j4 #gkBg.header-sticky #gkHeader {
      position: sticky;
    }

    This fix will be included in the next release of this template as well.

    Regards

    Write a Reply...
    You need to Login to view replies.