-
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 10:54 am #205134Images bigger than the specific size breaks the single article view on firefox. See screenshot. How to fix that? I cannot edit all the images on the 3k+ articles.
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 31, 2015 at 2:56 am #565129Hi lovedigit,
You can try with this tweak:
– Go to file: /templates/ja_teline_v/css/custom.css
– Add this rule:
article img, .article-intro img, .article-content img {
width: 100%;
}
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
March 31, 2015 at 3:12 am #565134Thanks! it worked like a charm 🙂
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
March 31, 2015 at 3:13 am #565135Can you look at this one as well? – http://www.joomlart.com/forums/topic/fix-gallery-image-height/
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
March 31, 2015 at 3:13 am #565136You’re welcome!!!
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 29, 2015 at 10:50 am #568802Hello, after applying the code. all the images in the article are stretched to fit the width. I don’t want that to happen to all of the images.
I have found the alternative code that can be implemented. but, I am not sure what should I use to make it work for all display resolutions? I could use the % value for max-width attribute. but that too I don’t really know how to use.
.article-content-main
{
max-width: value;
}
seems to be good approach for this problem. Can you help me further on this one?
lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 29, 2015 at 10:50 am #733895Hello, after applying the code. all the images in the article are stretched to fit the width. I don’t want that to happen to all of the images.
I have found the alternative code that can be implemented. but, I am not sure what should I use to make it work for all display resolutions? I could use the % value for max-width attribute. but that too I don’t really know how to use.
.article-content-main
{
max-width: value;
}
seems to be good approach for this problem. Can you help me further on this one?lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 29, 2015 at 10:51 am #568803Nevermind. I answered my own question
This code works perfectly. Just put it in custom.css:
.article-content-main {
max-width: 100%;
}lovedigit Friendlovedigit
- Join date:
- September 2011
- Posts:
- 235
- Downloads:
- 22
- Uploads:
- 41
- Thanks:
- 13
- Thanked:
- 14 times in 3 posts
April 29, 2015 at 10:51 am #733896Nevermind. I answered my own question
This code works perfectly. Just put it in custom.css:
.article-content-main {
max-width: 100%;
}Andrew Winkler FriendAndrew Winkler
- Join date:
- September 2014
- Posts:
- 725
- Downloads:
- 206
- Uploads:
- 31
- Thanks:
- 291
- Thanked:
- 34 times in 2 posts
May 13, 2015 at 6:31 am #570402Sorry, I tried both ways, but it made no difference.
https://therebel.is/news/rebelofoz/849635-about-the-significance-of-old-stories
Andrew Winkler FriendAndrew Winkler
- Join date:
- September 2014
- Posts:
- 725
- Downloads:
- 206
- Uploads:
- 31
- Thanks:
- 291
- Thanked:
- 34 times in 2 posts
May 13, 2015 at 6:31 am #735468Sorry, I tried both ways, but it made no difference.
https://therebel.is/news/rebelofoz/849635-about-the-significance-of-old-stories
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 13, 2015 at 6:49 am #570405You can try with my suggestion above:
.article-content img {
width: 100%;
}
1 user says Thank You to Saguaros for this useful post
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
May 13, 2015 at 6:49 am #735471You can try with my suggestion above:
.article-content img {
width: 100%;
}
1 user says Thank You to Saguaros for this useful post
AuthorPostsViewing 13 posts - 1 through 13 (of 13 total)This topic contains 13 replies, has 3 voices, and was last updated by Saguaros 9 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum