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

#   Checkout page breaking sidebar width

##

- **[recedo](/forum/user/773-recedo "View recedo's Profile")**
- [![recedo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar773.png)](/forum/user/773-recedo "View recedo's Profile") Topic Author
- [ Offline](/forum/user/773-recedo)

Less More

- Posts: 37
- Thank you received: 0
-
-

15 years 9 months ago -  15 years 9 months ago [\#5626](#5626) by [recedo](/forum/user/773-recedo "View recedo's Profile")  *[Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5626 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")* was created by *[recedo](/forum/user/773-recedo "View recedo's Profile")*

On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.

I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.

I cannot figure out where to change this.

In the css I have looked at the
Code:

\#hikashop_checkout_page

element and tried adding a width attribute to it, I have tried all of the following with no luck;
Code:

\#hikashop_checkout_page div.hikashop_cart_bar{ text-align:center; width: inherit; } #hikashop_checkout_page div.hikashop_cart_bar{ text-align:center; width: auto; } #hikashop_checkout_page div.hikashop_cart_bar{ text-align:center; width: 100%; } #hikashop_checkout_page div.hikashop_cart_bar{ text-align:center; width: 90%; }

I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.

I am looking with firebug but I can't seem to figure out what I need to change/add!

Thanks in advance
Simon

[ ![&#91;img](http://www.hikashop.com/media/kunena/attachments/legacy/images/screen.png) ](http://www.hikashop.com/media/kunena/attachments/legacy/images/screen.png "&#91;img")

- [ ![screen.png](/forum/attachment/355) ](/forum/attachment/355 "screen.png") [ ](/forum/attachment/355?download=1 "screen.png")

Last edit: 15 years 9 months ago by [recedo](/forum/user/773-recedo "View recedo's Profile").

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

- **[recedo](/forum/user/773-recedo "View recedo's Profile")**
- [![recedo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar773.png)](/forum/user/773-recedo "View recedo's Profile") Topic Author
- [ Offline](/forum/user/773-recedo)

Less More

- Posts: 37
- Thank you received: 0
-
-

15 years 9 months ago [\#5627](#5627) by [recedo](/forum/user/773-recedo "View recedo's Profile")  Replied by *[recedo](/forum/user/773-recedo "View recedo's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5627 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

Think I have figured this one out by myself now.

I found in the css;
Code:

/* checkout address layout */ .hikashop_checkout_address{ clear:both; width:700px; margin:auto; }

I will play with this and hopefully sort my problem.

Simon

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjYtY2hlY2tvdXQtcGFnZS1icmVha2luZy1zaWRlYmFyLXdpZHRoP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#5628](#5628) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5628 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

Each view of the checkout has a div around it with the class hikashop_checkout_VIEW where VIEW is the name of the view.

On your screenshot, I see the cart view of the checkout. So you should look at the CSS for hikashop_checkout_cart.

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

- **[recedo](/forum/user/773-recedo "View recedo's Profile")**
- [![recedo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar773.png)](/forum/user/773-recedo "View recedo's Profile") Topic Author
- [ Offline](/forum/user/773-recedo)

Less More

- Posts: 37
- Thank you received: 0
-
-

15 years 9 months ago [\#5629](#5629) by [recedo](/forum/user/773-recedo "View recedo's Profile")  Replied by *[recedo](/forum/user/773-recedo "View recedo's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5629 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

Thanks - I see that several elements have widths defined - would it not make more sense giving them percentages so they fit more peoples templates?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjYtY2hlY2tvdXQtcGFnZS1icmVha2luZy1zaWRlYmFyLXdpZHRoP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#5630](#5630) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5630 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

Percentages don't work in a lot of cases. We found that the fiwed width we set by default are the best so far with template compatibility.
Besides, it is easy to change them by just editing the hikashop CSS via the interface in the config.

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

- **[recedo](/forum/user/773-recedo "View recedo's Profile")**
- [![recedo's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar773.png)](/forum/user/773-recedo "View recedo's Profile") Topic Author
- [ Offline](/forum/user/773-recedo)

Less More

- Posts: 37
- Thank you received: 0
-
-

15 years 9 months ago [\#5632](#5632) by [recedo](/forum/user/773-recedo "View recedo's Profile")  Replied by *[recedo](/forum/user/773-recedo "View recedo's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5632 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

Just out of interest - why don't percentages work in some cases?

Going through my checkout pages now changing the widths - it's easy enough but would be nice for the pages to just fit to the container no matter what size I have it set to, as it does with the category/product views.

Thanks again
Simon

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjYtY2hlY2tvdXQtcGFnZS1icmVha2luZy1zaWRlYmFyLXdpZHRoP3RtcGw9bWFya2Rvd24=) 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: 86561
- Thank you received: 14307
-
-

15 years 9 months ago [\#5637](#5637) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Checkout page breaking sidebar width](/forum/4-how-to/5626-checkout-page-breaking-sidebar-width#5637 "On my checkout pages my sidebar gets reduced from what it should be, breaking my layout a little in places.  I have attached a screenshot. The top section shows the checkout page with the width of the sidebar smaller than it should be, the bottom section shows the product list page with the sidebar the correct width.  I cannot figure out where to change this.  In the css I have looked at the  element and tried adding a width attribute to it, I have tried all of the following with no luck;  I have also tried changing the width of the cart table, again with no luck on reducing the width of the entire checkout page.  I am looking with firebug but I can't seem to figure out what I need to change/add!  Thanks in advance Simon")*

There is no width set for most of the views of the checkout. Only the login and address views have it set. That is because the views width changes based on the options and what is in your cart. You might get only the left part or only the right part or both of them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzU2MjYtY2hlY2tvdXQtcGFnZS1icmVha2luZy1zaWRlYmFyLXdpZHRoP3RtcGw9bWFya2Rvd24=) 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.060 seconds

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