Reduce font size in K2 Item View

GK User
Wed May 11, 2011 2:35 pm
Hi

I have gone through the k2.css file trying to find the section that will allow me to make the font smaller for the title of an article in article view

Can someone point me in the right direction as I am struggling to find to find the section to allow me to reduce the font size.

Have attached a screenshot and you will see the fonts are just too large


Screen shot 2011-05-11 at 16.29.28.png
User avatar
Expert Boarder

GK User
Tue May 17, 2011 5:12 am
Hi support, just chasing up this question again
User avatar
Expert Boarder

GK User
Tue May 17, 2011 5:36 am
Hi d311boy,

Try to locate the file k2.css located in templatesyour_gavick_templatecss folder.

.itemHeader, .itemTitle are the CSS class selectors for K2 Article title. Reduce the font-size property to desired value (e.g. font-size: 140%; or font-size: 24px;)

George
User avatar
Junior Boarder

GK User
Tue May 17, 2011 9:19 am
George,

Thanks for your reply but this did not work as the .css does not show the font size as you suggested?

I have taken a screenshot of that section to show you what it states....any other idea of how I can reduce please?


Screen shot 2011-05-17 at 11.16.56.png
User avatar
Expert Boarder

GK User
Tue May 17, 2011 9:24 am
Can you please advise a link for your site?
User avatar
Junior Boarder

GK User
Tue May 17, 2011 9:30 am
Or try to add the font-size property:

Code: Select all
.itemHeader, .itemTitle {
    color: #373636;
    line-height: 110%;
    margin: 0 0 12px;
    padding: 0;
    font-size: 24px;
}
User avatar
Junior Boarder

GK User
Tue May 17, 2011 9:40 am
Thanks George that did the trick!
User avatar
Expert Boarder


cron