Keyword

Templating query

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 month ago #99057 by EasiStudio
Templating query was created by EasiStudio
Been following the tutorial at community.getk2.org/notes/Templating_in_K2 but I am a bit confused with regards to CSS. The files which I appear to be instructed to edit seem to be pure code and there is no CSS file within this directory. In fact I don't see the point of editing these files as you can switch on and off the display of the various options in the backend of the component.

Clearly I am missing something obvious?

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

More
13 years 1 month ago #99058 by william white
Replied by william white on topic Templating query
Download css4k2 from jiliko.net (check out the others avaliable there)

Install and enable it

copy k2.css to YourOverrideDirectory

rename k2.css to YourOverride_style.css

Make changes to this file to affect the css of only this one override when selected

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

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 month ago #99059 by EasiStudio
Replied by EasiStudio on topic Templating query
Many thanks for this.

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

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 month ago #99060 by EasiStudio
Replied by EasiStudio on topic Templating query
Tried but doesn't work. Changed k2.css to features.css and uploaded it to the override directory called features. Tested it by setting the Read More link to 20px, no dice.

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

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 month ago #99061 by EasiStudio
Replied by EasiStudio on topic Templating query
ah.. now sorted, didn't spot the "_style" suffix to the name of the css file. The CSS file is a bit unwieldy but Firebug makes short work of it.

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


Powered by Kunena Forum