- Posts: 13
COMMUNITY FORUM
How to change the font size?
- sesami
-
Topic Author
- Offline
- New Member
I have 2 questions as follows.
1.When I click on Read more link, then I can see that the font size is changed to more bigger.
Please see the image. How can I change this? I don't want to get more bigger font.
imgur.com/pN8sebT ->before clicking read more link
imgur.com/t7csusY ->after clicking read more link
2. I would like to change to font size of title to more smaller size.
Also, please see image.
imgur.com/cT6XSPN
Regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Depending on the template you are using it can be decreased from the
div.itemIntroText { }
If there is no k2.css file in your template's /css folder, copy it from /components/com_k2/css and place it in the /templates/current_template/css folder before you edit it.
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Thank you very much for your kind help. Let me ask you some questions again please.
1. I will need to change or adjust parameters at div.ItemIntortxt in the k2.css file right?
2. I use Artisteer tempalte actually. I need to copy k2.css to CSS folder where is at Artisteer template?
Well, I actually modified tag (div.ItemIntrotxt) and I fixed the issue of content's font. But I didn't see the title font size was changed.
Regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Please access to blog.photo-life.net.
The language is in Japanese,but you will try to click on right side of some categories.
Regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can see which value to remove, (font-size) and in which line it is included. k2.css line 194
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Thank you for your reply. Well, the font size of the content is no problem. I mean, the title font size is big.
Please access to blog.photo-life.net/index.php/item/1-2015-12-28-13-50-29. As you can see the title, the font size is really big.
Also, please see imgur.com/V5bU1PL
Thanks for your support!
Regards
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
The default font-size is 36, in the screenshot I set it to 24, but you can change it.
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Thank you for your help. I just checked this out, but the result was the same as before. I actually changed the font size to 15%, 20% and so on, but the font size has not been changed. Could you kindly check this out again please..
Please see imgur.com/SVvQaEJ
div.itemHeader h2.itemTitle {font-family:Georgia, "Times New Roman", Times, serif;font-size:15px;font-weight:normal;line-height
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
I am still seeing " font-size: 36px; " k2.css line 150
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Well, I've already changed the size. Please see below. I also searched for 36px, but there was no 36px result.. Please help me out.
div.itemHeader h2.itemTitle span {}
div.itemHeader h2.itemTitle span sup {font-size:5px;color:#CF1919;text-decoration:none;} /* "Featured" presented in superscript */
div.itemHeader span.itemAuthor {display:block;padding:0;margin:0;}
div.itemHeader span.itemAuthor a {}
div.itemHeader span.itemAuthor a:hover {}
div.itemToolbar {padding:2px 0;margin:16px 0 0 0;border-top:1px dotted #ccc;border-bottom:1px dotted #ccc;background:#f7fafe;}
div.itemToolbar ul {text-align:right;list-style:none;padding:0;margin:0;}
div.itemToolbar ul li {display:inline;list-style:none;padding:0 4px 0 8px;margin:0;border-left:1px solid #ccc;text-align:center;background:none;font-size:12px;}
div.itemToolbar ul > li:first-child {border:none;} /* remove the first CSS border from the left of the toolbar */
E486: Pattern not found: 36px
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
div.itemHeader h2.itemTitle
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
I had changed the value and also deleted "font-size" parameter, but nothing has been changed for title.
The issue is parameters in k2.css right? Or this will be template issue?
Sorry to bother you.. but I would be happy if you can help me out...
Regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Make sure you have copied the file on your template's css folder, or you are editing the file which is present there.
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
I've modified with k2.css where is in under /com_k2/css folder. Or I need to change the css file where is in the template directory?
Regards,
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- sesami
-
Topic Author
- Offline
- New Member
- Posts: 13
Let me summarize please. Now, I have done as follows.
1. I changed font size or tried to remove it at itemHeader tag from k2.css file where is located in /com_k2/css and in /templates/my template/css both.
But nothing has been changed. The font size is the same.
Could you kindly check this out please..
Regards,
Please Log in or Create an account to join the conversation.