-
AuthorPosts
-
lovedigit Friend
lovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
March 30, 2015 at 2:21 pm #205144Look at my gallery. Image height should be fixed. in the gallery. PLease let me know the code I can put in the custom.css
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
March 31, 2015 at 8:38 am #565187Hi @lovedigit,
I still haven’t got your idea yet, could you please clarify a little bit or provide a screenshot indicate the problem so I can assist you better ?
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
March 31, 2015 at 11:36 am #565209Hello, I want to fix the height of the gallery so it doesn’t gets out of display area on both desktop and mobile view. See screenshot.
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 1, 2015 at 9:05 am #565322I have taken that screenshot with a screencapturing software, to show the full height of the gallery. I want it to be like the full screen view, when you scale down the image height and width. for both desktop and mobile view.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 1, 2015 at 10:24 am #565339Hi @lovedigit,
Thanks for the screenshot and I got your idea. But unfortunately, it’s not possible to do that via CSS and you will need proper JS code to detect the device height, then adjust popup image accordingly.
I’m afraid that such task is beyond our support scope and you will have to hire a developer to implement the code for you instead.
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 1, 2015 at 11:15 am #565345Can you at least reduce the height of the gallery to something feasible? like 500px or something? And width to adjust accordingly. Fix the height of the image in the gallery.
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 2, 2015 at 4:45 am #565427Anyone? just want to fix the height of the image in the gallery. See this page – http://www.digitfreak.com/gallery/2650-motorola-moto-g-2nd-generation
It is very annoying
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 2, 2015 at 6:38 am #565435Hi @lovedigit,
You can try to open file root_folder/templates/ja_teline_v/css/custom.css (if you don’t have this file, just create a new one) then add this code :
@media screen and (max-width: 767px) {
#t3-mainbody .magazine-item-main .carousel-thumbnail {
width: 500px;
margin: 0 auto;
max-width: 100%;
}
}
@media screen and (max-width: 360px) {
#t3-mainbody .magazine-item-main .carousel-thumbnail {
width: 250px;
}
}lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 2, 2015 at 12:28 pm #565496Applied this code, but nothings changed.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 3, 2015 at 7:19 pm #565683Hi @lovedigit,
I checked your site but didn’t see the custom.css file there, please recheck.
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 4, 2015 at 9:46 am #565718<em>@Adam M 466904 wrote:</em><blockquote>Hi @lovedigit,
I checked your site but didn’t see the custom.css file there, please recheck.</blockquote>
It is there. see screenshot.
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 6, 2015 at 6:55 am #565865Hi @lovedigit,
I logged in to your site back-end then cleared Joomla! cache, after that I could see the custom.css file.
FYI : You might want to reduce the value 500px to 300px in my previous CSS code to clearly see the change in mobile layout.
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 6, 2015 at 10:05 am #565900What about desktop view? See this page – http://www.digitfreak.com/gallery/2650-motorola-moto-g-2nd-generation
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
April 7, 2015 at 4:27 am #566031Hi @lovedigit,
You can add this code to custom.css file and adjust it to suite your need :
@media screen and (min-width: 768px) {
#t3-mainbody .magazine-item-main .carousel-thumbnail {
max-width: 768px;
margin: 0 auto;
max-width: 100%;
}
}lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 8, 2015 at 4:05 am #566266Copied this code to custom.css, but it is still the same. see link – http://www.digitfreak.com/gallery/2650-motorola-moto-g-2nd-generation
I want it to be like this…
Instead, it is overflowing out of visible area.
-
AuthorPosts
This topic contains 24 replies, has 2 voices, and was last updated by Adam M 9 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum