- Posts: 26
COMMUNITY FORUM
Extrafields CSS issue
- goble
-
Topic Author
- Offline
- Junior Member
Less
More
11 years 1 month 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.
Many thanks,
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,
Please Log in or Create an account to join the conversation.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month 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.
Please Log in or Create an account to join the conversation.
- goble
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
11 years 1 month 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!
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.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month 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.
Please Log in or Create an account to join the conversation.
- goble
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 26
11 years 1 month 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
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.
- Lefteris
-
- Offline
- Platinum Member
Less
More
- Posts: 8743
11 years 1 month 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.
Please Log in or Create an account to join the conversation.