How to write an IF/ELSE Conditional Statement?
Design and Skin Customization
Actually, a better way, is, if you want that transparent for all of the profile pages, then set it in the profile_header.tpl file.
So in elastic,
/skins/jrElastic/profile_header.tpl
looks like this:
{jrCore_include template="header.tpl"}
<div class="container">
<div class="row">
<div class="col12 last">
<div class="profile_name_box">
.....
What you can do is set a value before the header is included, so that value is available in header.tpl, like this:
{$transparent = "on"}
{jrCore_include template="header.tpl"}
<div class="container">
<div class="row">
<div class="col12 last">
<div class="profile_name_box">
....
Since $transparent is set before header.tpl is included, it will be available inside header.tpl.
From there, you can use it like this:
<div id="{if $transparent == "on"}transparentcontent{else}content{/if}">
and transparent will be on for all things that use the profile_header.