test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • inviribus Friend
    #207765

    Hello is it possible to have the header sticky in Ja Hotel template

    I want to make sticky the Header so the t3-header

    That includes topbar-1, topbar-2, the logo and the main menu

    You can see my site in http://www.stellapalace/joom

    Thank you in advanced

    Saguaros Moderator
    #575291

    Hi

    Please revert any custom code for the sticky menu on your site and follow this way:
    – Open the PHP file of 2 blocks ‘topbar’ and ‘header’:
    root/templates/ja_hotel/tpls/blocks/header.php
    root/templates/ja_hotel/tpls/blocks/topbar.php

    – Add the class affix in:
    Header block:
    <header id=”t3-header” class=”wrap t3-header”>
    change it to:
    <header id=”t3-header” class=”wrap t3-header affix”>

    Topbar block:
    <div id=”t3-topbar” class=”wrap t3-topbar”>
    change it to:
    <div id=”t3-topbar” class=”wrap t3-topbar affix”>

    – Go to css file: root/templates/ja_hotel/css/custom.css (create this file if it doesn’t exist) and add this rule:


    .t3-topbar.affix .container {
    width: 100%;
    position: fixed;
    }
    .has-slideshow .t3-header.affix {
    position: fixed;
    top: 40px;
    }
    .t3-topbar {
    z-index: 2;
    }

    Saguaros Moderator
    #641621

    Hi

    Please revert any custom code for the sticky menu on your site and follow this way:
    – Open the PHP file of 2 blocks ‘topbar’ and ‘header’:
    root/templates/ja_hotel/tpls/blocks/header.php
    root/templates/ja_hotel/tpls/blocks/topbar.php

    – Add the class affix in:
    Header block:
    <header id=”t3-header” class=”wrap t3-header”>
    change it to:
    <header id=”t3-header” class=”wrap t3-header affix”>

    Topbar block:
    <div id=”t3-topbar” class=”wrap t3-topbar”>
    change it to:
    <div id=”t3-topbar” class=”wrap t3-topbar affix”>

    – Go to css file: root/templates/ja_hotel/css/custom.css (create this file if it doesn’t exist) and add this rule:


    .t3-topbar.affix .container {
    width: 100%;
    position: fixed;
    }
    .has-slideshow .t3-header.affix {
    position: fixed;
    top: 40px;
    }
    .t3-topbar {
    z-index: 2;
    }

    Saguaros Moderator
    #740283

    Hi

    Please revert any custom code for the sticky menu on your site and follow this way:
    – Open the PHP file of 2 blocks ‘topbar’ and ‘header’:
    root/templates/ja_hotel/tpls/blocks/header.php
    root/templates/ja_hotel/tpls/blocks/topbar.php

    – Add the class affix in:
    Header block:
    <header id=”t3-header” class=”wrap t3-header”>
    change it to:
    <header id=”t3-header” class=”wrap t3-header affix”>

    Topbar block:
    <div id=”t3-topbar” class=”wrap t3-topbar”>
    change it to:
    <div id=”t3-topbar” class=”wrap t3-topbar affix”>

    – Go to css file: root/templates/ja_hotel/css/custom.css (create this file if it doesn’t exist) and add this rule:


    .t3-topbar.affix .container {
    width: 100%;
    position: fixed;
    }
    .has-slideshow .t3-header.affix {
    position: fixed;
    top: 40px;
    }
    .t3-topbar {
    z-index: 2;
    }

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  Saguaros 9 years, 6 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum