Change parameters on text

GK User
Wed May 02, 2012 11:02 pm
I run my articles into K2
I want to have the intro text in another format than the rest of the text, which it is today.
Have been looking around and have found (by use Firefox etc..) that the
.intemIntroText in the K2.css (in my line 339) I found:

.itemIntroText { font-size:inherit; font-weight:normal; line-height:inherit; padding:4px 0 12px; }

Where do the class .itemIntroText inherit this from? Is it any place at the front-end I can set this?

what I want is the font-weight to BOTH bold and itallic.

How do I do that and is it the right place to change it?
User avatar
Expert Boarder

GK User
Wed May 02, 2012 11:36 pm
Hi

Please go to template parameters and open "Dev Mode" tab and enable "Use override.css" option.
Them open override.css file located on template css directory and add this line on this file:

Code: Select all
#k2Container .itemIntroText p {font-style: italic; font-weight: bold}


Cheers ;)
User avatar
Platinum Boarder

GK User
Thu May 03, 2012 4:52 pm
YOU ARE FANTASTIC

THANK YOU !!!!!!!
User avatar
Expert Boarder

GK User
Thu May 10, 2012 9:00 am
This is very strange !!

The tip worked fine for many days and suddenly today it does not work anymore.

I have checked the template : "use Override.css" which is set ON
I have checked the code in the css fine. The solution line is there.

What can have happend?

Old articles have this nice bold and italic in the introtxt.
User avatar
Expert Boarder

GK User
Thu May 10, 2012 4:41 pm
Look at the code please, it is applied only for text inside a p tag, so please make sure you have you introtext with p tag.

Cheers,
User avatar
Platinum Boarder

GK User
Thu May 10, 2012 4:45 pm
Add this code plus to Override then it can work when there's no p tag:
Code: Select all
.itemIntroText{
font-style: italic!important;
font-weight: bold!important;
}

Cheers,
User avatar
Platinum Boarder


cron