Registration form multicolumns

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #101490

Hi,

i need to style the hikashop registration form and i'd like to make it in two columns, not only one like now, and put a button in the top.
What files should i change?


Thanks

Attachments:

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

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #101491

I just forgot it...
in the login page i'd like to put a link to registration, not the entire form, as in the image attached.
Is it possible?

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #101612

Hi,

For the registration form, you have to edit the view "user / registration" in Display > Views.
And to add the register link, "checkout / login".

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

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #101835

Hi Xavier,

thanks for your answer!
The first part is ok, but i can't change the address information below and put it in two columns...
I'd like also to put the button centered, is it possible?

Thanks!

Attachments:

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

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #101868

That can be done in the custom_fields file of the user view.

For the button, you can center it with CSS.

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

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #101919

I think i goes baddn't understand it...
i see one <tr> and 2 <td>, but if i try to put any float="left", also the registration above float, as in the image attached.
I reset eveything, now address information are set the way you can see here
Another little thing:
where i find the css of the button in the registration page?

Attachments:

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

  • Posts: 12953
  • Thank you received: 1778
11 years 6 months ago #101951

I think that you'll be able to center your button with some CSS code like that :

.hikashop_cart_input_button {
margin-left: 248px;
}
Note that you can adapt the value of your "margin-left" property.

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

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #101953

HiMohamed,

thanks for your answer, now the button is good.
I have only the last issue, put the addrees fields in multicolumns.
I tried putting some float:left but it wasn't good.
You can help me about that?

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

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #101995

You can't do that in CSS. As I said, you need to modify the code in the custom_fields file of the user view.

The following user(s) said Thank You: d4rkcloud

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

  • Posts: 31
  • Thank you received: 0
11 years 6 months ago #102498

Ok, now is almost everything good.
I say almost because if i change the css of the button of the registration the way you said, also the button in the product details goes on the right!

How can i change only that???


Thanks
Carmelo

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

  • Posts: 82760
  • Thank you received: 13346
  • MODERATOR
11 years 6 months ago #102543

You should have your CSS like that:
.hikashop_checkout_page .hikashop_cart_input_button {
margin-left: 248px;
}

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

Time to create page: 0.093 seconds
Powered by Kunena Forum