Keyword

how to use the built-in css styles in k2?

  • Aleksandr
  • Aleksandr's Avatar Topic Author
  • Offline
  • Senior Member
More
4 years 6 days ago - 4 years 6 days ago #177470 by Aleksandr
Created a property in the kardash.css file attached to the CSS template:
.vilejka-module ul {flex-wrap: wrap !important; display: flex !important;}

That's just the template stubbornly does not want to pull it up and takes it instead
div.k2ItemsBlock ul { }
and substituting properties there solves everything before updating K2

netflow.by/contacts/vilejka

There are changes. see the last 3 lines of kardash. css

netflow.by/templates/theme1049/css/kardash.css

I solved the problem myself..... Thanks....
Last edit: 4 years 6 days ago by Aleksandr.

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

More
4 years 6 days ago #177471 by JoomlaWorks
Replied by JoomlaWorks on topic how to use the built-in css styles in k2?
Either override k2.css directly (see getk2.org/documentation/tutorials/templating-with-k2-and-the-concepts-of-sub-templates) or switch it off from K2's Settings and then use your own styling.

Fotis / 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