-
AuthorPosts
-
hengstler Friend
hengstler
- Join date:
- August 2006
- Posts:
- 123
- Downloads:
- 7
- Uploads:
- 23
- Thanks:
- 106
- Thanked:
- 4 times in 1 posts
December 25, 2013 at 10:54 am #193239Dear support staff
After a period of evaluation, I decided to use JA Fubix (T3) with K2 for my news site
I’m using images from diffrent sources with diffrent sizes like 800×600, 800×533 and so on.
Now, the problem is that these image sizes do not fit in K2 article overview and and in K2 content module. Only if I use images with the same size (800×600), everything looks fine.
I’m using global image settings like in your documentation.
It would be very useful if I could use diffrent image sizes, regardless if they are 800×600 or any other size.
Kind regards and Merry Christmas
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 26, 2013 at 4:52 am #516540Hi hengstler,
You can use the below override css styles to force the intro images of K2 content to display with same selected size.
/*Fit the K2 item intro images on K2 content module*/
.trending .showcategory .moduleItemImage,
.trending .showcategory .moduleItemImage img {
min-height: 191px;
}/*Fit the K2 item intro images on K2 categories view*/
#itemListPrimary span.catItemImage a.modal-image,
#itemListPrimary span.catItemImage a.modal-image img {
height: 100% !important;
}Note: You can create a custom.css file at templates/ja_fubix/css/ path and put the codes into. And the codes will work properly with “trending” Select sub-template of K2 content module.
1 user says Thank You to phong nam for this useful post
hengstler Friendhengstler
- Join date:
- August 2006
- Posts:
- 123
- Downloads:
- 7
- Uploads:
- 23
- Thanks:
- 106
- Thanked:
- 4 times in 1 posts
December 27, 2013 at 7:49 am #516650I gave it just a try, but I’m afraid it doesn’t work. The images are still in diffrent sizes. Cache is cleared (Server and browser) :((
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 27, 2013 at 8:01 am #516652Hi hengstler,
Can you put the site url here or send me PM ? I will take a look and suggest you better css styles in this case.
hengstler Friendhengstler
- Join date:
- August 2006
- Posts:
- 123
- Downloads:
- 7
- Uploads:
- 23
- Thanks:
- 106
- Thanked:
- 4 times in 1 posts
December 27, 2013 at 2:36 pm #516683Thank you very much.
Please have a look at http://j3x-test.igtierschutz.ch (K2 content module) and at http://j3x-test.igtierschutz.ch/index.php/news (K2 category view)
If you need back-end access, please contant me.
Kind regards from Switzerland
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 28, 2013 at 12:21 pm #516734Hi,
You can try to create a custom.css file as i mentioned in previous reply and put below override css styles into:
.trending .showcategory .moduleItemImage img {
max-height: 145px;
width: 100%;
}#itemListLeading .catItemViewContent span.catItemImage img {
max-height: 140px;
width: 100%;
}1 user says Thank You to phong nam for this useful post
hengstler Friendhengstler
- Join date:
- August 2006
- Posts:
- 123
- Downloads:
- 7
- Uploads:
- 23
- Thanks:
- 106
- Thanked:
- 4 times in 1 posts
December 29, 2013 at 8:05 am #516782I’ve entered the above code as mentioned, but the images are still in diffrent sizes. May I send you login information, so you can have a look as soon as you got some time ?
Kind regards
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
December 29, 2013 at 12:27 pm #516787Hi,
The missing of block close tag “}” inside the css styles of logo caused the template not load my suggested styles. I have just corrected it and you can see my snapshot to know what i did.
Note: In fact, you just need to create only one custom.css file in /css/ path of default template, not theme yet.
-
1 user says Thank You to phong nam for this useful post
hengstler Friendhengstler
- Join date:
- August 2006
- Posts:
- 123
- Downloads:
- 7
- Uploads:
- 23
- Thanks:
- 106
- Thanked:
- 4 times in 1 posts
December 29, 2013 at 10:33 pm #516802Awesome, great work !!! You saved my day :D.
Thank you very very much, all the best wishes for 2014
1 user says Thank You to hengstler for this useful post
AuthorPostsViewing 9 posts - 1 through 9 (of 9 total)This topic contains 9 replies, has 2 voices, and was last updated by hengstler 10 years, 12 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Diffrent image sizes do not fit
Viewing 9 posts - 1 through 9 (of 9 total)