Keyword

Templating Question

More
13 years 7 months ago #94401 by James
Templating Question was created by James
I am trying to modify the style for modules in a Joomla Art Template.  I have created a folder in modules/mod_k2_content/tmpl called monthlyfocus and copied the k2.css file into this directory.  When I open the module I see the monthly focus in the dropdown of sub-template types.  I choose it but can not see where my changes are occurring.  I have changed the background color on the even and odd for the "Zebra Rows" as well as modified some font sizes.  Can anyone provide any help?

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 7 months ago #94402 by Yiota
Replied by Yiota on topic Templating Question
The k2.css should not be pasted in modules/mod_k2_content/tmpl/monthlyfocus, but rather in templates/your template/css/.

It contains all k2 styling and not only for the modules.

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

More
13 years 7 months ago #94403 by James
Replied by James on topic Templating Question
Thanks for the help

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

More
13 years 3 months ago #94404 by RP
Replied by RP on topic Templating Question
Wouldn't modifying the CSS in this manner affect all modules and thus defeat the purpose of having a separate template?

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 3 months ago #94405 by Yiota
Replied by Yiota on topic Templating Question
Try to give a different class suffix to control the different templating.

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


Powered by Kunena Forum