Home › Forums › WoodMart support forum › Products (grid or carousel) in Layouts cause rtl issues
Products (grid or carousel) in Layouts cause rtl issues
- This topic has 14 replies, 2 voices, and was last updated 2 years, 7 months ago by
Artem Temos.
-
AuthorPosts
-
July 19, 2022 at 12:49 am #391902
SkunkParticipantAdding “Products (grid or carousel)” section in the Layouts at the end of a page for example, will load bunch of css files, which will change the order of the css files that are loaded in the whole web page and this makes issues especially in RTL because it gets overrides by the new files.. how to fix this issue? is there a workaround?
July 19, 2022 at 9:06 am #391963
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
July 19, 2022 at 10:05 am #391992July 19, 2022 at 10:12 am #391996
Artem TemosKeymasterWe don’t see any problems on this page. Could you please send us a screenshot so we can better understand what is wrong there?
Kind Regards
July 19, 2022 at 10:40 am #392007
SkunkParticipantI just found that issues are happening only when logged in to the super user..
I’ll deactivate the plugins one by one to check if there are some conflicts..-
This reply was modified 2 years, 7 months ago by
Skunk.
July 19, 2022 at 11:37 am #392029
SkunkParticipantOkay, after digging into it.. I found out that while logged in to the administrator account, in any page that has “Products (grid or carousel)” with Products (grid or carousel) Settings > Update with AJAX on page load? YES. This will make issues in the rtl css, it seems that it loads the css files again some how it will destroy the design of the page.
-
This reply was modified 2 years, 7 months ago by
Skunk.
July 19, 2022 at 11:54 am #392040
Artem TemosKeymasterHi,
Could you please send us a link to your website where we can see this issue?
Kind Regards
July 19, 2022 at 12:33 pm #392056
SkunkParticipantDetails
July 19, 2022 at 12:51 pm #392063
Artem TemosKeymasterPlease, send us your FTP access so we can check what is wrong there.
July 19, 2022 at 2:39 pm #392100
SkunkParticipantAlright
July 19, 2022 at 2:52 pm #392106
Artem TemosKeymasterIt happens because your user has LTR direction languages set in preferences. So all AJAX requests load CSS for LTR while you already have styles for RTL.
So it will never happen for real customers. Unfortunately, we can’t change anything in this case. You can fix it by changing the language for this account.Kind Regards
July 19, 2022 at 3:43 pm #392118
SkunkParticipantI see.. I figured also that it might be something like that, but this is going to cause too much trouble since I might see stuff wrong and start developing custom css to fix it, while I shouldn’t. There should be a pemenant fix so later on if any other admin wanted to choose ltr in the backend and rtl in frontend.. I can’t explain this issue to each admin. Why don’t ajax pick the right frontend language direction? On other sites I have more languages and more admin roles. Can you please consider a patch for this issue? Thanks in advance
July 20, 2022 at 9:07 am #392234
Artem TemosKeymasterUnfortunately, we are not able to fix this. When a current user has a different language set on the backend, all AJAX requests will have responses in that language. It is a WordPress core bug and we can’t do anything with this.
Kind Regards
July 20, 2022 at 11:54 am #392280
SkunkParticipantCan you please tell me if this WordPress core bug has been reported? any idea where to follow up?
Couldn’t find anything related here in WordPress Trac. https://core.trac.wordpress.org/search
Thank you.. Much appreciated.July 20, 2022 at 4:25 pm #392374
Artem TemosKeymasterWe don’t have a link to such a report. But it is how WordPress works.
Kind Regards
-
This reply was modified 2 years, 7 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register