Studio Editor: Setting the Site's Max Width

読了目安: 3分
In the Studio Editor, certain elements are set to scale proportionally by default, which means they grow in direct relation to the screen size. On larger screens, they might even grow too big for your liking. 
Set the max width for sections on your client's site to keep elements from growing beyond the point you want them to. 
GIF showing the max width feature in action on a Studio Editor site - stretching the width to show the elements don't grow
この記事では、その詳細について説明する:

Setting the max width for your client's site

Head over to the Site Styles panel to set the max width. On screens that are wider than the value you set, the element sizes stay fixed, and the site gets side margins. 
The max width you set applies to the entire site, but you can exclude specific sections if needed.
注:
The max width must be larger than 1001px.

To set the max width:

  1. クリック Site Styles undefined エディターの左側にある
  2. Click Max Width.
  3. Enter the desired width in pixels.
The Max Width tab in the Site Styles panel in the Studio Editor, entering a new width in pixels

Excluding specific pages or sections from max width

You can always disable the max width setting for specific sections or pages. This means that elements that scale proportionally will continue to grow in direct relation to the visitor's screen. 

To exclude a page or section:

  1. Select the relevant section.
  2. をクリックする。 Open Inspector アイコン  at the top right of the editor.
  3. Disable the Apply max width toggle under Responsive behavior.
A screenshot of a section grid and the Inspector panel, disabling the max width toggle to exclude the section
Want to exclude the entire page?
Select the page in the Inspector's breadcrumbs, then click Exclude existing sections under Layout. This disables max width for all the sections you currently have on the page. 

A screenshot of the Inspector panel in the Studio Editor, showing where you click to exclude an entire page from max width

よくある質問

下の質問をクリックして詳細をご覧ください。

これは役に立ったか?

|