Home Forums WoodMart support forum Products (grid or carousel) in Layouts cause rtl issues

Products (grid or carousel) in Layouts cause rtl issues

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • #391902

    Skunk
    Participant

    Adding “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?

    • This topic was modified 2 years, 7 months ago by Skunk.
    • This topic was modified 2 years, 7 months ago by Skunk.
    • This topic was modified 2 years, 7 months ago by Skunk.
    #391963

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #391992

    Skunk
    Participant

    Sure

    • This reply was modified 2 years, 7 months ago by Skunk.
    #391996

    Artem Temos
    Keymaster

    We 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

    #392007

    Skunk
    Participant

    I 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.
    #392029

    Skunk
    Participant

    Okay, 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.
    #392040

    Artem Temos
    Keymaster

    Hi,

    Could you please send us a link to your website where we can see this issue?

    Kind Regards

    #392056

    Skunk
    Participant

    Details

    #392063

    Artem Temos
    Keymaster

    Please, send us your FTP access so we can check what is wrong there.

    #392100

    Skunk
    Participant

    Alright

    #392106

    Artem Temos
    Keymaster

    It 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

    #392118

    Skunk
    Participant

    I 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

    #392234

    Artem Temos
    Keymaster

    Unfortunately, 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

    #392280

    Skunk
    Participant

    Can 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.

    #392374

    Artem Temos
    Keymaster

    We don’t have a link to such a report. But it is how WordPress works.

    Kind Regards

Viewing 15 posts - 1 through 15 (of 15 total)