How to change font size of K2 items title?

GK User
Sat Sep 19, 2015 10:27 pm
Two questions:
1. How can I change the font size of the K2 items to be smaller in category and items?
2. How can I set images in K2 category items display at the same level and not move up or down according to the title length? Now image is moving according to how many rows is the title. I would like images to be at the same level apart the rows of the title.
Any help will be much appreciared.
User avatar
Senior Boarder

GK User
Sun Sep 20, 2015 11:48 am
Could you please post an url to your site - to a sample page where the change should be made?
User avatar
Moderator

GK User
Sun Sep 20, 2015 12:11 pm
First I would like thank you for your help. You are really helping us always.
I attach a screenshot as I keep this page offline till to fix it.
- 1. I would like to change font size of the titles, are too big. I know that will affect all pages but this is not a problem, I will try change the font size of the text in articles to be in a balance.
- 2. You can see that images are moving according to the title length (raws). I would like images to be at the same line and title if necessary to leave empty space if are not the same length, keeping the images horizontally aligned.
User avatar
Senior Boarder

GK User
Sun Sep 20, 2015 12:28 pm
I really need to see the site. Perhaps you could post it somewhere live?
User avatar
Moderator

GK User
Sun Sep 20, 2015 12:41 pm
The site is: www.lexconscientia.co.uk.
A similar page, but fortunately with short titles is in Services: http://lexconscientia.co.uk/services
If you need I can put the page online, but client doesn't want do it today as she is waiting lot of traffic. I can put it online tomorrow
User avatar
Senior Boarder

GK User
Mon Sep 21, 2015 9:21 pm
http://lexconscientia.co.uk/blogs
I have changed the display of the Blog page in order to have a nice view till I'll find the solution to show it as my first screenshot I sent you.
Hope you can help as you always doing. Thanks
User avatar
Senior Boarder

GK User
Fri Sep 25, 2015 1:50 pm
On any of above pages I cant see simillar issues.
With different title lengths - its obvious if a title is longer it needs to wrap the line. You could set default height to support 2 lines, but what if 3 lines tittle happens?
Please describe how you would like it to behave and I'll prepare css.

If it goes to category tittle size - please mark this element on a screenshot.
User avatar
Moderator

GK User
Sun Sep 27, 2015 1:01 pm
Thank you for your reply.
Thats my problem, titles will be never the same length, can be 1, 2 or 3 raws maybe 4, but I will try to keep them in 3 raws maximum by diminishing the fonts as I have already done, from 36 to 18px. (1 on image)
What I would like the page to look like is shown on the image.
I would like the short titles to leave empty raw or raws so the images to be aligned horizontally. Is it possible? (2 on image)
Another problem I noticed is that I cannot apply Typography Floated blocks. How can I add them. Code is not working. I am using this code: <p> Here goes main part of the text <span class="gkBlockTextLeft">Block of text</span>rest of the text</p>
Regards
User avatar
Senior Boarder

GK User
Mon Sep 28, 2015 8:39 pm
To create more space for the titles, please edit: /templates/gk_university/css/override.css and add at its end:
Code: Select all
#k2Container .itemsContainerWrap article header {min-height: 76px}

Now play with the 7x px value to create enough spacing.
Remember to enable "CSS override" in template settings - advanced section.

If it goest to your second problem - could you please post a link to a place where I could see this code in action?
User avatar
Moderator

GK User
Fri Oct 02, 2015 6:24 pm
Hi, Thank you for your help.
I am trying the code for the K2 container to find the best display according to my needs.
Regarding the problem for typography Floated blocks is solved. http://lexconscientia.co.uk/blog/item/315-may-2015
Thanks again!
User avatar
Senior Boarder

GK User
Mon Oct 05, 2015 10:02 am
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator

GK User
Mon Oct 05, 2015 10:59 am
Thank you for your help... you are really very kind and helpful
User avatar
Senior Boarder

GK User
Wed Oct 07, 2015 4:18 pm
No problem :)
If you have any additional questions regarding this topic, please let me know.
User avatar
Moderator


cron