Keyword

How to change the K2 Content Item width

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 4 months ago #66279 by gerald sisimayi
How to change the K2 Content Item width was created by gerald sisimayi
Hello again,

Please could someone tell me how to make the K2 content module width smaller, its sticking out of the template at the moment.

Thank you in advance

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

More
12 years 4 months ago #66280 by william white
Replied by william white on topic Re: How to change the K2 Content Item width
if the site is live please post a link to it. also, please post your version numbers

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

More
12 years 4 months ago #66281 by Gary Bartlett
Replied by Gary Bartlett on topic Re: How to change the K2 Content Item width
Here's a quick method.

  1. View source and identify the class of the element you want to adjust (I'm guessing div.itemBody, in this case)
  2. Go to the relevant CSS file (components/com_K2/css/k2.css, in this case)
  3. Either adjust it there, or create a custom.css file in your template/css folder and ensure that your template loads this css file last, to overwrite previous values (this is a good idea, because it saves your changes from being blown away every time you upgrade a component)

HTH

Gary

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

  • gerald sisimayi
  • gerald sisimayi's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 4 months ago #66282 by gerald sisimayi
Replied by gerald sisimayi on topic Re: How to change the K2 Content Item width
thanx for the reply but it didnt work. Since Im using K2 mart maybe the setup is different. I managed to narrow it down to a block command but I cant see a with for this anywhere

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


Powered by Kunena Forum