Print

Main Page Width

The KB Main Page is generated using the KB shortcode.  The width of the KB Main Page can be adjusted, as explained below.

There are two area for the main page:

a) The Search Box

b) The KB Categories

The search box has two modes: full width or boxed.

Note: If you encounter issues with the full-width option, refer to the Troubleshooting section below.

Boxed Width

The boxed width option sets the maximum width of the search box to 1080px, matching the width of the KB Category container.

Click to zoom

Full Width

The full width option sets the maximum width of the search box to 100%. The actual width will be determined by the theme's constraints. In this example, the full width is 1920px.

Click to zoom

Settings

For more information on basic settings click here

This setting is located in the Search Box section.

Click to zoom

The KB category container displays articles and their categories. 

It has a fixed maximum width of 1080px, which will not be exceeded regardless of theme settings or the number of category columns in the KB. However, the container will shrink on smaller screens.

You can override this with custom code. See our article click here for the custom code.

Click to zoom

A common question :

“My KB Search box won’t go full width even though its set that way and other elements on the page do go full width.”

In this example, the user has the Elementor page builder, and the KB shortcode was inserted into an Elementor section. However, the Elementor section's width was not adjusted to full width.

Click to zoom

To fix this, go to the Elementor section settings and set the content width to "Full width."

Click to zoom
Other Page builders

The solution above generally applies to other page builders as well. If the full-width option isn't working, check that the width settings of your page builder sections are also set to full width.

If you need further assistance, please contact your theme or page builder support for guidance on adjusting the full-width settings.

If the width of your knowledge base isn’t taking up the whole page or isn’t as wide as you’d like, and you’re using a block theme, it’s the theme that’s deciding how wide the page should be. Your knowledge base can’t be wider than what the theme allows. The theme controls how wide your entire website appears. This section will guide you through adjusting some width settings for your pages, enabling you to expand the overall space for your knowledge base to make it wider.

In this part of the article, we present two solutions:

Solution 1: Modify the page template specifically for the knowledge base page. This is a good choice if you only want to change one page and not all the others. However, you’ll need to make additional adjustments to the template. This involves adding headers, footers, and any other missing elements to the template. In essence, you’ll be creating the template anew. Click here

Solution 2: Adjust the page template for the entire website, ensuring a consistent width for all pages. This is an easier change to make, but it will affect the entire site in terms of appearance. Click here

Here's an example of the problem with how block themes control their width settings.

Click to zoom

WordPress.org
A block theme is a WordPress theme with templates entirely composed of blocks so that in addition to the post content of the different post types (pages, posts, …), the block editor can also be used to edit all areas of the site: headers, footers, sidebars, etc.

You can locate Block themes by accessing the WordPress filter tab on WordPress.org or by navigating to the theme page within the administrative interface.

Click to zoom
Block Themes

This article is aimed at people who are familiar with Block themes and have some experience using them.

If you're thinking about modifying your template's structure, it's a good idea to have a conversation with your web developer or explore online documentation that explains how Block themes function.

In this article, we'll guide you through the process of locating the width settings that allow you to make your knowledge base stretch across the entire width of the page.

Click here to lean more about Block themes

These steps will guide you through modifying the page of your knowledge base.

Theme Support

If you need more help with your theme template structure, it's best to get in touch with the theme company directly.

These steps will guide you in adjusting the width settings of your page template, which will impact the appearance of your entire website.

Theme Support

If you need more help with your theme template structure, it's best to get in touch with the theme company directly.

Was this article helpful?
5 out Of 5 Stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents