- Posts: 7
- Thank you received: 1
losing responsivity in RTL sites
7 years 3 months ago #307164
by usyuse
losing responsivity in RTL sites was created by usyuse
hello
I installed the quickstart of a theme and as soon as I changed the "site language" to RTL, hikashop lost it's responsivity.
unfortunately this happens even on Protostar. my friend has pro version of hikashop. I asked him to change the language, the same problem.
do you think I should add anything or code or.... to make it responsive in RTL languages?
this is the English site on both mobile and tablet:
classtop.ir/2.png
this is RTL language tablet:
classtop.ir/1.png
RTL language on mobile:
classtop.ir/3.png
hope someone help soon.
kind regards
I installed the quickstart of a theme and as soon as I changed the "site language" to RTL, hikashop lost it's responsivity.
unfortunately this happens even on Protostar. my friend has pro version of hikashop. I asked him to change the language, the same problem.
do you think I should add anything or code or.... to make it responsive in RTL languages?
this is the English site on both mobile and tablet:
classtop.ir/2.png
this is RTL language tablet:
classtop.ir/1.png
RTL language on mobile:
classtop.ir/3.png
hope someone help soon.
kind regards
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307179
by nicolas
Replied by nicolas on topic losing responsivity in RTL sites
Hi,
Thanks for the feedback. That's indeed an issue coming from the old CSS of HikaShop 1.x and 2.x hich wasn't updated for HikaShop 3.x and 4.x.
Remove the code:
and add instead the code:
from the file media/com_hikashop/css/rtl.css and it will work properly.
We'll add that on our end too.
Thanks for the feedback. That's indeed an issue coming from the old CSS of HikaShop 1.x and 2.x hich wasn't updated for HikaShop 3.x and 4.x.
Remove the code:
Code:
.hikashop_subcategories .hikashop_category, .hikashop_products_listing .hikashop_product {
float: right !important;
}
Code:
@media (min-width:576px) {
.hkc-xs-1, .hkc-xs-2, .hkc-xs-3, .hkc-xs-4, .hkc-xs-5, .hkc-xs-6, .hkc-xs-7, .hkc-xs-8, .hkc-xs-9, .hkc-xs-10, .hkc-xs-11, .hkc-xs-12 { float:right; }
}
}
@media (min-width:768px) {
.hkc-sm-1, .hkc-sm-2, .hkc-sm-3, .hkc-sm-4, .hkc-sm-5, .hkc-sm-6, .hkc-sm-7, .hkc-sm-8, .hkc-sm-9, .hkc-sm-10, .hkc-sm-11, .hkc-sm-12 { float:right; }
}
@media (min-width:992px) {
.hkc-md-1, .hkc-md-2, .hkc-md-3, .hkc-md-4, .hkc-md-5, .hkc-md-6, .hkc-md-7, .hkc-md-8, .hkc-md-9, .hkc-md-10, .hkc-md-11, .hkc-md-12 { float:right; }
}
@media (min-width:1200px) {
.hkc-lg-1, .hkc-lg-2, .hkc-lg-3, .hkc-lg-4, .hkc-lg-5, .hkc-lg-6, .hkc-lg-7, .hkc-lg-8, .hkc-lg-9, .hkc-lg-10, .hkc-lg-11, .hkc-lg-12 { float:right; }
}
@media (min-width:1200px) and (max-width:1600px) {
.hkc-lg-clear { clear:right; }
}
@media (min-width:1600px) {
.hkc-xl-1, .hkc-xl-2, .hkc-xl-3, .hkc-xl-4, .hkc-xl-5, .hkc-xl-6, .hkc-xl-7, .hkc-xl-8, .hkc-xl-9, .hkc-xl-10, .hkc-xl-11, .hkc-xl-12 { float:right; }
}
We'll add that on our end too.
The following user(s) said Thank You: usyuse
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307183
by usyuse
Replied by usyuse on topic losing responsivity in RTL sites
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307206
by Philip
Replied by Philip on topic losing responsivity in RTL sites
Hello,
Thanks for your feedback on the RTL mode, I start to work on this, in order to upgrade the rtl.css, I can suggest you to add this on your
rtl.css file (in YourWebSite\media\com_hikashop\css)
Add this code :
#hikashop_order_main .hikashop_order_right_part,
#hikashop_order_main .hikashop_order_left_part {
float: left;
margin-top: 5px;
}
#hikashop_order_main .hikashop_order_left_part {
clear: left;
}
.hika_toolbar .hika_toolbar_btn.hika_btn_32 {
float: left;
}
You can add this at the end of your file.
For your specific quantity filed issue can you provide an Url link because on my side I have this, so basically nothing seems wrong on my localhost.
If you have any other issue with Rtl continue to inform us for rtl.css improvement, as it isn't easy to test everything...many thanks !
Regards
Thanks for your feedback on the RTL mode, I start to work on this, in order to upgrade the rtl.css, I can suggest you to add this on your
rtl.css file (in YourWebSite\media\com_hikashop\css)
Add this code :
#hikashop_order_main .hikashop_order_right_part,
#hikashop_order_main .hikashop_order_left_part {
float: left;
margin-top: 5px;
}
#hikashop_order_main .hikashop_order_left_part {
clear: left;
}
.hika_toolbar .hika_toolbar_btn.hika_btn_32 {
float: left;
}
You can add this at the end of your file.
For your specific quantity filed issue can you provide an Url link because on my side I have this, so basically nothing seems wrong on my localhost.
If you have any other issue with Rtl continue to inform us for rtl.css improvement, as it isn't easy to test everything...many thanks !
Regards
The following user(s) said Thank You: usyuse
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307280
by usyuse
Replied by usyuse on topic losing responsivity in RTL sites
hello and thank you for your reply
I added it but nothing changed. maybe it is a case with my template. I'm using helix 3.
this is the url:
classtop.ir/index.php/shop
another case (as you will see in the url) is that in small desktops and tablets, instead of resizing the images, it crops some of my pictures.
I don't know if I have to resize all of my images?!
this is the sizes advised by my theme provider:
kind regards.
I added it but nothing changed. maybe it is a case with my template. I'm using helix 3.
this is the url:
classtop.ir/index.php/shop
another case (as you will see in the url) is that in small desktops and tablets, instead of resizing the images, it crops some of my pictures.
I don't know if I have to resize all of my images?!
this is the sizes advised by my theme provider:
kind regards.
Please Log in or Create an account to join the conversation.
7 years 3 months ago - 7 years 3 months ago #307305
by Philip
Replied by Philip on topic losing responsivity in RTL sites
Hello,
I will Answer you step by step :
"hello and thank you for your reply I added it but nothing changed. maybe it is a case with my template. I'm using helix 3."
Check 2 solutions :
1. You can add to your css command some "!important" to increase cascade priority, like this by example :
Ex :
#hikashop_order_main .hikashop_order_right_part,
#hikashop_order_main .hikashop_order_left_part {
float: left !important;
margin-top: 5px !important;
}
2. Check that you add your css command in your rtl.css
"another case (as you will see in the url) is that in small desktops and tablets, instead of resizing the images, it crops some of my pictures.
I don't know if I have to resize all of my images?!
this is the sizes advised by my theme provider:"
You don't have to resize yourself, but I use your Url link and wasn't able to see your cropped image issue, can you precise a precise example in order to better understand the context.
Awaiting news from you
Regards
I will Answer you step by step :
"hello and thank you for your reply I added it but nothing changed. maybe it is a case with my template. I'm using helix 3."
Check 2 solutions :
1. You can add to your css command some "!important" to increase cascade priority, like this by example :
Ex :
#hikashop_order_main .hikashop_order_right_part,
#hikashop_order_main .hikashop_order_left_part {
float: left !important;
margin-top: 5px !important;
}
2. Check that you add your css command in your rtl.css
"another case (as you will see in the url) is that in small desktops and tablets, instead of resizing the images, it crops some of my pictures.
I don't know if I have to resize all of my images?!
this is the sizes advised by my theme provider:"
You don't have to resize yourself, but I use your Url link and wasn't able to see your cropped image issue, can you precise a precise example in order to better understand the context.
Awaiting news from you
Regards
Last edit: 7 years 3 months ago by Philip.
The following user(s) said Thank You: usyuse
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307324
by usyuse
Replied by usyuse on topic losing responsivity in RTL sites
Please Log in or Create an account to join the conversation.
7 years 3 months ago - 7 years 3 months ago #307339
by Philip
Replied by Philip on topic losing responsivity in RTL sites
Last edit: 7 years 3 months ago by Philip.
The following user(s) said Thank You: usyuse
Please Log in or Create an account to join the conversation.
7 years 3 months ago #307521
by usyuse
Replied by usyuse on topic losing responsivity in RTL sites
Hello Philip
thank you for your great help.
I couldn't find the exact codes in the template but I wrote some lines in my custom.css to make the width auto. and it worked.!
you helped a lot.
best regards.
Yousef.
thank you for your great help.
I couldn't find the exact codes in the template but I wrote some lines in my custom.css to make the width auto. and it worked.!
you helped a lot.
best regards.
Yousef.
The following user(s) said Thank You: Philip
Please Log in or Create an account to join the conversation.
Time to create page: 0.231 seconds