Keyword

Can the mod_k2_content be customized?????????

  • Jay Jones
  • Jay Jones's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #83974 by Jay Jones
Hey all.  I would like the k2_content to display the most resend tutorials, blogs, and articles but I dont like how they are showing. I would lke them to have a radio button infront of the words and have the letters smaller.  Can this be done?  I attached 2 images of what I have and what I want.
Attachments:

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

  • Yiota
  • Yiota's Avatar
  • Visitor
14 years 3 months ago #83975 by Yiota
All you need to do is styling as far as I can see and practically no customization of the module. The radio button you are referring to can be background image either on the li element or the a.moduleItemTitle element and on hover to change its state to the purple bullet.

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

More
14 years 3 months ago #83976 by Simon Wells
Replied by Simon Wells on topic Can the mod_k2_content be customized?????????
+1 to Yiota.

Get firebug to help you identify the element you wish to change, so that it will tell you its css name, file and line number to help you track it down.

Simon
K2 Support

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

  • Jay Jones
  • Jay Jones's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #83977 by Jay Jones
Replied by Jay Jones on topic Can the mod_k2_content be customized?????????
OK. I just downloaded Firebug. What I can tell is that I find the code and then go to the css and change what I want. Is this right? I am a fast learner so even thou I don't know now, I will soon. lol

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

More
14 years 3 months ago #83978 by Simon Wells
Replied by Simon Wells on topic Can the mod_k2_content be customized?????????
You are 100% correct.
It will show you which css file, most likely k2.css the path and the line number.

Remember to make a copy of the default k2 template, found in components/com_k2/templates/default.
Or
You can create your own K2 micro template.
I have written a "templating" guide found at simon.getk2.org search for templating.

Hope that helps.

Simon
K2 Support

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

  • Jay Jones
  • Jay Jones's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #83979 by Jay Jones
Replied by Jay Jones on topic Can the mod_k2_content be customized?????????
OK. I am having a little problem. When I go to change line 38 (a:hover {text-decoration: underline;}) in the template.css under core formatting, it is changing my links, article titles, Hello me, where ever there is a link. How can I separate the K2_content from the others???????????????

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

More
14 years 3 months ago #83980 by troponin
Replied by troponin on topic Can the mod_k2_content be customized?????????
Hello you ? ;)

try to change this code :

div.k2ItemsBlock ul li a.moduleItemTitle {
font-size:18px;
font-style:normal;
font-weight:bold;
text-decoration:none;
}

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

  • Jay Jones
  • Jay Jones's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #83981 by Jay Jones
Replied by Jay Jones on topic Can the mod_k2_content be customized?????????
Troponin, in template.css?

Troponin said:Hello you ? ;)
try to change this code :

div.k2ItemsBlock ul li a.moduleItemTitle {
font-size:18px;
font-style:normal;
font-weight:bold;
text-decoration:none;
}

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

More
14 years 3 months ago #83982 by troponin
Replied by troponin on topic Can the mod_k2_content be customized?????????
in k2.css !

try a little with firebug and you will learn a lot of css. ;)

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

  • Jay Jones
  • Jay Jones's Avatar Topic Author
  • Offline
  • Junior Member
More
14 years 3 months ago #83983 by Jay Jones
Replied by Jay Jones on topic Can the mod_k2_content be customized?????????
Man. No wonder I didn't noticed a change. I have to enable K2 default CSS. LOL

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


Powered by Kunena Forum