Keyword

How to style extra fields separately?

  • Manny Santos
  • Manny Santos's Avatar Topic Author
  • Offline
  • Senior Member
More
14 years 7 months ago #80893 by Manny Santos
How to style extra fields separately? was created by Manny Santos
I am trying to style one of the extrafields text field in a group differently. See attached image.I need to give it a bold and different color but not show how to single it out for styling.See picture attached.  Any help would greatly be appreciated. Thanks
Attachments:

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

More
14 years 7 months ago #80894 by william white
Replied by william white on topic How to style extra fields separately?
Just a stab at this. Follow the instructions for templating at community.getk2.org/notes/Templating_in_K2
Look for the file ...../templates/YOURJOOMLATEMPLATE/html/com_k2/templates/YOURTEMPLATENAME/category_item.php
Around line 132 see that you start to process CatItemExtraFields
Around line 137 see that you start to loop thru and display the Extra Fields
PsudoCode - Test for Extra Field Name
Reformat output of the value
Return to loop
If this info is incorrect or there is an eaiser way with css please correct me.
wjwjr

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

More
13 years 1 month ago #80895 by Russell English
Replied by Russell English on topic How to style extra fields separately?
Did you ever get this resolved? As I need to style the extra fields aswell...

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


Powered by Kunena Forum