How does an Astra template enable or disable the sidebar only for specific pages?

Astra ThemeIt is a theme in wordpress, known for its small size, extremely fast loading with clean structure. It comes with many templates, but the default layout does not necessarily meet the needs of all pages. For the "Contact Us" "About Us" page, usually want to remove the sidebar; while the blog post page, you need the sidebar to display categories, labels, search box and other content. The following is a practical way to enable or disable the sidebar for a specific page, taking into account your current background interface.

图片[1]-Astra 主题为页面开启或关闭侧边栏设置教程

1. Why should I set the sidebar according to the content of the page?

  • Enhancing the reading experience:landing pageContact page maintains no sidebar layout, focuses on core message and conversion buttons
  • Enhanced content navigation: blog page with sidebar enabled for users to view related posts, latest releases
图片[2]-Astra 主题为页面开启或关闭侧边栏设置教程

2. Astra free version of the method of setting up sidebars for individual pages

Step 1: Go to page editor

  • Login to WordPress Backend
  • Click Pages → All Pages
图片[3]-Astra 主题为页面开启或关闭侧边栏设置教程
  • Find the required modifications to theweb pageClick to edit
图片[4]-Astra 主题为页面开启或关闭侧边栏设置教程

Step 2: Find Astra Settings on the right side of the page.

existGutenberg EditorOn the right, you can see the Astra Settings panel. If it is not shown, click on the gear icon in the upper right corner to switch to the Pages tab.

图片[5]-Astra 主题为页面开启或关闭侧边栏设置教程

Step 3: Setting Sidebar Options

It will be seen in Astra Settings → Sidebar:

  • Default: Inherits the global settings.
  • No Sidebar: full-width display of the page
  • Left Sidebar
  • Right Sidebar
图片[6]-Astra 主题为页面开启或关闭侧边栏设置教程

After selecting the suitable layout, click Update in the upper right corner and the page sidebar layout takes effect immediately.

Practical Examples

  • fig. beginning: Choose No Sidebar for a full-screen banner and branding.
  • Blog page: keep Right Sidebar, show search box, latest posts, category navigation
  • Contact Us page: Select No Sidebar to allow users to focus on theform (document)submit (a report etc)

3. Sidebars are standardized throughout the site

If you need a uniform sidebar layout for all pages or posts:

  • Go to Appearance → Customize
图片[7]-Astra 主题为页面开启或关闭侧边栏设置教程
  • Find the General option
图片[8]-Astra 主题为页面开启或关闭侧边栏设置教程
图片[9]-Astra 主题为页面开启或关闭侧边栏设置教程
  • Select No Sidebar, Left Sidebar or Right Sidebar as required.
图片[10]-Astra 主题为页面开启或关闭侧边栏设置教程

4. Summary

Astra Free EditionPage-level settings can turn sidebars on or off for different pages without the need for plugins or code. If you can't find the Sidebar settings portal, prioritize adjustments in Astra Settings on the right-hand side of the page editor, where Astra has centralized page layout controls to create the best possible reading and conversion layout for each page.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
客服微信
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by lmx
THE END
If you like it, support it.
kudos116 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments