-
AuthorPosts
-
relsig Friend
relsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
June 11, 2015 at 7:49 pm #207260Hello
I’m trying to setup the fixed menu in my template. I have a page with the same setup running just fine. For this page I added all the custom.css styles doing so every thing looked ok. As the last thing I changed the class used in header.php line 41 to <div id=”t3-mainnav” class=”t3-mainnav navbar-fixed-top navbar-collapse-fixed-top”>
This makes the menu go to the very left.
I must probably be missing something but I can’t find the problem.Here is the content of my custom.css file
[PHP]
.ja-zinfp-featured .ja-zincontent-wrap.active { /*news module*/
display: block !important;
}/*The picture of the slide show has to be full width*/
.ja-ss-item img {
width: 100%;
}.ja-slideshow .container {
padding-top: 10px; /*slideshow has padding of 10 from menu bar*/
}.ja-ss-desc {
top: 65%; /*65% from the top for the description box*/
width: 40%;
height:30%;
padding: 10px;
}.head-search .search-query { /*search button in same line as the input box*/
float: left;
margin-right: 2px;
border-radius: 0;
width:80px;
}.head-search .finder{
display:block !important;
}.t3-megamenu .dropdown-menu .mega-nav li > a { /*font in megamenu has to be dark grey and add a little padding*/
border-top: 1px solid #eee
color: #666
display: block;
line-height: 20px;
padding: 5px 20px;
}.t3-megamenu .dropdown-menu .mega-nav { /*font in megamenu has to be dark grey and add a little padding*/
margin-left: 4px;
}@media (min-width: 768px) {
.navbar-collapse-fixed-top {
position: fixed;
width: 100%;
z-index: 1000;
}section.wrap.ja-slideshow {
padding-top: 71px;
}
section.wrap.ja-masshead {
padding-top: 71px;
}
}.back-to-top i {
color: #fff
}#back-to-top .btn {
color: #000 !important;
height: 40px;
margin-right:15px;
}#back-to-top {
bottom: 15px;
display: block;
position: fixed;
right:0;
}.fa-fw {
text-align: left;
width: 2.5 em;
}@media (max-width: 767px) {
.ja-header .ja-logo {
left: 50px !important;
}.t3-mainnav .navbar .btn-navbar {
margin: 5px 5px 0px !important;
}.head-search .search-query {
width: 55px !important;
float: left;
}.head-search .finder {
margin-right: 0px !important;
}.ja-header .ja-logo {
left: 50px !important;
}.ja-header .ja-logo .logo-image img {
width: 60%;
margin-top: 5px !important;
}.ja-header .ja-search {
right: 0px !important;
}.head-search .finder .btn {
float: left;
}
}
[/PHP]Can you give me a hint?
Thanks
Roger
-
TomC Moderator
TomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 11, 2015 at 8:01 pm #573749How are you wanting it to display?
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 11, 2015 at 8:01 pm #738763How are you wanting it to display?
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
June 11, 2015 at 8:59 pm #573751See picture menu correct. Menu in between logo and search head.
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
June 11, 2015 at 8:59 pm #738765See picture menu correct. Menu in between logo and search head.
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 11, 2015 at 9:03 pm #573752It would also be helpful if you could provide the url of the site you’re working on. 🙂
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
June 11, 2015 at 9:03 pm #738766It would also be helpful if you could provide the url of the site you’re working on. 🙂
relsig Friendrelsig
- Join date:
- October 2007
- Posts:
- 218
- Downloads:
- 22
- Uploads:
- 61
- Thanks:
- 16
- Thanked:
- 10 times in 3 posts
June 12, 2015 at 1:48 pm #573846Hello
I’m sorry, I couldn’t remember, that I had this problem before. I will therefore close this thread.
http://www.joomlart.com/forums/topic/sticky-menu-positioning/
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 2 voices, and was last updated by TomC 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum