Keyword

K2 Content module

More
3 months 3 weeks ago #176706 by Chris
K2 Content module was created by Chris
Hallo erstmal,
bin komplett neu in joomla und habe mir nun k2 installiert.
Klapp soweit alles gut. Nun bräuchte ich mal ein wenig Hilfe zu dem Module.
Wie ändere ich das Styling. Das Module ist nun ziemlich simpel gehalten. Wie füge ich z.B. box-shadow hinzu?

Gruß

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 months 2 weeks ago #176714 by Fotis
Replied by Fotis on topic K2 Content module
Well, that depends on your site setup and most likely your chosen template.

If your template allows you to add custom CSS, you can simply write your own rules there. If not, you'll have to load a file in the template.

Or, even better, just copy the file /components/com_k2/css/k2.css into the folder /templates/YOUR_JOOMLA_TEMPLATE/html/css/ (create the "css" folder if it doesn't exist already) and edit that file directly. This way, your customized K2 CSS rules will never be overwritten when updating K2 in the future.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

More
1 week 3 days ago #177467 by hike39
Replied by hike39 on topic K2 Content module
Hello Fotis,

I also tried to implement an override for the k2.css. But unfortunately had no luck till today.

My way to do it was to create unter ../template/YOUR_JOOMLA_TEMPLATE/html a folder com_k2/css and copied in there the changed k2.css file.

Another try was to do it via the backend administration. The result was a file named k2_override.css in the above metioned folder.

The frustrating thing is that the k2-component uses only the k2.css of the original path.

Where am i wrong?

Greetings
hike39

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

More
1 week 3 days ago #177468 by hike39
Replied by hike39 on topic K2 Content module
thanks to another comment by Fotis I found the article of getk2.org named 'Templating with k2'. There it is stated that the correct path for the override of the k2.css file is ../template/YOUR_JOOMLA_TEMPLATE/css. I've tested it and HALLELUJA it works.

Now I'm happy and stay healthy
hike39

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
1 week 3 days ago #177469 by Fotis
Replied by Fotis on topic K2 Content module

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum