• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.5 Remove Background only for profile page

katsulynx

Well-known member
#2
You could create a second background laying above the original one, effectively removing it from sight, but the first indicator on what type of page you are happens 3 levels below the body, so you can't alter it directly from what I see spontaneously.
 

Optic

Well-known member
#4
If you declare your background as CSS inline within page_container, you could wrap this conditional around it:

Code:
</head>

<xen:if is="{$contentTemplate} != 'member_view'">
<body{xen:if {$bodyClasses}, ' class="{$bodyClasses}"'} style="background-image:url(yourBG.jpg)">
<xen:else />
<body{xen:if {$bodyClasses}, ' class="{$bodyClasses}"'}>
</xen:if>

<xen:hook name="body">
Untested but that should work..