Hika Shop not responsive despitw Bootstrap on and code in custom.css

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286431

-- url of the page with the problem -- : www.ginmacher.de
-- HikaShop version -- : 3.2.2
-- Joomla version -- : 3.7.1
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : Hika Shop not responsive at Checkout despite Bootstrap and code in dfault.css template

Hello Team,

I searched through the forum and found several topics ragrding checkout and non resposnive. I read thrugh them but still my checkout is not responsive.

I have the latest Hika Shop version, I have bootstrap on, no legacy checkout and also this code in the custom code in custom.css of the my template itself (I found it in one of your posts):

@media only screen and (max-width: 760px), (min-device-width: 768px) and (max-device-width: 1024px) {
	.hikashop_checkout_cart table,
	.hikashop_checkout_cart table thead,
	.hikashop_checkout_cart table tbody,
	.hikashop_checkout_cart table thead th,
	.hikashop_checkout_cart table tbody td,
	.hikashop_checkout_cart table thead tr,
	.hikashop_checkout_cart table tbody tr {
		display: block;
	}
	.hikashop_checkout_cart table tfoot tr,
	.hikashop_checkout_cart table tfoot td,
	.hikashop_checkout_cart table tfoot {
		display: block;
	}
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_total2_title,
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_shipping_title,
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_final_total_title,
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_coupon_title,
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_tax_title,
	.hikashop_checkout_cart table tbody td#hikashop_checkout_cart_payment_title,
	.hikashop_checkout_cart table tbody td.hikashop_cart_additional_title {
		display: none !important;
	}
	.hikashop_checkout_cart_final_total_title { display:none; }
	.hikashop_checkout_cart table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	.hikashop_checkout_cart table tr { border: 1px solid #ccc; }
	.hikashop_checkout_cart table tr.margin { border: 0px solid #ccc; }
	.hikashop_checkout_cart table td {
		border: none;
		border-bottom: 1px solid #eee;
		position: relative;
		padding-left: 30%;
	}
	.hikashop_checkout_cart td.hikashop_cart_product_name_value {width: 64%}
	.hikashop_checkout_cart table td:before {
		position: absolute;
		left: 6px;
		padding-right: 10px;
	}
	.hikashop_checkout_cart table td.hikashop_cart_product_quantity_value:before { padding-top:3px }
	.hikashop_checkout_cart table td:before { content: attr(data-title); font-weight: bold; }
	.hikashop_checkout_cart .hikashop_product_price_full {
		text-align: left;
		min-height: 20px;
		padding-left: 20px;
		padding-top: 3px;
		display: inline !important;
	}
	.hikashop_checkout_cart .hikashop_product_quantity_field { margin: 0px 16px 0px 20px !important; }
	.hikashop_checkout_cart a span.hikashop_product_variant_subname img { margin-left: 10px; display: block; margin-top: 5px; }
	.hikashop_checkout_cart td.hikashop_cart_product_price_value span.visible-phone { margin-left: 5px; display:inline !important}
	.hikashop_checkout_cart tbody tr td.hikashop_cart_empty_footer { display: none !important }
}

But still the checkoutlooks not good on mobile. Headers are in the products, prices, pics and product desriptions are in one line merged together etc. You can also see it when you make the browser window small.

Thanks for any help. What Do I need to change to get the checkout correct??

Alexander

Attachments:

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

  • Posts: 83778
  • Thank you received: 13565
  • MODERATOR
7 years 3 months ago #286443

Hi,

The issue comes from that CSS of your template which messes with the CSS we have for the responsive system:
monosnap.com/file/9flF7ckwZQsjL4GkjhH3D8JhO8AigV
Remove it in /templates/lt_winery/css/bootstrap.min.css and it will display properly
Also, the names of the subtotal / shipping are longer in your language and thus the prices still go a bit below them even with that change.
So you'll have to either change these translations to use smaller text, or add such CSS to allocate more space to the left side:

@media only screen and (max-width: 760px), (max-device-width: 1024px) and (min-device-width: 768px) {
.hikashop_checkout_cart table td {
    padding-left: 40% !important;
}
}

The following user(s) said Thank You: ginmacher

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286519

Hello Nicolas,

thanks for your fast reply. That works for the checkout good, but one thing here: the prices boxes are still overlapping the columns (see picture): How can I solve this?



Furthermore, it does not help for the shopping cart summary view (before the checkout. Here I still got big problems with the header text due to the buttons (they are moving to far to the left and also, as you see on the both pictures, the text for the product will be gone completly, so the user does not see what is in his shopping cart, just the price, no pictures anymore. I have attached you two screenshots to compare how it should look like if it's wide enough:



And the next problem appears again in the user are, where they can change their adresses, personal data etc. This also looks like to big and the user cannot scroll etc. Somehow this got also messed up (see picture):



I really appreciate your help again to solve that responsicve issue.

Thanks a lot for you time and effort to help me out here

Alexander

Attachments:

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 3 months ago #286523

Hello,

Before can you update your HikaShop version because we just update our frontend css file (with several corrections) and so we will be able to work on the same base.
And I already know that this will correct your button display issue.
Other point, can you precise what do you mean by "prices boxes are still overlapping the columns" maybe by bordered the part issue on your screenshot.

Awaiting news from you.
Regards

Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286570

Hello Philipp,

the update solved some issus, but unfortunately not all of them.

I am still facing the following issue (as posted in my message before):

In the shopping cart (not the checkout, this is OK now) the header is now correct as the buttons move below the header, but in the table overview of the products there is still no product name or product picture in the shopping cart summary before he clicks then to the checkout button. How can I slove this?

2.) The User account data form still is to big for the mobile screen that the fields name, e-mail adress etc. are not shown completly on the screen. And you can also not not move the screen or make it smaller on the mobile. Is just stays there wiith half width of the fields (see also screenshot in my last post before ypur reply). How can I fix that?

I went to tge user account on your Hika site and there the form looks different and fits perfectly :)

Thanks a lot.

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 3 months ago #286584

Hello,

In order to be sure that these issues are coming from our Css files can you switch to a default template like Protostar to see if that solve your display issue.

If yes, I can only advice you to contact your template creator support.
Awaiting news from you.

Regards

Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286629

Hello Philippe,

I changed to Protostar and the same issue apprear (see screenshots)

1.) As you see in Picture one, it the picture gets to small (like mobile view), then the product picture disapears, the name of the product disapers etc. Pic 2 shows you how it should look like. Please be arware, this is not the checkout, that looks OK so far, it is the shopping baske overview before you go to the checkout




2.) The user account data still looks to big from a field point of view (see next screenshot): This also should fit in the repsonsive side:



