-
AuthorPosts
-
ezaban Friend
ezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 21, 2014 at 10:24 pm #198039Hi,
I want to have a module position that sticks to the bottom and moves up and down by scrolling the page. How to define it on JA Sugite? Does it have by default?
Thanks
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 22, 2014 at 1:53 am #536148using this documentation http://www.joomlart.com/forums/topic/how-to-create-new-module-position-updated/ create a module position in /templates/ja_sugite/tpls/blocks/footer.php
use this css for that position
.fixedmodule{
position:fixed;
bottom:0px;
width:100%;
}add this fixedmodule in module suffix or as DIV wrapper in the footer page.
give a try.
ezaban Friendezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 26, 2014 at 2:56 am #536606Hi dear Chavan,
I tried the code, I defined a module and it shows successfully in the footer. But I want it to stick at the bottom of screen and scrolls by the page. I added the code in the custom.css file css folder in order not to be overwritten. Actually, the code you kindly provided didn’t make it sticky or maybe I need to add some other codes in other files, bootstrap css file for instance.
If so, can you please instruct me on itThankschavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
May 26, 2014 at 2:58 am #536608in which position you have created the module and where it is on your site page. I don’t see any new modules on the footer.
ezaban Friendezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 26, 2014 at 3:31 am #536615I had unpublished it, it is published now. It is called “eNamad”. At the right side and bottom of the page in the footer. It contains a picture, I want it to be sticky on the screen and always be visible
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
ezaban Friendezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 26, 2014 at 5:53 am #536630Yes, I just checked it and it is working fine. I appreciated it, thanks a lot
ezaban Friendezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 26, 2014 at 6:43 am #536636Thanks Chavan, It was working good by the changes you made. But I have one problem. Since you came to the back-end and kindly changed custom.css file and footer.php to make the module sticky I can see that whenever I turn the website to development mode, color settings and every modifications I had made before shows correctly, but when I disable this development mode and compile less to css, the story changes completely and it seems that a JA Sugite template appears with all default settings (plus custom.css changes of course)
ezaban Friendezaban
- Join date:
- August 2013
- Posts:
- 38
- Downloads:
- 33
- Uploads:
- 0
- Thanks:
- 16
- Thanked:
- 1 times in 1 posts
May 27, 2014 at 3:22 am #536759The problem is solved, it seems that the theme used in the site had been set to “use default” which should have been “default”.
Thanks BTWchavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
Fernando Ribeiro FriendFernando Ribeiro
- Join date:
- December 2012
- Posts:
- 23
- Downloads:
- 79
- Uploads:
- 17
- Thanks:
- 4
June 27, 2014 at 2:01 pm #540397Dear Chavan,
I found this thread and have relation with my problem and I would like a help to solve.
I would like to make the footer a sticky footer, in others words, when the page have a few information I would like the footer in page bottom… but, in mobile or when have more information I would like the footer after the mainbody information.
I’m trying a lot of CSS possibilities, but nothing is working and I would like to know if you can help me.
I’m attaching the images.
thank you.
-
chavan Friend
chavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
June 28, 2014 at 1:53 am #540433GO to this File: /templates/ja_sugite/css/template.css
Add this css code
.t3-wrapper{
padding-bottom: 66px !important;
position: relative !important;
display:block !important;
clear:both !important;
}
.t3-footer {
bottom: 0 !important;
position: absolute !important;
width: 100% !important;
}If this doesn’t work, please send me the admin details in PM
1 user says Thank You to chavan for this useful post
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
July 1, 2014 at 1:51 am #540724Go to this File: /templates/ja_sugite/css/template.css
1. Replace this code
.t3-footer {
background: #00334e ;
color: #fff ;
font-size: 11px;
bottom: 0 !important;
position: absolute !important;
width: 100% !important;
}
With.t3-footer {
background: #00334e ;
color: #fff ;
font-size: 11px;
width: 100% !important;
}2. Replace this code
.t3-mainbody {
padding-top: 28px;
padding-bottom: 28px;
}With
.t3-mainbody {
padding-top: 28px;
padding-bottom: 28px;
margin-bottom: -60px;
min-height: 100%;
}1 user says Thank You to chavan for this useful post
Fernando Ribeiro FriendFernando Ribeiro
- Join date:
- December 2012
- Posts:
- 23
- Downloads:
- 79
- Uploads:
- 17
- Thanks:
- 4
July 1, 2014 at 3:46 pm #540838Thanks Chavan! It’s worked! Thanks.
-
AuthorPosts
Viewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 3 voices, and was last updated by Fernando Ribeiro 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum