Options are not responive

  • Posts: 13
  • Thank you received: 0
8 years 11 months ago #245302

-- HikaShop version -- : 2.6.3 business
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.3.28
-- Browser(s) name and version -- : chrome-51.0.2704.103 m firefox-47.0.1

Hello,
I need your help please!
1) The options on product are not responsive. Only the title are responsive but not the options ( tablet-mobile), and i have long options.
Can you help me please with css?
2) The button Add to cart, has the same responsive problem on mobile
3) I add 2 images (gray color) and after theme a pnone number, but the phone number is not below the pictures, but next of them, and i would like help with the divs please.

I use show_tabular layout with custom fields.

Thank you

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

  • Posts: 12953
  • Thank you received: 1778
8 years 11 months ago #245305

Hello,

1. 2. The best solution will probably be to use some CSS code like media queries which will probably help you to do it, here is a thread where you'll find an example :

You can do the modifications in the frontend css file via the menu Configuration > Display > CSS
Use the @media tags to change the width of the columns when the width of the page is less than xx.

ex:
@media (max-width: 767px) {
.hikashop_products .row-fluid .span4 { width: 49% !important;}
}

Here is some documentation about the layout customization:
www.hikashop.com/support/documentation/1...ize-the-display.html


3. To do that, using some CSS code will probably do the job : www.hikashop.com/support/support/documen...the-display.html#css

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

  • Posts: 13
  • Thank you received: 0
8 years 11 months ago #245454

Hi Mohamed,
thank you for your answer,
but look,
I use offen the rool @media (..) for responsive, and i have already read the documentations, but I can not find the the right classes for options, which is the most important problem for the sales.
I have tried many classes, like

.hikashop_product_options_table select 
.inputbox #hikashop_product_option_5
.hikashop_product_characteristics_table select .hikashop_product_options_table select
#hikashop_product_right_part .hikashop_cart_input_button
select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-inputwidth

but none of them works. Can you try to help me please with the classes?
Can i sent you password with email or something?
Thank you

Last edit: 8 years 10 months ago by Jerome. Reason: [code] is nice

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

  • Posts: 26251
  • Thank you received: 4040
  • MODERATOR
8 years 10 months ago #245522

Hi,

Please note that the "product options" are display inner a "table" which is not an element adapted for the responsive.
After that, I am sorry but our support have some limitations ; we can help a little with CSS and customization but that's not what our support is meant to be.
Thank you for your understanding.

We have a documentation page which explain the basic of CSS ; if you want to go further in CSS and customization, I recommend you to read tutorials and lessons on specialized websites.
www.hikashop.com/support/documentation/1...ize-the-display.html

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: 9
  • Thank you received: 0
8 years 9 months ago #249218

Is there an answer or solution to this? I have the same issue with Options as well as Billing/Shipping address during Checkout.

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

  • Posts: 83937
  • Thank you received: 13599
  • MODERATOR
8 years 9 months ago #249247

Hi,

The views are responsive already provided that you turned on the "use bootstrap design" setting of the HikaShop configuration and that your Joomla template is compatible with bootstrap 2 or that you make it so.
If you still have a responsive issue after doing that, then please provide a link to the page with the issue so that we can assess the situation because it should not be a problem.

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

  • Posts: 9
  • Thank you received: 0
8 years 9 months ago #249311

I made this change on Configuration / General Display and it works great on the Checkout screen. The labels are now above the input box, so there is more space for the inputbox. However, on the the Product screen, its still the same. The label is on the left and the box is chopped off.
What do I need to change to impact the Product page?
ifitshair.cloudaccess.host .

attached is an example of the product page Options boxes.

Attachments:
Last edit: 8 years 9 months ago by d1hawkins.

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

  • Posts: 83937
  • Thank you received: 13599
  • MODERATOR
8 years 9 months ago #249323

Hi,

The fact that the labels are still on the left is normal as HikaShop doesn't change that.
However, that's not really a problem. The interface will display fine on smartphones even with the labels on the left.
The issue you have with the dropdown being chopped off comes from the CSS of your Joomla template which forces the size of the table around the dropdown.

If you remove the CSS:

#gkMainbody table {
	width: 540px!important;
	display: block!important;
	padding: 30px 0 20px 0; /* padding for the scrollbars and the top message */
	overflow:scroll;
	-webkit-overflow-scrolling:touch;
}
#gkMainbody table tbody,
#gkMainbody table thead,
#gkMainbody table tfoot {
	width: 540px!important;
	display: table;
}

@media only screen and (max-width: 480px) {
	#gkMainbody table {
		width: 420px!important;
	}
}

@media only screen and (max-width: 440px) {
	#gkMainbody table {
		width: 260px!important;
	}
}
from the file ifitshair.cloudaccess.host/templates/gk_...front/css/mobile.css of your template, it will display fine.

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

  • Posts: 9
  • Thank you received: 0
8 years 9 months ago #249348

Great. Thanks. I'll give that a try as soon as I can.

After making the previous change in Configuration to "use bootstrap", the checkout screen for address and email looks great. The labels are above the text boxes and there's plenty of room on the screen. However, there are 2 side effects.

On the product listing screen now shows 1 column only and the item and pane is very large. I havent been able to find settings to correct this to display smaller images and 3 columns as I had before.

The other side effect is on the checkout screen. The payment options no longer have an "option' box. so its very hard to determine which option is selected when using a mobile device.

Any help you can provide on these side effects would be greatly appreciated.

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

  • Posts: 83937
  • Thank you received: 13599
  • MODERATOR
8 years 9 months ago #249352

Hi,

The problem is that your template is not compatible with bootstrap. So it doesn't contain the necessary CSS to handle these properly.
It will be necessary to add boostrap to it:
www.inmotionhosting.com/support/edu/joom...mplate/add-bootstrap

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

  • Posts: 13
  • Thank you received: 0
8 years 9 months ago #249435

Hi d1hawkins,
I have not understand your problem, sorry for my english, but for the responsive options, I added to my css the rules
@media (max-width: ...px) {
.hikashop_products .row-fluid .span4
.hikashop_product_characteristics_table select .hikashop_product_options_table select
#hikashop_product_right_part .hikashop_cart_input_button

with
{ width: 49% !important; text-overflow: ellipsis;}

and now the options is OK on tablet, for mobile i dont know, because i dont finish yet.
Than i remember text-overflow: ellipsis; help me
I wish you good luck!

Last edit: 8 years 9 months ago by anna3xara.

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

Time to create page: 0.103 seconds
Powered by Kunena Forum