Keyword

Extra fields

  • verdura
  • verdura's Avatar Topic Author
  • Offline
  • New Member
More
4 years 10 months ago #172317 by verdura
Extra fields was created by verdura
Hi all,

Thanks in advance for all the input.
I was trying to define some pages for some course definitions and end up using "Extra Fields". But now in the page the text doesn't appear line up.

www.dropbox.com/s/6dds6vr3q73svmm/1.PNG?dl=0

2 doubts:
1 - Can I make 2 columns one with the labels and another with the data field?
2 - Can I use the extra fields in the Itens main text?

Thanks

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

More
4 years 10 months ago #172320 by JoomlaWorks
Replied by JoomlaWorks on topic Extra fields
This is because the content from the left column exceeds the column's width and as such is placed below the right column. It's really a matter of how your current Joomla template styles/supports K2.

Replying to your other 2 questions...
1. Yes. The output is a <ul> either way with 2 <span> elements for label and value. If you set a fixed width for the label, you can balance the layout in 2 columns.
2. Yes. Just move the extra fields block right below your "fulltext". Your template probably has overrides for K2 already under /templates/YOUR_TEMPLATE/html/com_k2/.

See the source template (item.php) here: github.com/getk2/k2/blob/master/components/com_k2/templates/default/item.php#L244

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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


Powered by Kunena Forum