Astra template setup sidebar with full-width page toggle

in using Astra Theme to create WordPress website, many people will encounter such a need: some pages need to display sidebar (such as the blog listings page), and some pages need to be full-width layout (such as the home page, landing page, or reading mode page).Astra provides a simple way to set up, so that the different pages to display different layouts.

Image[1]-Astra Theme Setting Sidebar with Full Width Layout Method

1. Enter Astra Customization Settings

  • Log in to the WordPress backend.
  • Click [Appearance] in the left menu.
Image[2]-Astra Theme Setting Sidebar with Full Width Layout Method
  • Click Customize to enter the Astra theme.customizablePanel.
Image [3]-Astra Theme Setting Sidebar with Full Width Layout Method

2. Go to Global Settings and find the container

  • In the Customization panel, click [Global].
Image [4]-Astra Theme Setting Sidebar with Full Width Layout Method
  • Inside Global, click [ ].Container(container)]
Image [5]-Astra Theme Setting Sidebar with Full Width Layout Method

At this point, you will see the Container Layout settings page, which contains three layout options.

3. Selection of a site-wide default layout

In [Container Layout], follow the icon prompts to select the desired layout:

  • Narrow: Narrower content area and more white space on the left and right for pages that require visual focus.
  • Normal / Default: The content is medium width and fits most pages, including blog listing pages and post pages.
  • Full Width / Stretched layout: Content spread across the width of the browser, commonly used on the home page, Banner,landing pageor read the page without interruptions.
Image [6]-Astra Theme Setting Sidebar with Full Width Layout Method

Once you have made your selection, click the [Publish] button at the top of the page to save your settings.

4. Setting up different layouts for individual pages

If you only want to set a different layout for a page than the whole site, you can follow the steps below:

  • Go back to the WordPress backend and click [Pages].
  • Find the page that needs to be modified and click [Edit] to enter the page.editor (software)The
Image [7]-Astra Theme Setting Sidebar with Full Width Layout Method
  • In the right-hand [Document] panel, find the Astra SettingsThe
Image [8]-Astra Theme Setting Sidebar with Full Width Layout Method

exist Container Layout (Container Layout) in which you can see four layout icons to choose from:

  • first: Use the site-wide Customizer Setting.
Image [9]-Astra Theme Setting Sidebar with Full Width Layout Method
  • second reason: Standard width (Normal), with a fixed width for the content and white space on both sides.
Image [10]-Astra Theme Setting Sidebar with Full Width Layout Method
Image [11]-Astra Theme Setting Sidebar with Full Width Layout Method
  • third: Narrow layout (Narrow), where the content width is narrower than the standard layout.
Image [12]-Astra Theme Setting Sidebar with Full Width Layout Method
Image [13]-Astra Theme Setting Sidebar with Full Width Layout Method
  • fourth: Full Width / Stretched, where the page content is spread across the width.
Image [14]-Astra Theme Setting Sidebar with Full Width Layout Method
Image [15]-Astra Theme Setting Sidebar and Full Width Layout Methods

5. Blog page sidebar settings

If you need to turn it on or off for a blog pagea side-bar (in software)::

  • Go back to the [Customize] panel and click [Post Types].
Image [16]-Astra Theme Setting Sidebar with Full Width Layout Method
Image [17]-Astra Theme Setting Sidebar with Full Width Layout Method
  • In the [Sidebar Layout] section, select:
    • no sidebar
    • left sidebar
    • right-hand sidebar
Image [18]-Astra Theme Setting Sidebar with Full Width Layout Method

When the settings are complete, click [Publish] to save.

6. Elementor page layout settings

If the page uses the Elementor Editor:

  • Select the "Full Width / Stretched" layout in the Page Astra Settings.
Image [19]-Astra Theme Setting Sidebar with Full Width Layout Method
  • After entering the Elementor editor, set the page layout in [Site Settings] in the upper left corner:
    • Elementor Canvas(completely blank canvas, hide header and footer)
    • Elementor Full Width(content full width, header and footer retained)
Image [20]-Astra Theme Setting Sidebar with Full Width Layout Method

7. Summary

Astra provides flexible layout switching methods, which can be standardized in site-wide settings or set up for each page individually to satisfyblog (loanword)The first page, the reading page, the landing page and other different scenarios demand.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
Customer Service
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.
kudos623 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments