Change the font size of k2 titles of an article

Feel free to talk about everything related to our Joomla Products
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sat Nov 09, 2013 11:44 am
image.jpg
Hello, im looking for a way to change the size of the titles of k2 articles... They are to big (see image). If its possible i only want to change the size of the titles of the articles showed when: k2 > catagories (displaying articles within this categorie).

Anybody knows where to change this?
User avatar
Fresh Boarder

GK User
Sat Nov 09, 2013 11:47 am
Could You please post an url to your site?
User avatar
Moderator

GK User
Sat Nov 09, 2013 11:53 am
http://westlandersonline.nl/nieuws

If ita possible, only the size of the titles displaying on that page (all articles within a category layout)

Thnx for watching
User avatar
Fresh Boarder

GK User
Mon Nov 11, 2013 6:02 pm
Hmm, I have already answered your question and the post is gone :/.

Ok, you could change titles only to that page.
To do that, please read documentation about adding page prefix:
http://www.gavick.com/documentation/gen ... mla-pages/

Lets say you have created prefix with name "categorysmalltitle" for that page.

Please edit: /templates/gk_news/css/override.css and add at its end:
Code: Select all
.categorysmalltitle . catItemHeader h4.catItemTitle {font-size :16px;}

Remember to enable "CSS override" in template settings - advanced section.
User avatar
Moderator

GK User
Tue Nov 12, 2013 11:52 am
Thnx for that reply, its very usefull, didnt know that could be done with the overide.css.

Is it also possible to set those images on that page all with the same width and hight? Example 100x100 even if the original image is 120x240 for example? And without revorming the image? Perhaps u know a overide code for that aswell, would be very much appreciated!

With kind regards,

Mark
User avatar
Fresh Boarder

GK User
Tue Nov 12, 2013 1:58 pm
Your link doesn't work anymore, could you post working version?
User avatar
Moderator

GK User
Tue Nov 12, 2013 2:18 pm
User avatar
Fresh Boarder

GK User
Tue Nov 12, 2013 4:21 pm
With images of different sizes and aspect ratios - there is no way to do it with use of css only :(. The easiest way is to upload images already cropped to size.
User avatar
Moderator

GK User
Wed Nov 13, 2013 4:51 pm
Thnx for the response! Very helpfull! Great support :)
User avatar
Fresh Boarder

GK User
Thu Nov 14, 2013 7:43 pm
Thanks.
If you will have any other questions, feel free to create new forum threads for each question.
User avatar
Moderator


cron