I appreciate your help which code or css do I have to modify.

Best regards
Alexander

Attachments:

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 3 months ago #286631

Hello,

Please understand that the "profile" is the Joomla profile ; it's not something provided by HikaShop or related to our support.

Regarding your cart display issue ; it is coming from the "style_default" file.
Since you're using HikaShop 3.2 with non-legacy support ; it would be better to not use the "style default" which is a special style made to provide support of HikaShop 2.x views.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286699

Hi Jerome, Admin Team,

thank you again for the answer. I did all the changes in the setting but unfortunately, the shopping cart summary still looks the same. In normal view it has pictures and product descriptions and qty, in responsive view the table shrinks to a mimimum with no pics, no product descriptions, no qty anymore. So the user does not see what is in his shopping cart.

Is there no way to modify the css file and the class (unfortunately I do not know which one) in a way, the the fields are getting smaller but on responsive view also higher that all the information is still shown (pictures I do not care, they can also dissapear in the overview, but product title and quantity).

Example: see the two screenshots in my last post.

Again: Checkout after shopping cart summary looks good now.

Regarding the user account issue I contacted my template provider.

Thank you very much

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 3 months ago #286712

Hello,

How do you want to have something "reponsive" if you're still using the "style" CSS content that I'm telling you that you should not use ?
Please take at this screenshot and you will see why the "name" is not visible anymore when you're in a small screen :
pasteboard.co/H4LMYb5.png

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286736

Hello Jerome,

thanks for your patience, I am no developer so I am learning via try and error.

I tried all things you have said, but maybe I miss something. It doesnt's matter which css I use in the background, it always gives me a bad result in responsivness in the shopping cart.

When I use styles for frontend "none" it gets me names and pics on the shopping cart, but still in a not good view (see screenshot):



I only have the following css for selection. I tried all of them and even tried to cusomize a bit - not no change at all from a responsive point of view.

Alexander

What do I miss. What css exactly should I use where or what do I need to add? Unfortunately I do not understand all in your screenshot from the last post.

Attachments:
Last edit: 7 years 3 months ago by ginmacher.

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 3 months ago #286872

Hello,

As we try to guide you we have to access your website (that was possible from the beginning of this thread but no more...)
When I use your Url link I see this :



So, we awaiting access to be able to process some tests and analyze on your display, for this use our Contact us form, don't forget to add to your message an Url link to this topic.

Regards

Last edit: 7 years 3 months ago by Philip.

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 3 months ago #286917

Hello,

I get it, your issue wasn't just linked to css files, but from settings too, go to Main HikaSHop Configuration => Checkout tab => Checkout part :



As result, you have now your product image in your checkout cart.
Regards

Last edit: 7 years 3 months ago by Philip.
The following user(s) said Thank You: ginmacher

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

  • Posts: 65
  • Thank you received: 3
7 years 3 months ago #286982

Thank you, now finally works :)

Great job and support!!!!!

The following user(s) said Thank You: Philip

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 3 months ago #286987

Hello,

Happy to see that we find the good solution for you !
And don't forget that you can help us in return by note and comment HikaShop on the Joomla Extension Directory that the best way to help us to progress !

Thanks in advance for supporting HikaShop !
Regards

Last edit: 7 years 3 months ago by Philip.

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

Time to create page: 0.134 seconds
Powered by Kunena Forum