Customize sidebar in article view page

Hi
How can I remove one sidebar when user try to view article?
for example in this link we can see two sidebars, But when we go to an article page view, we see only one sidebar

Hi @Amir_Darejeh,

You can’t define the block plugins position depending on the page. The example you sent is implemented using CSS. Someone edited the articleView.css file, that’s used only inside the article view pages, and added the style display: none to the #leftSidebar id.

If you want to replicate that, just edit the styles/articleView.css file, and add this at the end of the file:

#leftSidebar {
     display: none;
}

Regards,
Bruno

1 Like