Hi @iwanttobeDev 1. To solve your first issue, you can try below HTL generic code, which will be true for its all first-level children.${currentPage.parent.path == '/content/path1/path2/parent'} 2. Go through this link https://stackoverflow.com/questions/19571249/get-current-page-url-in-adobe-cq5-f...