Arnox
Active member
I've made a new Page node, but when I try to write custom CSS for it in the Template HTML box, XF just seems to want to ignore it completely. Even if I specify <xf:css>, it still ignores it. I don't know what to do from here.
EDIT: Here's my current code:
EDIT: Here's my current code:
HTML:
<xf:widget key="portal_view_new_posts" />
<xf:widget key="forum_overview_new_posts" />
<xf:widget key="siropu_chat" />
<xf:widget key="gaming_events" position="sidebar" />
.p-body-pageContent [data-widget-definition="portal_view_new_posts"]
{
display: none;
}
@media (max-width: @xf-responsiveWide)
{
.p-body-pageContent [data-widget-definition="portal_view_new_posts"] { display: block; }
.p-body-pageContent [data-widget-definition="forum_overview_new_posts"] { display: none; }
}
Last edited: