-
AuthorPosts
-
June 23, 2015 at 10:40 am #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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 24, 2015 at 3:17 am #575291Hi
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 24, 2015 at 3:17 am #641621Hi
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 ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
June 24, 2015 at 3:17 am #740283Hi
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;
}
-
AuthorPosts
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