One Page Section

A deprecated section shortcode that anchors a one-page website's scrolling navigation, superseded by WPBakery's Row.

One Page Section is a full-width background section like Fullwidth Section, plus a Section ID and Section Title used to build a one-page site's scrolling navigation (menu links and side-circle bullets). It's deprecated; new one-page sites should use a Row with its own One Page Section option instead.

Two stacked one-page sections, "Intro" and "Features", each showing its section id and name

Deprecated: use a Row instead

WPBakery hides One Page Section from the main Add Element list; it only appears under the Deprecated tab. For new content, add a Row, fill in its Section ID and Section Title fields (under a One Page Section tab), and turn on One Page in the Header tab of the page's Highend Settings box. See One-page navigation for the full setup, including the menu that links to each section.

The WPBakery Add Element dialog's Deprecated tab, listing Fullwidth Section and One Page Section

Each section's Unique Section ID (for example first-page) becomes that section's HTML id. A one-page navigation menu links to it with a # prefix (#first-page), and clicking the link scrolls smoothly to the section instead of loading a new page. The Section Title is separate: it's the label shown in the small circle-bullet navigation that appears down the side of a one-page layout, not in the menu itself. See One-page navigation for how to build the matching menu and turn on the side navigation.

Add it

To edit an existing One Page Section, open the page in WPBakery and double-click the element. To add a new one, open Add Element, switch to the Deprecated tab, and pick One Page Section, or use the shortcode directly. See Shortcode.

Settings

Unique Section IDTextid

A unique id without whitespace, for example first-page. Menu links use it with a # prefix (#first-page) to scroll to this section.

Section TitleTextDefault: My Pagename

Shown in the circle navigation on one-page websites.

ContentEditorcontent

The section's body content, entered between the shortcode tags.

Background TypeSelectDefault: Background Colorbackground_type

Options: Background Color, Background Image, Background Texture, Background Video.

Enable Border?SwitchDefault: Offborder

Adds a border around the section.

Text ColorSelectDefault: Darktext_color

Options: Dark, Light. Use Light when the background is dark, and vice versa.

Background ColorColorbg_color

Used when Background Type is Background Color.

Background Image or TextureImageimage

Used when Background Type is Background Image or Background Texture.

Enable Parallax effect for image?SwitchDefault: Offparallax

Adds a parallax scroll effect. Only applies to Background Image.

Optional Scissors Icon?SwitchDefault: Offscissors_icon

Adds a small scissors icon.

Background Video MP4Textbg_video_mp4

Used when Background Type is Background Video.

Background Video OGVTextbg_video_ogv

An OGG-format fallback for the MP4 video.

Background Video PosterImageposter

Shown while the video loads, or if it can't play.

Video Texture Overlay?SwitchDefault: Offoverlay

Adds a texture overlay on top of the video.

Margin TopTextmargin_top

Top margin. Enter a number for pixels, or a value with a unit (em, %, etc). Under a Position tab.

Margin BottomTextmargin_bottom

Bottom margin, same format as Margin Top. Under a Position tab.

Inside Padding TopTextDefault: 30padding_top

Top padding. Enter a plain number for pixels, or a value with a unit (em, %, etc).

Inside Padding BottomTextDefault: 30padding_bottom

Bottom padding, same format as Inside Padding Top.

Common settings

One Page Section also has an Extra class name field. See the Elements overview. It does not have the Entrance Animation/Delay fields most other elements have.

Shortcode

[onepage_section id="intro" name="Intro" bg_color="#ffffff" padding_top="70" padding_bottom="70"]
[title type="h2" align="center"]Intro[/title]
[/onepage_section]

Everything between [onepage_section] and [/onepage_section] renders inside the section. Stack several sections, each with its own id, to build a one-page layout. If you omit name, the section gets no data-title; WPBakery's panel pre-fills Section Title with "My Page", but typing the shortcode by hand leaves it blank unless you set name yourself.

On this page