set image size in Category blog

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Oct 20, 2013 4:33 am
Reply with quote
Report this post
Hi new to GK News:
I have problems setting the image size in Category blog layout.

I want:
1 Lead Article
4 Intro Articles, images set to show - in 2 columns
10 Links (no image)

BUT... the "Intro Article" images are not reducing in size - where do I set this?

NOTE: Using K2 is not an option... we're importing from J2.5 and spent weeks trying to get K2 to import correctly !!
User avatar
Fresh Boarder

GK User
Sun Oct 20, 2013 8:30 am
Reply with quote
Report this post
Hi , they could be two reasons:
1) our k2.css overrides your image size settings
2) your category still uses settings from another category which have bigger images

ad 1)

Try to find and delete "max-width: 100%;" from this file: templates/gk_news/css/k2.css

inside this class:
Code: Select all
    .itemImageBlock img  {...}


CHECK now ! Refresh page.

and if still won't help, delete "width: 100%" from:

Code: Select all
.itemImageBlock > a {
   display: block;
   width: 100%
}
User avatar
Platinum Boarder

GK User
Sun Oct 20, 2013 2:22 pm
Reply with quote
Report this post
Going back to basics - where do I find: image size settings?

Also... where's the documentation? All I find is a link to a similar WordPress template
User avatar
Fresh Boarder

GK User
Sun Oct 20, 2013 6:47 pm
Reply with quote
Report this post
K2 documentation - hmm, that is a very good question, you have ask developer of this extension, why they still didn't make it.

We made documentation for ours modules, you can find it on our WIKI.
User avatar
Platinum Boarder

GK User
Sun Oct 20, 2013 6:48 pm
Reply with quote
Report this post
p.s.
Add URL - where you have problem - it should help me identity a solution for you.
User avatar
Platinum Boarder

GK User
Mon Oct 21, 2013 3:13 am
Reply with quote
Report this post
User avatar
Fresh Boarder

GK User
Mon Oct 28, 2013 11:59 am
Reply with quote
Report this post
First, I suggest to reduce size of font from article titles, because you use long names

For example:
Code: Select all
article header h1, .category header, article header h2 {
    font-size: 30px;
    font-weight: 300;
    line-height: 28px;
}


Tip Guide: http://www.gavick.com/documentation/joo ... -template/
User avatar
Platinum Boarder

GK User
Mon Oct 28, 2013 12:06 pm
Reply with quote
Report this post
Second, I saw that you have used standard articles instead K2 items. So you can use Joomla 3.x article features to show different images ... or simple trick

.column-1 section img, .column-2 section img
{ max-width: 320px; }

This may help also, but first, clean you article code from borders for images, for example in this article "Tetra Pak launches new cap made from sugar cane" use HTML mode.
User avatar
Platinum Boarder

GK User
Sat Nov 02, 2013 1:23 am
Reply with quote
Report this post
Excelent help, thanks with you're help we've made good progress.



Pawel F wrote:Second, I saw that you have used standard articles instead K2 items. So you can use Joomla 3.x article features to show different images ... or simple trick

.column-1 section img, .column-2 section img
{ max-width: 320px; }

This may help also, but first, clean you article code from borders for images, for example in this article "Tetra Pak launches new cap made from sugar cane" use HTML mode.
User avatar
Fresh Boarder


cron