Keyword

Changing fontsize and lineheight in K2 item

  • JustBe
  • JustBe's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96690 by JustBe
 

Hi,

 

I tried to change fontsize with an editor for k2 item but it didn't worked out.

 

How can I change this?

 

I did changed fontsize in the template.css but now I have used an editor this doesn't work anymore cause it over rides.

 

Anyway is it best to make stylesheet for this?

 

Thanks

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

  • JustBe
  • JustBe's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96691 by JustBe
Replied by JustBe on topic Changing fontsize and lineheight in K2 item
 

Oh b.t.w.

 

I can change fontsize but the line height doesn't change so all letters overlap.

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96692 by Yiota
Cound you be more specific on what and where do you want to do this? You say in the k2 item, but where? The title, the introtext, etc?

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

  • JustBe
  • JustBe's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96693 by JustBe
Replied by JustBe on topic Changing fontsize and lineheight in K2 item
Let's say just text in  Introtext and Main text.

 

I was quite happy with changing the fontsize & lineheight in my template.css file.

 

Until I got some problems with VirtueMart cause the module used this fontsize as well and the letters were too big and overlapping.

 

 

 

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96694 by Yiota
You could edit the k2.css file to change those. Or you could use an outer container to locate them and change the font-size in your template.css.

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

  • JustBe
  • JustBe's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96695 by JustBe
Replied by JustBe on topic Changing fontsize and lineheight in K2 item
 

Do you have any suggestion to have more control about the layout?

 

Something to read to change fontsize & lineheight in articles, introduction text, main text etc.

 

Thanks anyway!

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

  • JustBe
  • JustBe's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 4 months ago #96696 by JustBe
Replied by JustBe on topic Changing fontsize and lineheight in K2 item
Didn't noticed your reply. Ok will check it.

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 4 months ago #96697 by Yiota
You can have a generic rule about this in the body tag or an outer container of your text area.

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


Powered by Kunena Forum