How to align East Asian texts vertically for
-
I have no knowledge of CSS, and would like to align Japanese texts vertically like this webpage https://dl.dropboxusercontent.com/u/444684/OpenWebDemos/css3writingModes/japanese-upright.html .
Are there anyone with knowledge or experience of CSS for Japanese or Chinese vertical texts? Can you post your CSS here?
The blog I need help with is: (visible only to logged in users)
-
Hi there,
I don’t know how to read Kanji (Japanese font), but after I see the page on dropbox I found the css, maybe you can apply it to your site;
.entry-content{ -ms-writing-mode: tb-rl; -webkit-writing-mode: vertical-rl; -moz-writing-mode: vertical-rl; -ms-writing-mode: vertical-rl; writing-mode: vertical-rl; -webkit-text-orientation: upright; -moz-text-orientation: upright; -ms-text-orientation: upright; text-orientation: upright; } -
@nizamilputra Thank you for the CSS you posted. It was successful when I entered the css in the Customizer mode, but when I opened my blog’s link, the texts were still horizontal.
When I returned to the Customizer mode, the CSS was like this and somehow WordPress just deleted the content between the { } symbols.
.entry-content { } -
Would you mind to put that code again in Customizer?
I’m afraid it because you’ve changed the theme. -
@nizamilputra Here is what I did
http://postimg.org/image/m8c4xb01p/ – Step 1
http://postimg.org/image/als0w6cql/ – Step 2
http://postimg.org/image/e440skdml/ – Step 3Besides, which theme was suitable for vertical writing? Are there any more steps should I do?
-
I think you did the right way. But I don’t know why the css properties gone.
I’ll try to add tag staff, hopefully they can give the answer. -
Hi there,
The code you got from nizamilputra is correct, and you did everything right. The problem is the CSS selectors required to make this work are still experimental so they aren’t supported on WordPress.com. Experimental selectors sometimes change, or stop being accepted all together, so if/when that happened your site would break for no apparent reason–not fun.
We do update our list of allowed CSS periodically, so if this particular code makes it out of the experimental stage, it may work on WordPress.com in the future.
- The topic ‘How to align East Asian texts vertically for’ is closed to new replies.