![]() ![]() Your final structure should be like: ~/path/to/wordpress/wp-content/themes/ ![]() Copy what's there and paste it in a new file named rtl.css and upload it to your theme root. It'll automatically do the conversion and you'll see your RTLed CSS in the Output RTL CSS(the column on the right). Go to the RTLCSS Playground, and in the Input LTR CSS(first column on the left,) paste the contents of your style.css file. Lucky for us, they have an online version of it we can use online without the need to install anything. To generate this, we'll going to use the superb tool RTLCSS. It's a:įramework for converting Left-To-Right (LTR) Cascading Style Sheets(CSS) to Right-To-Left (RTL) WordPress supports RTL themes, it looks for a file named "rtl.css" and loads it if the language of the blog is a right-to-left one(like Arabic or Farsi). So if your theme directory name is " my-theme", your style.css will be at " ~/path/to/wordpress/wp-content/themes /my-theme/ style.css" 2. The main stylesheet is a file named style.css that is located at the root directory of your theme. Here's a way to quickly add RTL support to your theme without the need to type a single line of code. You found the perfect theme for your new blog. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |