-
AuthorPosts
-
May 3, 2013 at 12:30 pm #491810
So how do I do this?
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 3, 2013 at 4:53 pm #491828<em>@stephenhadden 370759 wrote:</em><blockquote>Hi
Where and how exactly can I make my images fit the square size of the modules? Please see attached screenshot. This is rather urgent. Im using K2.
Many thanks in advance</blockquote>You can have a look at user guide for reference: http://www.joomlart.com/forums/topic/ja-argo-template-userguide/ and find “1.2 K2 Content Module”
If you want change images fit the square size of the modules you need to customize about css.
+ See the screenshot (big image)
You can change image by
Open templates/ja_argo/css/template.css file
from
.brick-big {
height: 443px !important;
position: relative;
overflow: hidden;
width: 50%; /*the default is 2columns*/
}
Change to
.brick-big {
height: 443px !important;
position: relative;
overflow: hidden;
width: 33%; /*change to 3columns*/
}
+ See the screenshot(small image)
Open templates/ja_argo/css/template.css file
From
.brick-small {
width: 25%; /*4 columns*/
}change to
.brick-small {
width: 20%;/*5 columns*/
}Hope my explanation can help you understand more
-
May 6, 2013 at 1:18 pm #492007
Thank You Ninja
This only changes the brick layout not the aspect ratio of the images. Please advise where exactly the source code is so I may change the image to a background and css accordingly. There is a javascript option as detailed in a link a few posts back, but I would not know how to implement it.May 6, 2013 at 11:28 pm #492034oh dear….:((
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 8, 2013 at 4:46 am #492179<em>@stephenhadden 371785 wrote:</em><blockquote>oh dear….:((</blockquote>
I have explained to you very clearly in this thread: http://www.joomlart.com/forums/topic/make-images-fit-to-module-square-size/#post-491828
you can include an illustrated screenshot of what you are trying to achieve.
cantabriadeportiva Friendcantabriadeportiva
- Join date:
- June 2011
- Posts:
- 86
- Downloads:
- 0
- Uploads:
- 13
- Thanks:
- 48
- Thanked:
- 4 times in 1 posts
May 15, 2013 at 12:48 pm #492840I have the same problem. Now, I upload all the images in square format, so they look nice in the Content Module, but they look very poor in the articles, because the template doesn´t crop, just cut the image with the size you choose.
Here you can see that the articles images dont look nice.
http://vidasdigitales.com/index.php/software/item/386-witopia-un-vpn-que-auna-calidad-y-precio
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
May 15, 2013 at 2:34 pm #492855Hi,
If you want your article image appear will original size, pls put below codes into the end of templates/ja_argo/css/custom.css file:
span.itemImage {
display: block;
text-align: center;
height: 100% !important;
overflow: hidden;
}* Don’t forget to inform me your result, cantabriadeportiva.
Leo
-
AuthorPosts
This topic contains 22 replies, has 5 voices, and was last updated by phong nam 11 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum