Sep 21, 2023 1:46 pm
Hi,
Following a "censorship" from Adsence which alerts me that I am breaking certain rules... I would like to find a possibility of deactivating the sitebar on the login (/sign-in/), registration, password reset pages and all pages of this kind. Adsence alerts me to the login page because I have an ads code in the sidebar.
It is true that the sidebar on this type of page is not very useful because you only go there to connect, register or edit your profile and the essentials are there...
Is there a possibility to remove the sidebar on this type of page or could it be added during an update?
8 Replies
Sep 21, 2023 2:20 pm
Hi@scoufy
You can remove the sidebar with CSS 😉
Example login and register
#wpforo #wpforo-wrap.wpft-register .wpforo-right-sidebar {width: 0%; display: none;} #wpforo #wpforo-wrap.wpft-register .wpforo-content {width:100%;} #wpforo #wpforo-wrap.wpft-login .wpforo-right-sidebar {width: 0%; display: none;} #wpforo #wpforo-wrap.wpft-login .wpforo-content {width:100%;}
Sep 21, 2023 7:35 pm
Why not use a Widgets Options plugin to controll all that?