Site logo

Archived topic

remove sidebar for knowledge base article

3 replies · Started by Danny on June 22, 2019

Viewing posts 1–4 of 4

Hello, I'm using the Heroic Knowledge Base plugin and am trying to set the same page width (with no sidebar) for the article archive, the article category archive and all the articles. I have attempted to do this using the layout element and targeting each of the pages mentioned, setting them to 780px width and no sidebar.

This seems to be working for the article archive and the article category archive. However, the single article pages are showing up much narrower as if there is still a sidebar (without it being shown). How do I fix this?

Thanks

Hi there,

Simplest way with some CSS:

.ht_kb-template-default .content-area {
    float: none;
    width: auto;
}

As i am not sure what the template is doing as it's displaying Archive and Right-sidebar classes in the head - which is a little odd.

Thanks, David, that seems to do the trick.

You're welcome

This archived topic is closed to new replies.