Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

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

AEM LinksLinkedIn

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

AEM LinksLinkedIn

Avatar

Level 10

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.