Hi @arjunsudhas1995
If you are fetching the roottitle from properties you can simply use :
<div class="mytest">
<sly data-sly-test="${properties.roottile != 'root' || properties.roottile != 'roottitle1'}">
Inside rootTitleCond
</sly>
<sly data-sly-test="${properties.roottile != 'root' || 'roottitle1'}">
Inside rootTitleCondnEW
</sly>
</div>
Both the conditions work for me. Make sure you use proper whitespacing before and after operators like I have used. Otherwise, sightly will fail to work
Thanks