Summer Sale
Lifetime 50% discount on all plans
Use code
SUMMER50
Ycode logotype
Features
Layout & Design

Experience full design control to craft professional websites.

CMS

Organize your content your way for maximum impact.

Forms

Build contact, newsletter, and filter forms effortlessly.

SEO

Boost your website's SEO with optimized controls.

Interactions

Add some spark to your website with interactions.

Localization

Translate your website into multiple languages.

Resources
Templates

Customize any template to fit your style and needs.

Integrations

Connect Ycode with your favorite tools.

Customer stories

Explore how others create amazing sites using Ycode.

Academy

Start learning Ycode for free. Get answers to your questions.

Experts

Find experts to help with your website project.

Blog

No-code insights to help you build and design better projects.

Support
Help Center

Find step-by-step guides and answers in our knowledge base.

Contact

Contact us for urgent help.

Community

Connect and learn from others.

Pricing Partners
Log in Sign up
Introduction
Getting started
Dashboard
Dashboard
New project
Profile
Switch account
Users
Billing history
Account settings
Project settings
Project settings
General settings
Project ownership
Allow cloning
Project plan
SEO
Domain
Redirects
API Tokens
Builder
Builder
Canvas
Layers
Switch page
Left-side panel
Editor mode
Keyboard shortcuts
Breakpoints
Preview
Publish
Elements
Elements
Structure
Content
Actions
Media
Tables
Lists
Layouts
Slider
Forms
Form structure
Data form
Filter form
Advanced form
Authentication form
HTML
HTML
Import
Export
Embed
Design
Layer styles
Components
States
Layout
Sizing
Spacing
Typography
Backgrounds
Borders
Position
Effects
Color controls
Animations
Intro to Animations
Trigger
Properties
Page settings
General settings
SEO settings
Social share
Page folders
Workflows
Intro to workflows
ID
Types
When
Events
Data
Interactive
Other
CMS
CMS Collections
Import data
Dynamic elements
CMS pages
Display settings
Filter and search
Collection sorting
Dynamic sorting dropdown options
Pagination
CSV Export
Settings
Integrations
Zapier
Airtable
Custom code
Custom code
Related articles
Color controls
Effects
Position
Borders
Backgrounds
Typography
Spacing
Sizing
Layout
States
Components
Layer styles
Documentation Design

Position

The position defines where the element is positioned on the page. 

There are five different positions to choose from.

Static

This is the default position of all the elements on your page. Static elements appear in the order they are stacked and won’t overlap when there’s no styling added.

Fixed

Fixed elements are positioned relative to the screen size and will stay visible (aka remain in the same place), even when a visitor scrolls down your page. This setting is often used for fixed navigation bars that need to be visible at all times.

Absolute

Its position is not affected by other elements, nor does it affect them. This means you can place items wherever, but be aware that this can limit the flexibility (flow) of your website.

Absolute values are relative to the next parent element that has settings other than static. If there are no such elements, it’s relative to the page itself (body).

Tip: If you want to absolutely position an element within a specific parent, you first need to change the position of the parent to anything but static.

Relative

Important to remember with relative positioning is that it’s relative to itself.

If you add 50px on the top, it will move up 50 pixels from where it would normally be positioned if it was static. Other elements will not adjust to fit the gap created by this position change.

Relative positioning is great to create overlaps, as the change does not affect the position of other elements nor does it mess with your document’s flow.

Keep in mind: When you use the relative position, two things will happen. Firstly, the element will be displayed on top of any other static element. Secondly, it limits the scope of any child elements that are absolute. Elements that are a child of a relative element can be positioned absolutely within that block.

Sticky

Sticky elements mix fixed with relative positioning to create something unique!

Let’s say you have a menu where names are categorized from A-Z. Your table contains a header for A, B, etc. and the corresponding names are below each header.

Now, when you scroll through all the names starting with A, the “A header” will stay fixed on top of the screen so it’s always visible. When you get to the B names, the “A header” will disappear from the screen (relative) and the “B header” will be visible as a fixed header element.

For sticky positioning to work, you need to select at least one value for the top, right, bottom or left side. If your parent element has a set height, or the overflow is set to hidden, scroll or auto, sticky positioning might not work.

Sticky elements are supported in Firefox, Safari and Chrome Canary (56+).

Browse by category

Dashboard
Project settings
Builder
Elements
Forms
Design
Animations
Page settings
Workflows
CMS
Settings
Integrations
Custom code
Ycode logotype

Visual development platform for designers and agencies.

Features Design CMS Forms SEO Animations Localization
Product Updates Pricing Templates Integrations Roadmap Developer API
Company About us Services Blog Contact Brand resources
Learn Help Center Academy Community Customer stories
Partner Experts Partner program Become a Ycode expert
Compare Ycode vs. Webflow Ycode vs. Framer Ycode vs. Squarespace
Let’s keep in touch

Join our monthly email with no-code insights and Ycode updates.

Done!

Thank you for subscribing.


2019 - 2025 © Ycode. All rights reserved.
Terms & Policies Cookies settings