How to Create a Sidebar in JupiterX
Sidebars can significantly enhance the functionality of your website by providing additional content, navigation, and links. In JupiterX, creating and managing sidebars is a breeze, thanks to our user-friendly approach. Whether you want to add a sidebar for extra info or for utility, JupiterX theme coupled with Elementor Page Builder offers you the flexibility to customize sidebars to suit your needs.
Sidebar Locations in JupiterX
JupiterX offers several predefined sidebar locations for you to utilize:
- Sidebar Primary: The main sidebar that typically appears on the left or right side of your content.
- Sidebar Secondary: An additional sidebar, which can be used for extra widgets or content.
- Footer sections: From Footer 1 to Footer 6, offering multiple areas for widgets at the bottom of your pages.
For an enhanced design experience, consider creating sidebars with our Layout Builder and Elementor Widgets, rather than just relying on the traditional WordPress widgets.
Creating a Sidebar: Step-by-Step Guide
Step 1: Create a New Single Page Template
- Navigate to
JupiterX
>Layout Builder
. - Choose either “Single” or “Archive” and create a new template. For this guide, select “Single.”
Step 2: Create Sidebar and Content Containers
- Drag a flex container into your layout and split it into two columns. We recommend a 70/30 percentage split for a balanced look.
- Assign the smaller column (30%) as your sidebar and place your desired widgets there.
- In the larger column, incorporate the Post Content Widget to dynamically display content from various pages or posts.
- Tip: Be sure to include a Post Content Widget to avoid the 'Content Not Found Error' in Elementor.
Step 3: Preview Settings
- Click the gear icon located in the top-center of the Elementor editor to access Preview Settings.
- Select a pre-existing page, such as "Sample Page," for previewing your layout.
- Hit "Apply and Preview" to see a live example of your template.
Step 4: Adding WordPress Widgets to the Template
Within the Elementor Editor Widget Panel, scroll to locate traditional WordPress Widgets.
Tips: For WooCommerce online stores, you might want to add specific search and filter widgets related to Product Archives and Single Product Templates in this step.
Step 5: Styling Your Sidebar
- Enter the style settings for WordPress widgets to set global styles for titles (like H3 headings) and lists.
- Use the 'Advanced Tab' for precise widget styling, including background color, padding, and margins.
- For Elementor widgets, tweak styles using the individual controls under the 'Style' tab.
Step 6: Setting Display Conditions
- Finalize your template by setting the appropriate display conditions. For a site-wide sidebar, select ‘Pages > All’.
- For more specific locations like posts or certain categories, adjust the condition settings accordingly.
- Save your template to implement the changes.
Important Notes
- Ensure your pages and posts are set to use the 'Default Layout' in JupiterX settings for the sidebar to appear correctly.
- If you want to exclude a sidebar, for example on the homepage, choose either 'Elementor Full Width' or 'Canvas' layout to achieve that.
By following this guide, creating a customized sidebar that not only adds to the functionality but also the aesthetics of your JupiterX site is straightforward. Whether it’s for simple navigation or a complex content display, JupiterX and Elementor empower you to do it with ease and style.
We hope you find this article useful. Keep an eye on our Knowledge Base for more tutorials and insights to help you build an amazing website with JupiterX!