Keyword

Font Size and spacing in Category View

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 6 months ago #94593 by Yiota
Replied by Yiota on topic Font Size and spacing in Category View
Do you use k2.css? Do you have it selected form general K2 params?

Do you use K2 template overrides? Is the k2.css maybe in your template css folder?

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

  • gavin mckew
  • gavin mckew's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94594 by gavin mckew
Replied by gavin mckew on topic Font Size and spacing in Category View
yeah k2.css is enabled in params, there is no k2.css in my main template folder. I have just been editing the com_k2/css/k2.css file, that is right isnt it? weird.

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

  • gavin mckew
  • gavin mckew's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94595 by gavin mckew
Replied by gavin mckew on topic Font Size and spacing in Category View
this is correct right?

 


div.catItemHeader {}
div.catItemHeader span.catItemDateCreated {color:#999;font-size:11px;}
div.catItemHeader h3.catItemTitle {font-family:Georgia, "Times New Roman", Times, serif;font-size:24px;font-weight:normal;line-height:110%;padding:10px 0 4px 0;margin:0;}
#itemsListSecondary div.catItemHeader h3.catItemTitle {color:#999;font-size:10px;}
    #itemsListSecondary div.catItemHeader h3.catItemTitle a {color:#999;font-size:10px;}

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

  • gavin mckew
  • gavin mckew's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94596 by gavin mckew
Replied by gavin mckew on topic Font Size and spacing in Category View
brilliant it would seemit has worked.

whats the css code for the spacing?

 

thank you soooo much !

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 6 months ago #94597 by Yiota
Replied by Yiota on topic Font Size and spacing in Category View
Make a copy of the k2.css located in the component folder and put it in your template css folder. In that case you will ensure that in any future K2 update you won't lose your changes.

For spacing try the line-height, padding or margin.

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

  • gavin mckew
  • gavin mckew's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94598 by gavin mckew
Replied by gavin mckew on topic Font Size and spacing in Category View
still can't get the spacing right,

 

wont decrease arghhhhhhh

 

help

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

  • Yiota
  • Yiota's Avatar
  • Visitor
13 years 6 months ago #94599 by Yiota
Replied by Yiota on topic Font Size and spacing in Category View
Try making the padding:0; to the class you stated in the k2.css.

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


Powered by Kunena Forum