Keyword

how to change K2 font ??!

  • abd4syria
  • abd4syria's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126268 by abd4syria
how to change K2 font ??! was created by abd4syria
hi
i have the latest version of k2 , all i need is a method to change the k2 content module font for both , the title and for the paragraph !!! any suggestions ??? :unsure:

note : i have my own font files (.ttf,.woff,.eot,.svg) .

aleppoprestigious.com/ar

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126269 by Lefteris
Replied by Lefteris on topic Re: how to change K2 font ??!
Hi. You can override the default K2 css file by copying it from components/com_k2/css/k2.css to /templates/YOUR_TEMPLATE/css/k2.css.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • abd4syria
  • abd4syria's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126270 by abd4syria
Replied by abd4syria on topic Re: how to change K2 font ??!
thanks for your replay ...

but can you explain more ?!!

i made a lot of changes on (( components/com_k2/css/k2.css )) to change articles layout ...

so how overriding to /templates/YOUR_TEMPLATE/css/k2.css. will help me to use my own font type ??!!

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126271 by Lefteris
Replied by Lefteris on topic Re: how to change K2 font ??!
First of all you should not make direct changes to file components/com_k2/css/k2.css. You will lose all of them when you update K2. If you want to make changes to components/com_k2/css/k2.css you need to copy it at your template's folder as i told you. Now regarding on how to apply a font family using CSS, this is out of K2 and has to do with your CSS knowledge.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • abd4syria
  • abd4syria's Avatar Topic Author
  • Offline
  • New Member
More
10 years 6 months ago #126272 by abd4syria
Replied by abd4syria on topic Re: how to change K2 font ??!
thank you very much , the first information was really important ...

I'll continue from here in editing css scripts ;) ;)

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #126273 by Lefteris
Replied by Lefteris on topic Re: how to change K2 font ??!
You are welcome.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum