Keyword

Read More... within <p></p> of the introtext?

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #117332 by EasiStudio
I have edited category_item.php so the Read More... link appears in the same div as the introtext. However I am wondering how I would get Read More... to appear on the bottom line of the introtext?

The introtext is within a <p></p> so currently the Read More... link appears beneath the introtext.

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

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 1 month ago #117333 by Yiota
The <p> tags are inserted through your editor while adding the text for your K2 item. The only way you can get your readmore to stand right in the end of the introtext element is through CSS.
Try adding this to your template or k2.css whichever your template uses

div.catItemIntroText, div.catItemReadMore {display:inline;}

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

  • EasiStudio
  • EasiStudio's Avatar Topic Author
  • Offline
  • Junior Member
More
11 years 1 month ago #117334 by EasiStudio
Replied by EasiStudio on topic Re: Read More... within <p></p> of the introtext?

Yiota Ziaggou wrote: The <p> tags are inserted through your editor while adding the text for your K2 item.

Doh !!! It all comes flooding back now.

All one needs to do is go into the Global Configuration settings for JCE (or whatever Editor they are using) in the backend and switch Container Element & Enter Key to "No containers & linebreak".

Many thanks for jogging my memory.

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


Powered by Kunena Forum