-
AuthorPosts
-
acac7a Friend
acac7a
- Join date:
- January 2011
- Posts:
- 10
- Downloads:
- 0
- Uploads:
- 0
- Thanks:
- 6
- Thanked:
- 2 times in 1 posts
August 26, 2014 at 2:33 pm #200810Hi,
In Ja sugite, we have two differents main menu. One, with transparent background, who disappears when the page is down. The second, with black background, who appears when we scroll up to the top the page.
I would like the second appears when the first disappears. I would like a menu is always displayed.
On the same principle as the Main menu of ja fixel.
Demo : http://www.joomlart.com/demo/#ja_fixelOr even the Main menu of Ja music
Demo : http://www.joomlart.com/demo/#ja_muzicHow to do this? Especially, how to do it “strictly” without risking losing changes to the next update of the template? If it’s possible.
Is there a documentation for this?
Thanks for your help.
swissa Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
August 26, 2014 at 2:52 pm #547315There is documentation for T3 – you might want to look at that.
There are also a fair few posts for other templates about if you do a search for ‘sticky menu’.
e.g. http://www.joomlart.com/forums/topic/sticky-or-fixed-menu/
http://www.joomlart.com/forums/topic/sticky-menu-2/
http://www.joomlart.com/forums/topic/megamenu-sticky-or-fixed-on-scroll/(When you do the edit to header.php you might want to call it header-sticky.php so that it doesn’t get overwritten)
Hope that points you in the right direction.
1 user says Thank You to swissa for this useful post
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
August 26, 2014 at 4:30 pm #547335Hello @acac7a
you can also fix the menu by this suggestion
add this css rule in your custom.css file
path: /templates/ja_sugite/css/custom.css
.scrollDown .t3-header {top= 0;}
.scrollDown .t3-header, .scrollUp .t3-header {position:fixed;}
Let me know if it helps
1 user says Thank You to Pankaj Sharma for this useful post
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 20, 2014 at 2:38 pm #550242<em>@cweh 446659 wrote:</em><blockquote>hi pankajsharma,
loofing for the same thing as acac7a. unfortunatelly the css code didnt work 🙁tried chavans solution from this thread too but it didnt work aswell -> LINK
.ja-slideshow { margin-top:84px; }
do you have another idea?
</blockquote>Hi there is no need to do so many custom work to fix the main menu bar .
Please try the solution give by me in POst #3 Above .
If its not working please share your site url with me . I will Help youPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 22, 2014 at 4:37 am #550335Hello i checked your site , It seems either you have not cleared your site cache or you applied other changes for the same issue .
if you applied any other changes for fixed the main nav. please revert it and PM me your admin details . I will fix it directly on your site and let you know all changes here .September 30, 2014 at 10:57 am #551155sorry for late respone… you got a pm.
thx,
cwehPankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
September 30, 2014 at 11:39 am #551160<em>@cweh 447843 wrote:</em><blockquote>sorry for late respone… you got a pm.
thx,
cweh</blockquote>Hello I fixed it Directly on your site .Here are the changes .
I created a custom.css file in your css/themes/blue/custom.css
so that it will work only for this theme .
added code
.scrollDown .t3-header{top:0px}
.scrollDown .t3-header, .scrollUp .t3-header { position:fixed; }
now i added this code
<file>css/themes/blue/custom.css</file>
in /etc/assets.xml in template folder and i added this code to call custom.css file on frontend .Now its working fine .please check your site now . your menu is fixed .:D
1 user says Thank You to Pankaj Sharma for this useful post
October 1, 2014 at 2:54 pm #551366works fine, thx, but i didnt understand it 🙂
i added the code in the “normal” custom.css file, but that didnt work, cause i useed the blue theme, is that right?but now it works in all themes? or only in the blue?
can i add a custom.css file in the css folder for other changes?ist it possible to add a custom.css to all themes (a single file for each theme)
and get rid of the assets.xml change? caus when joomlart relase an update the changes are gone, right?Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
October 2, 2014 at 4:06 am #551470Hi Cweh
Yes you can create custom.css file in your /css folder .
It will work of all the template themes . Actually The custom.css added by you not working because of some issue in syntax errors there .
For the safe method i added it to the template folder .
When there is an update all custom files are override , But now T3 has a functionality that make it easy .
you can edit the template.css file and other files by creating there override in the template/Local folder .
Here is the complete guide of itHope it helps you .
-
AuthorPosts
This topic contains 11 replies, has 4 voices, and was last updated by Pankaj Sharma 10 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum