Expand my Community achievements bar.

SOLVED

How to add dir="rtl" in html tag of page in AEM 6.5

Avatar

Level 1

I want to add the attribute dir="rtl" in <html> tag of the pages, but I don't see any html code in my project structure or root page html where this html tag is present. Is there any way to do it without using JS in AEM 6.5? 

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

If your page component has supertype of core component then you can find html at /apps/core/wcm/components/page

 

https://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/...

 



Arun Patidar

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

If your page component has supertype of core component then you can find html at /apps/core/wcm/components/page

 

https://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/...

 



Arun Patidar

Avatar

Community Advisor

Hi @sourbhad ,

 

In your overriden core page component, in page.html file add the dir attribute. If you want, you can also make the dir attribute as configurable in page properties.