- Posts: 1
COMMUNITY FORUM
Read More
- Jeff Davis
- Topic Author
- Offline
- New Member
Less
More
12 years 7 months ago - 12 years 7 months ago #62998
by Jeff Davis
Read More was created by Jeff Davis
By default when clicking on the read more link the intro text is displayed in a larger font size and bold, is there any way to disable this?
Also unlike standard Joomla the read more link displays whether there is any read more text or not, is it necessary to manually set the parameters for each item?
Thanks for your help
Regards
Jeff
Also unlike standard Joomla the read more link displays whether there is any read more text or not, is it necessary to manually set the parameters for each item?
Thanks for your help
Regards
Jeff
Please Log in or Create an account to join the conversation.
- Aaron
- Offline
- Premium Member
12 years 7 months ago #62999
by Aaron
Replied by Aaron on topic Re: Read More
Jeff,
Introtext:
Check the CSS (k2.css) file for itemintrotext. It shows bold..
Introtext:
Check the CSS (k2.css) file for itemintrotext. It shows bold..
Aaron :)
Please Log in or Create an account to join the conversation.
- Ranshell Rasco
- Offline
- New Member
Less
More
- Posts: 13
12 years 5 months ago #63000
by Ranshell Rasco
Replied by Ranshell Rasco on topic Re: Read More
I was having the same issue, Introtext becomes bold fonts when you insert Read More.
I found that there are two (2) K2.CSS files. The first one is located in \com_k2\css directory. That's not the one you want. I edited that file, and produced no results. I discovered that the second K2.CSS file which is actually being used is located in root-domain\templates\the-template-you-are-using\css. I edited that file, and it worked.
Hope it works for you.
I was just wondering why K2 Developers not made this a user option that can be easily changed in the backend. Why do you have to bold the introtext in large fonts? It looks ugly to me, although it may be fine to other people.
I found that there are two (2) K2.CSS files. The first one is located in \com_k2\css directory. That's not the one you want. I edited that file, and produced no results. I discovered that the second K2.CSS file which is actually being used is located in root-domain\templates\the-template-you-are-using\css. I edited that file, and it worked.
Hope it works for you.
I was just wondering why K2 Developers not made this a user option that can be easily changed in the backend. Why do you have to bold the introtext in large fonts? It looks ugly to me, although it may be fine to other people.
Please Log in or Create an account to join the conversation.
- Ranshell Rasco
- Offline
- New Member
Less
More
- Posts: 13
12 years 5 months ago - 12 years 5 months ago #63001
by Ranshell Rasco
Replied by Ranshell Rasco on topic Re: Read More
Another alternative is to simply remove the div class reference in the item.php file:
Log in or Create an account to join the conversation.
- designer
- Offline
- New Member
Less
More
- Posts: 8
12 years 4 months ago - 12 years 4 months ago #63002
by designer
Replied by designer on topic Re: Read More
please can you help more
am unable to find those 2 files and i messed up all the site while trying to fix them.
and when i try to delete this
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
all intro text disappear, i only want to make the font normal not bold, where do i have to search?
why is that ugly option by K2? some people are really strange
am unable to find those 2 files and i messed up all the site while trying to fix them.
and when i try to delete this
<!-- Item introtext -->
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
all intro text disappear, i only want to make the font normal not bold, where do i have to search?
why is that ugly option by K2? some people are really strange
Please Log in or Create an account to join the conversation.
- Evagelos Papadopoulos
- Offline
- New Member
Less
More
- Posts: 6
12 years 4 months ago #63003
by Evagelos Papadopoulos
Replied by Evagelos Papadopoulos on topic Re: Read More
just delete the div tags (top and bottom) and leave the php code as is...
<div class="itemIntroText">
<?php echo $this->item->introtext; ?>
</div>
<?php echo $this->item->introtext; ?>
Please Log in or Create an account to join the conversation.
- Katharina
- Offline
- Senior Member
Less
More
- Posts: 54
12 years 4 months ago #63004
by Katharina
Replied by Katharina on topic Re: Read More
Information about why there are sometimes two k2.css files and why you should make changes in the second one:
Templating with K2 (and the concepts of sub-templates)
Please Log in or Create an account to join the conversation.
- designer
- Offline
- New Member
Less
More
- Posts: 8
12 years 4 months ago #63005
by designer
Replied by designer on topic Re: Read More
thanks again for replying
can you tell me where exactly is that (item.php) or those two K2.CSS files plz? because am editing it using cpanel file search and i don't know if am editing the right file. am all new to joomla and k2 so plz excuse my weak knowledge
can you tell me where exactly is that (item.php) or those two K2.CSS files plz? because am editing it using cpanel file search and i don't know if am editing the right file. am all new to joomla and k2 so plz excuse my weak knowledge
Please Log in or Create an account to join the conversation.