Keyword

K2 Module Font Size

  • Corey Poulton
  • Corey Poulton's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #72156 by Corey Poulton
K2 Module Font Size was created by Corey Poulton
I'd like to be able to lower the size of the font in mod_k2_content. I took a look around but couldn't find out where I could change it in the back-end or the coding. I may not be looking in the correct place in regards to the coding though.

Any help is greatly appreciated.

Thanks,
Corey

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

  • Third Sun Productions
  • Third Sun Productions's Avatar
  • Offline
  • Junior Member
More
15 years 2 months ago #72157 by Third Sun Productions
Replied by Third Sun Productions on topic K2 Module Font Size
You can adjust this is the CSS. K2 helpfully creates unique IDs for each module so you can just change font size for that specific module.

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

More
15 years 2 months ago #72158 by Bryan Smith
Replied by Bryan Smith on topic K2 Module Font Size
can you explain just a little more on how this is done.

thanks

Third Sun said:You can adjust this is the CSS. K2 helpfully creates unique IDs for each module so you can just change font size for that specific module.

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

  • Corey Poulton
  • Corey Poulton's Avatar Topic Author
  • Offline
  • New Member
More
15 years 2 months ago #72159 by Corey Poulton
Replied by Corey Poulton on topic K2 Module Font Size
Edit this file:
/components/com_k2/css/style.css

Under the heading:
Modules: mod_k2_content

Edit this line:
div.k2ItemsBlock ul li a.moduleItemTitle {font-family:..............

Hope this helps.

Lownotes said:can you explain just a little more on how this is done. thanks

Third Sun said:You can adjust this is the CSS. K2 helpfully creates unique IDs for each module so you can just change font size for that specific module.

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

More
15 years 2 months ago #72160 by Bryan Smith
Replied by Bryan Smith on topic K2 Module Font Size
cool, I actually just got there on my own.

this is what I ended up with.

div#k2ModuleBox26 ul li a.moduleItemTitle {font-family:...
div#k2ModuleBox28 ul li a.moduleItemTitle {font-family:...

where the number is the module id number.

very nice

Corey Poulton said:Edit this file: /components/com_k2/css/style.css

Under the heading:
Modules: mod_k2_content

Edit this line:
div.k2ItemsBlock ul li a.moduleItemTitle {font-family:..............

Hope this helps.

Lownotes said:can you explain just a little more on how this is done. thanks
Third Sun said:You can adjust this is the CSS. K2 helpfully creates unique IDs for each module so you can just change font size for that specific module.

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


Powered by Kunena Forum