How to adjust the length of inputbox

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #79590

Hi there,

I have a problem about how to adjust the input box length of hikashop registration form? As the picture shows.

I hope to unify the length, but have no idea where to modify the css.

Please help me.

Thank you very much. :)

Attachments:
Last edit: 11 years 11 months ago by tinachou.

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

  • Posts: 2334
  • Thank you received: 403
11 years 11 months ago #79597

Hi there,

A solution consist in adding some css in System>Configuration>Display to the css file.
Look at the id of the input (with inspect element in firefox for example) and add something like that:

#address_firstname{
width:300px;
}

It will change the size of the specified input :).
Hope it helped!

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

  • Posts: 107
  • Thank you received: 1
11 years 11 months ago #79619

Hi, thank you for replying so quick. :cheer:

Yes, I have modified the CSS as:

#address_country, 
#data_address_address_state,
#address_telephone, 
#address_city ,
#address_post_code,
#address_street,
#address_lastname,
#address_firstname,
#register_email
{
border:1px solid #c0c0c0;
width:80%;}

I also have another two questions:

1. I need to change the translation of the lable in the registration form, where should I edit?

2. I need to remove some input options in the form and adjust the order of the input. How can I achieve that?

Thank you so much. :)

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

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

Hi,

To change the translations of the label, you can do it in HikaShop > Display > Custom Fields and edit them. Or in your language file in HikaShop > Display > Languages.

To remove some input and change the order, you can do that too in HikaShop > Display > Custom Fields

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

Time to create page: 0.080 seconds
Powered by Kunena Forum