Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

RTL in metronic_angular_v8.2.5_demo2


I've set up Angular demo-2 and attempted to implement right-to-left (RTL) styling using the guidelines from this link: https://gist.github.com/carmelodevuz/b2c50883a8d164aa4a13c53056caf568. However, when reaching step 9, instead of creating style.rtl.css as expected, style.js is generated. Despite trying to integrate style.js in various locations, I haven't observed any changes in the application's styling.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


Hi

Sorry for the delay. Could you please check from this folder? It should be there.
/angular/demo2/src/assets/css/style.rtl.css

Thank you



Hi Mahmoud Hossam

You can ignore the script.js file and instead import the RTL CSS directly into your /src/styles.scss file.

@import "./assets/css/style.rtl.css";



the command "npm run rtl" created only a style.js file, no style.rtl.css found
I want to know how to create style.rtl.css from angular app


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(