right to left text problem
-
hello
I’m using Arabic letters and it should go from right to left
however, when i create a footnote the text goes from left to right in the tooltip and in the Reference Container.im using the last update of WordPress
can u help me please ?
-
Hello @arahmanshaalan,
Thank you for reaching out and reporting these bugs in the stylesheet of the Footnotes plugin.
I apologize for getting the stylesheet wrong, leaving 4?instances of
text-align: left;
while in 2?instances, the value is already correctlytext-align: start;
.You may fix these bugs instantly by adding the following rules in Custom?CSS, either in the plugin’s dashboard under the Custom?CSS tab, or in your theme’s Additional?CSS:
.footnote_tooltip, .footnote_plugin_text, .footnote_container_prepare > p { text-align: start !important; } .footnote_plugin_index, .footnote_plugin_index_combi, .footnote_plugin_symbol { padding: 5px 0 10px 6px !important; }
After adding these rules, a test page in Arabic seems now to display correctly in my sandbox. It looks like this screenshot: https://ibb.co/8gmWQx7
If that doesn’t fix your display, be sure to keep in touch so we try to find out what’s wrong. For investigating beyond the general, you may wish to share a URL.
The plugin’s style sheet shall be corrected in the very next release.
Thanks and apologies again!
Now the new bugfix 2.5.8 has been released and is available for updating the plugin, and it works out better, as we see when comparing this new screenshot with the previous one: The footnote number on the Arabic test page is now correctly aligned with the reference container label.
Please let us know if the corrected CSS rules will work the same way on your website.
Thank you for initiating this overdue fix!
We apologize for the longlasting bug affecting RTL websites using the Footnotes plugin.
Best regards.
Wow !
How fast and helpful are you ??Thank you so much.
Last inquiry..
May you please tell me how to reset the blugin settings.
I changed many settings while trying to fix this problem yesterday and i want to get the original settings back.Many thanks for your feedback and your rating! Happy to assist you, and glad to learn that it works out well.
I changed many settings while trying to fix this problem yesterday and i want to get the original settings back.
First of all: Please let me apologize for the trouble you were having because of the plugin’s defective CSS!
I’d love to be able to walk you to a Reset button, but sadly the plugin is still lacking this feature, also because I was more concerned with the loss of your data, and disabled the Erase-on-uninstall function after thinking that it already didn’t work.
Right now the best I can figure out to reset the plugin is to clear 3?values in the database. When opening the DB in the browser using phpMyAdmin, you will see the relevant rows by typing
footnotes_storage
in the filter box after making sure that enough rows are displayed. In theoption_name
column, look forfootnotes_storage
(containing the settings of the first dashboard tab),footnotes_storage_custom
(second tab), andfootnotes_storage_expert
(third tab). In the next column, double-click on theoption_value
, select all, delete. Repeat this for the other tabs. Nothing more to do, it’s already saved.After doing this, when you open or reload a dashboard tab, you will see all the settings reset to their default value.
I apologize for recommending this complicated procedure. It’s the best I can tell you on the spot, but I’ve started guessing how we should implement the missing Reset button. I think my teammates know better, so I’m going to open an issue and hopefully the feature will be available soon.
Please let us know if that works for you, or e.g. in case the WordPress instance does not come with easy access to its database, we’ll fast-track a new bugfix release — because when a reset button is needed, it’s lack is like a bug with respect to usability.
I REPEAT MY THANKS TO YOU
HAVE A GOOD DAYThank you, You are welcome! Same to you!
I’m sorry to reopen this problem again
but i observed that everything is going great in the same browser I’m using with WordPress ,
but when i open incognito tap or use another browser the old problem of text alignment is stand still.you can check with this content i made
press here pleasethank you
Thank you for keeping in touch. Not to worry. That is indeed very interesting, but if I’m not mistaken, it’s only due to caching, so this issue can be solved by emptying the cache. It’s about server-side caching, performed e.g. by a caching plugin. It helps you develop your website by letting you see your changes in real time. Once you are done, just empty the cache so that your up-to-date website will be delivered to your visitors. Slipping into their role is a clever step that lets you see what they’re getting! For instance it’s an older style sheet that still has the
text-align: left;
rule instead of the correcttext-align: start;
.While investigating your issue, I’ve noticed too that the external style sheet version numbers appended as a URL parameter are missing, so your visitors’ browsers don’t notice when you switch to a new version, and would keep caching the old files if they got to cache them. Appending version numbers for what is called “cache busting” is a feature provided by the WordPress blog engine, that the Footnotes plugin does make use of. All these version numbers (defaulting to the WordPress version) may be stripped off by security plugins. Hence you might be interested in a new option making the version number a part of the file name, to make sure your visitors’ browsers will load the most up-to-date style sheet. It’s not the first time I see this problem, but up to now I was unable to assess such a feature, whether it is desired or would be considered a nuisance.
So you may try to look for a button clearing the server-side cache.
If that doesn’t solve the problem, never mind to post further feedback so we can try to investigate more in-depth.
- The topic ‘right to left text problem’ is closed to new replies.