[Skip to main content](#vessel-content)

#   Layout address in 2 column

##

- **[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")**
- [![davideventurini's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12876-davideventurini "View davideventurini's Profile") Topic Author
- [ Offline](/forum/user/12876-davideventurini)

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 9 months ago -  13 years 9 months ago [\#90762](#90762) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#90762 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")* was created by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")*

Hello, I would like to change the layout of the registration form.
What I'd like to create is a registration form in 2 column as the picture
Which is the layout concerning the form?

[ ![Immagine.jpg](/forum/attachment/8649) ](/forum/attachment/8649 "Immagine.jpg")

thank you

- [ ![Immagine.jpg](/forum/attachment/8649) ](/forum/attachment/8649 "Immagine.jpg") [ ](/forum/attachment/8649?download=1 "Immagine.jpg")

Last edit: 13 years 9 months ago by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 9 months ago [\#90884](#90884) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#90884 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Hi,

You have to edit the view "checkout / address".

The following user(s) said Thank You: [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")**
- [![davideventurini's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12876-davideventurini "View davideventurini's Profile") Topic Author
- [ Offline](/forum/user/12876-davideventurini)

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 9 months ago [\#91052](#91052) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#91052 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

OK I dont think to be able to modify the layout in that way.
Thank you anyway.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Eliot](/forum/user/1824-eliot "View Eliot's Profile")**
- [![Eliot's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar1824.png)](/forum/user/1824-eliot "View Eliot's Profile")
- [ Offline](/forum/user/1824-eliot)

Less More

- Posts: 2334
- Thank you received: 403
-
-

13 years 9 months ago [\#91115](#91115) by [Eliot](/forum/user/1824-eliot "View Eliot's Profile")  Replied by *[Eliot](/forum/user/1824-eliot "View Eliot's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#91115 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Hi there,
It's not especially difficult to do so, you just have to include the different elements for your form in a table (it's an easy html tag).
Or you can put the different part in two div with a css rule like float:left

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")**
- [![davideventurini's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/12876-davideventurini "View davideventurini's Profile") Topic Author
- [ Offline](/forum/user/12876-davideventurini)

Less More

- Posts: 84
- Thank you received: 0
-
-

13 years 9 months ago [\#91358](#91358) by [davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")  Replied by *[davideventurini](/forum/user/12876-davideventurini "View davideventurini's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#91358 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Good, I'll try to do that, thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")**
- [![shoppist's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31108-shoppist "View shoppist's Profile")
- [ Offline](/forum/user/31108-shoppist)

Less More

- Posts: 108
- Thank you received: 1
-
-

9 years 8 months ago -  9 years 8 months ago [\#265423](#265423) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  Replied by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#265423 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Hi,

I tried doing the same but can't figure out which part belongs to which field:
I need exactly the same layout and of course to keep it responsive. Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 2.6.4 * @author hikashop.com * @copyright (C) 2010-2016 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;&lt;?php if($this-&gt;identified) { $config = hikashop_config(); $address_selector = (int)$config-&gt;get('checkout_address_selector', 0); $mainId = 'hikashop_checkout_address_billing_only'; $leftId = 'hikashop_checkout_billing_address'; $mainClass = 'hikashop_checkout_address_billing_only'; $leftClass = 'hikashop_checkout_billing_address'; if($this-&gt;has_shipping) { $mainId = 'hikashop_checkout_address'; $leftId = 'hikashop_checkout_address_left_part'; $mainClass = 'hikashop_checkout_address'; $leftClass = 'hikashop_checkout_address_left_part'; } if(HIKASHOP_RESPONSIVE) { $mainClass .= ' '.HK_GRID_ROW; $leftClass .= ' '.HK_GRID_COL_6; } ?&gt; &lt;div id="&lt;?php echo $mainId; ?&gt;" class="&lt;?php echo $mainClass; ?&gt;"&gt; &lt;div id="&lt;?php echo $leftId; ?&gt;" class="&lt;?php echo $leftClass; ?&gt;"&gt; &lt;fieldset class="hika_address_field" id="hikashop_checkout_billing_address"&gt; &lt;legend&gt;&lt;?php echo JText::_('HIKASHOP_BILLING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php if(empty($address_selector) &#124;&#124; $address_selector == 0) { $this-&gt;type = 'billing'; echo $this-&gt;loadTemplate('view'); } else { $this-&gt;type = 'billing'; echo $this-&gt;loadTemplate('select'); } if($this-&gt;has_shipping) { ?&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;div id="hikashop_checkout_address_right_part" class="hikashop_checkout_address_right_part&lt;?php if(HIKASHOP_RESPONSIVE){ echo ' '.HK_GRID_COL_6;} ?&gt;"&gt; &lt;fieldset class="hika_address_field" id="hikashop_checkout_shipping_address"&gt; &lt;legend&gt;&lt;?php echo JText::_('HIKASHOP_SHIPPING_ADDRESS'); ?&gt;&lt;/legend&gt; &lt;?php $checked = ''; $style = ''; $override = false; foreach($this-&gt;currentShipping as $selectedMethod){ if(!empty($selectedMethod) &amp;&amp; method_exists($selectedMethod, 'getShippingAddress')) { $override = $selectedMethod-&gt;getShippingAddress(); } } if(!empty($override)) { ?&gt; &lt;span class="hikashop_checkout_shipping_address_info"&gt;&lt;?php echo $override; ?&gt;&lt;/span&gt; &lt;?php } else { if($config-&gt;get('shipping_address_same_checkbox', 1)) { $onclick = 'return hikashopSameAddress(this.checked);'; if($this-&gt;shipping_address==$this-&gt;billing_address){ $checked = 'checked="checked" '; $style = ' style="display:none"'; $nb_addresses = count(@$this-&gt;addresses); if($nb_addresses==1){ $address = reset($this-&gt;addresses); if(!empty($address_selector)) { $onclick='if(!this.checked) { window.localPage.switchAddr(0, \'shipping\', '.(int)$this-&gt;shipping_address.'); } '.$onclick; }else{ $onclick='if(!this.checked) { hikashopEditAddress(document.getElementById(\'hikashop_checkout_shipping_address_edit_'.$address-&gt;address_id.'\'),1,false); } '.$onclick; } } } ?&gt; &lt;label for="same_address"&gt; &lt;input class="hikashop_checkout_shipping_same_address inputbox" &lt;?php echo $checked; ?&gt;type="checkbox" id="same_address" name="same_address" value="yes" alt="Same address" onclick="&lt;?php echo $onclick; ?&gt;" /&gt; &lt;?php echo JText::_('SAME_AS_BILLING');?&gt; &lt;/label&gt; &lt;?php } else { $style = ''; } ?&gt; &lt;div class="hikashop_checkout_shipping_div" id="hikashop_checkout_shipping_div" &lt;?php echo $style;?&gt;&gt; &lt;?php $this-&gt;type = 'shipping'; if(!empty($address_selector)) { echo $this-&gt;loadTemplate('select'); } else { echo $this-&gt;loadTemplate('view'); } ?&gt; &lt;/div&gt; &lt;?php } } ?&gt; &lt;/fieldset&gt; &lt;/div&gt; &lt;/div&gt; &lt;div style="clear:both"&gt;&lt;/div&gt; &lt;?php }else{ }

Last edit: 9 years 8 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile"). Reason: please use the [code][/code] tags

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 8 months ago [\#265427](#265427) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#265427 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Hi,

Please note that this thread is 4 years old. The address view isn't used for that anymore now.
If you're on HikaShop 2.6.4, it's the file "custom_fields" or "custom_fields_bootstrap" of the view "user" that you'll want to edit.
In fact, with bootstrap activated, each field is its own DIV and you might be able to arrange the fields in two columns with only CSS code.

And for HikaShop 3.x, it will be the file "sub_block_login_registration" of the view "checkout", and similarily, each field is its own DIV and you might be able to arrange the fields in two columns with only CSS code.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")**
- [![shoppist's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31108-shoppist "View shoppist's Profile")
- [ Offline](/forum/user/31108-shoppist)

Less More

- Posts: 108
- Thank you received: 1
-
-

9 years 8 months ago [\#265470](#265470) by [shoppist](/forum/user/31108-shoppist "View shoppist's Profile")  Replied by *[shoppist](/forum/user/31108-shoppist "View shoppist's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#265470 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

I have the latest stable version of HikaShop Business: 2.6.4
I cannot find those CSS classes in the checkout page.

I do use bootstrap.

-
- [ ![Capture2.JPG](/forum/attachment/37153) ](/forum/attachment/37153 "Capture2.JPG") [ ](/forum/attachment/37153?download=1 "Capture2.JPG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 8 months ago [\#265483](#265483) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Layout address in 2 column](/forum/4-how-to/78502-layout-address-in-2-column#265483 "Hello, I would like to change the layout of the registration form. What I'd like to create is a registration form in 2 column as the picture Which is the layout concerning the form?  thank you")*

Hi,

I'm not sure what you mean ?
In the screenshot Capture2.JPG you provided in your last message, you did find the classes for the country and for the state.
For example, you could add such CSS:
.hikashop_registration_address .control-group{
width : 49% !important;
float : left !important;
}
That would make all the address fields on two columns normally.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4NTAyLWxheW91dC1hZGRyZXNzLWluLTItY29sdW1uP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.100 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
