Jump to content

How to hide widget on new topic post page.


Tomink

Recommended Posts

I just realized something as I placed a widget at the top of my forum. 

When I go to create a new topic, the widget that I only wanted on the home page is showing up on the new topic post page. 

Is there a way I can hide the widget based on the page? 

Thanks!

Link to comment
Share on other sites

I had the same problem, add this code into your custom.css and see if the problem still persist.

body[data-pagecontroller="topic"] .ipsLayout_sidebarright {
    display: none !important;
}
body[data-pagecontroller="forums"] .ipsLayout_sidebarright {
    display: none !important;
}
body[data-pagecontroller="announcement"] .ipsLayout_sidebarright {
    display: none !important;
}
body[data-pagecontroller="directory"] .ipsLayout_sidebarright {
    display: none !important;
}

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...