I am using Liferay 6.1.
I am trying to embed a portlet in theme with borderless look and feel. For the same I've added below code in my vm file.
It is working fine after first time page load. As on first page load its coming with border and after that if I refresh the page border is removed.
Please let me know if you need more details.