Keyword

Extrafields CSS issue

  • goble
  • goble's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 6 months ago #126958 by goble
Extrafields CSS issue was created by goble
Hello all,

I have successfully installed and customize k2 user registration extra fields using plg_k2_userExtendedFields_j3x.

But the extra fields (Address, City etc...) to input text (Text area) are not nicely aligned like the default k2 fields. Can someone let me know which file and which CSS code to change ? Snapshot attached.

Attachment not found




Many thanks,
Attachments:

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

More
10 years 6 months ago #126959 by Lefteris
Replied by Lefteris on topic Re: Extrafields CSS issue
Hi. You can override the plugin output by copying /plugins/k2/userExtendedFields/tmpl/default.php to templates/YOUR_TEMPLATE/html/userExtendedFields/default.php. You can do the same for the images and css folders of the plugin.

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

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

  • goble
  • goble's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 6 months ago #126960 by goble
Replied by goble on topic Re: Extrafields CSS issue
Thanks I have created a folder named userExtendedFields in /templates/YOUR_TEMPLATE/html/

Then copied the entire folder content from:
/plugins/k2/userExtendedFields/tmpl/
to:
/templates/YOUR_TEMPLATE/html/userExtendedFields/

Do I have to change anything from here: /templates/YOUR_TEMPLATE/html/userExtendedFields/css/template.css ?

P.S. Sorry but am quite new with K2

Thanks!

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

More
10 years 6 months ago #126961 by Lefteris
Replied by Lefteris on topic Re: Extrafields CSS issue
This has to do with CSS. I cannot know what needs to be changed by looking at a screenshot. If you are familiar with CSS i suggest to use your browser's developer tools to see which styles are applied to the first fields and then apply them also to extra fields.

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

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

  • goble
  • goble's Avatar Topic Author
  • Offline
  • Junior Member
More
10 years 6 months ago #126962 by goble
Replied by goble on topic Re: Extrafields CSS issue
Many thanks,

am already using Firebug in FF but am lost to determine exactly what and where to change the css. The website is at mauritius-web-design.com

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

More
10 years 6 months ago #126963 by Lefteris
Replied by Lefteris on topic Re: Extrafields CSS issue
You need to update the markup of the file /templates/YOUR_TEMPLATE/html/userExtendedFields/ default.php to output a table just like the fields above.

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