Bubble Docs
  • Introduction
  • New? Start Here
  • What is Bubble?
  • The Glossary
  • User manual
    • Getting started
      • What is Bubble?
      • Building your first app
        • Planning features
        • Database structure
        • Design and UX
        • eCommerce and payments
          • Shopping cart
          • Checkout page
          • One-time payments
          • Subscriptions
          • Marketplace
      • Creating and managing apps
      • The Bubble editor
        • Tabs and sections
          • Design tab
            • The element tree
            • The property editor
          • Workflow tab
          • Data tab
          • Styles tab
          • Plugins tab
          • Settings tab
            • Application settings
              • Custom headers/body
              • Visual settings
              • Social media sharing
              • Translating your app
              • Email settings
              • Collaboration
            • Custom domain and DNS
          • Logs tab
        • Tools
          • Key features
          • The search tool
          • The Issue Checker
          • The element tree
          • The element property editor
          • The debugger
          • Notes
        • Previewing your app
      • Transitioning to Bubble from...
        • JavaScript
        • HTML and CSS
        • SQL
    • Design
      • Elements
        • The element hierarchy
          • The element tree
        • The page
        • Containers
          • Groups
          • Repeating groups
          • Table elements
          • Popups
          • Floating groups
          • Group focus
        • Visual elements
        • Input forms
          • Text and numbers
          • Dates and time
          • File uploads
          • Selection controls
        • Reusable Elements
      • Styling
        • Color variables
        • Font variables
        • Styles
        • Custom Fonts
      • Responsive design
        • Building responsive pages
        • Legacy articles
          • The Basics (Legacy)
          • Building Responsive Pages (Legacy)
          • Migrating Legacy Pages
          • Tips When Designing (Legacy)
      • Templates
      • The Component Library
      • Importing from Figma
    • Data
      • The database
        • Data types and fields
        • Creating, saving and deleting data
        • Finding data
        • Displaying data
        • Protecting data with privacy rules
        • The database editor
        • Export/import data
          • Exporting data
          • Importing data (CSV)
        • Working with location data
        • Using Algolia
        • Database structure by app type
          • Marketplace Apps
          • Directory & Listings Apps
          • Social Network Apps
          • SaaS Apps
          • Project Management Apps
          • CRM Apps
          • Professional Services Apps
          • On-demand Apps
          • Documentation/ CMS Apps
          • Applicant Tracking System (ATS) Apps
          • Portfolio Apps
          • Gallery Apps
          • Online Store / Ecommerce Apps
          • Blog Apps
          • Messaging App
          • Dashboards
          • Building Block Apps
          • Bubble as a backend
      • Files
      • Images
      • Static data
        • App texts (translations)
        • Option sets
      • Temporary data
        • Custom states
        • URL parameters
      • User accounts
        • Authentication plugins
          • Facebook plugin
          • Fitbit plugin
          • Google plugin
          • Instagram plugin
          • LinkedIn plugin
          • Pinterest plugin
          • Slack plugin
          • Wistia plugin
          • YouTube plugin
        • Cookies set by Bubble
      • Time, dates and time zones
    • Logic
      • The frontend and backend
      • Workflows
        • Events
          • Frontend events
            • Recurring workflows
            • Custom events
          • Backend events
            • Database trigger events
        • Actions
        • API Workflows
      • Dynamic expressions
      • Conditions
      • Navigation
        • Single-page applications (SPA)
        • Multi-page applications
        • Page slugs
    • Workload
      • Understanding workload
        • Activity types
        • The workload calculation
        • Client-side and server-side processing
      • Tracking workload
        • Measuring
          • Using App Metrics
        • Monitoring
          • Workload notifications
          • Infinite recursion protection
      • Optimizing workload
        • Optimization framework
        • Optimization checklist
          • Page load
          • Searches
          • Workflows and actions
          • Backend workflows
        • Agency showcases
          • Minimum Studio
          • Neam
          • Support Dept
    • Security
      • Bubble's security features
      • Planning app security
      • Client-side and server-side
      • Bubble account security
      • App security
      • Page security
      • Database security
      • API security
        • API Connector security
        • Data API security
        • Workflow API security
      • Flusk
        • Overview
        • Flusk plan features
        • Getting started with Flusk
        • Flusk security tools
          • The Issues Explorer
          • Issue details
          • Tools and settings
            • Pages rating
            • Database rating
        • Flusk FAQ
      • Cookies
      • Security checklist
    • Publishing your app
      • Web app
      • Native mobile app
        • Global native mobile settings
        • iOS App Store
        • Google Play Store
        • Publishing FAQ
    • AI
      • Generate apps with AI
        • About AI app generation
      • AI page designer
      • Connect to AI agents
    • Maintenance
      • Collaborators
      • Version control
        • Best practices: Version control
        • Transitioning from the legacy version control
        • Terminology: Version control
        • Version Control (legacy)
      • Commenting
      • Database maintenance
        • Copying the database
        • Restoring database backups
        • Bulk operations
          • Bulk operation methods compared
        • Wiping change history
      • Performance
        • Hard limits
        • Capacity Usage (legacy)
        • Notes on queries
      • SEO
        • Introduction to SEO
        • SEO: App
        • SEO: Page
      • Testing and debugging
        • Introduction to testing and debugging
        • The debugger
        • The server logs
        • Supported browsers
      • API workflow scheduler
    • Integrations
      • API
        • Introduction to APIs
          • What is a RESTful API?
        • The Bubble API
          • Bubble API terminology
          • Authentication
            • How to authenticate
            • No authentication
            • As a User
            • As an admin
          • The Data API
            • Data API Privacy Rules
            • Data API endpoints
            • Data API requests
          • The Workflow API
            • Workflow API privacy rules
            • Workflow API endpoints
            • API workflows
              • Creating API workflows
              • Scheduling API workflows
              • Recursive API workflows
              • API Workflow Scheduler
              • Case: Stripe notifications
        • The API Connector
          • Authentication
          • API Connector security
          • API guides
            • OpenAI
              • Authentication
              • Calls
                • ChatGPT
                  • Chat
            • Google Translate
              • How to setup Google API keys
          • Streaming API
        • API security
        • Plugins that connect to APIs
        • API Glossary
      • Plugins
        • What Plugins Can Do
        • Installing and using Plugins
        • Authentication plugins
        • Special Plugins
      • SQL Database Connector
      • Bubble App Connector
      • WorkOS
        • WorkOS SSO
        • WorkOS API
    • Infrastructure
      • Sub-apps
      • Bubble release tiers
      • Hosting and scaling
        • How Bubble hosting works
        • Scaling with Bubble
        • CDN (Cloudflare)
        • Bubble app names
        • Domain and DNS
      • Compliance
        • GDPR
        • SOC 2 Type II
        • HIPAA
        • Other frameworks and standards
    • Bubble for Enterprise
      • Hosting and infrastructure
        • Dedicated instance
          • The Dedicated editor experience
          • Technical specs
          • Main cluster dependencies
          • Customizable options
          • Migration process
            • Pre-migration
            • During migration
            • Post-migration
      • Security and compliance
        • Single sign-on (SSO)
        • GDPR
        • SOC 2 Type II
        • HIPAA
        • Other frameworks
        • Bubble's security features
      • Admin and collaboration
      • Priority support
      • Billing and Payment Guideline for Dedicated Instances
  • Core Reference
    • Using the core reference
    • Bubble's Interface
      • Design tab
      • Design tab (Legacy)
      • Workflow tab
      • Data tab
      • Styles tab
      • Styles tab (Legacy)
      • Plugins tab
      • Settings tab
      • Logs tab
      • Template tab
      • Toolbar
      • Top and context menu options
      • Deployment and version control
        • Deployment & Version Control Dropdown (legacy)
      • Notes
    • Elements
      • General properties
      • General properties (Legacy)
      • Styling properties
      • Styling Properties (Legacy)
      • Responsive Properties
      • Responsive Properties (Legacy)
      • Conditional formatting
      • States
      • Page Element
        • Page Element (Legacy)
      • Visual Elements
      • Containers
      • Container Layout Types
      • Containers (Legacy)
      • Input Forms
      • Reusable Elements
      • Element Templates (legacy)
    • Workflows
    • Events
      • General events
      • Element events
      • Custom events
      • Recurring event
      • Database trigger event
    • Actions
      • Account
      • Navigation
      • Data (things)
      • Email
      • Element
      • Custom
    • Data
      • Data Sources
      • Operators and comparisons
      • Search
      • Privacy
    • Styles
    • API
      • The Bubble API
        • The Data API
          • Authentication
          • Data API endpoints
          • Data API requests
        • The Workflow API
      • The API Connector
        • Authentication
        • Adding calls
    • Bubble-made Plugins
      • AddtoAny Share Buttons
      • Airtable
      • API Connector
      • Blockspring
      • Box
      • Braintree
      • Bubble App Connector
      • Chart.js
      • Circle Music Player
      • Draggable Elements
      • Dropzone
      • Facebook
      • Fitbit
      • Full Calendar
      • Google
      • Google Analytics
      • Google Optimize
      • Google Places
      • Ionic Elements
      • iTunes
      • Slidebar Menu
      • LinkedIn
      • Localize Translation
      • Mixpanel
      • Mouse & Keyboard Interactions
      • Multiselect Dropdown
      • Progress Bar
      • Rich Text Editor
      • Rich Text Editor (Legacy)
      • Screenshotlayer
      • SelectPDF
      • Slack
      • Segment
      • Slick Slideshow
      • SQL Database Connector
      • Star Rating
      • Stripe
      • Tinder-like Element
      • Twitter
      • YouTube
      • Zapier
    • Application Settings
      • App plan
      • General
      • Domain / email
      • Languages
      • SEO / metatags
      • API
      • Collaboration
      • Sub-apps
      • Versions
  • Account & Marketplace
    • Account and billing
      • Pricing and plans
        • Plans and billing
        • Billing cycle
        • FAQ: Pricing and Workload
      • Account Management
      • Building Apps for Others
      • Selling on the Marketplace
      • Plans & Billing (legacy)
    • Official Bubble Certification
      • Hiring certified developers
    • Building Plugins
      • The Plugin Editor
      • General Settings
      • Updating to Plugin API v4
      • Adding API Connections
      • Building Elements
      • Building Actions
      • Loading Data
      • Publishing and versioning
      • Github Integration
    • Building Templates
    • Application and data ownership
    • Marketplace policies
    • Bug reports
  • Vulnerability Disclosure Policy
  • Beta features
    • About the Beta features section
    • Native mobile apps 🔒
      • Introduction
        • What is a native mobile app?
        • Native mobile vs. web development
        • Differences in native and web elements
        • Native mobile app terminology
      • Building
        • Views and navigation
        • Native mobile actions
        • Components and gestures
        • Device resources
          • Location services
          • Camera/photo library
      • Previewing
      • Publishing
Powered by GitBook
On this page
  • Setting a favicon
  • Changing the color of the progress bar and spinner
  • Hiding mention of Bubble in the Developer Tools console
  • Exposing an ID attribute to elements
  • Enabling and setting the ID attribute
  • Formatting an ID
  • Related topics

Was this helpful?

  1. User manual
  2. Getting started
  3. The Bubble editor
  4. Tabs and sections
  5. Settings tab
  6. Application settings

Visual settings

This section covers the general visual settings for your Bubble app

Most of the design choices you make with Bubble are made as you design your and work with . In this section we will go over the general visual settings for your app.

Setting a favicon

What is a favicon?

A favicon, short for "favorite icon", is a small image that represents your app.

It's the little icon you see in the browser tab next to the title of the page, and it also often appears in bookmarks, browser history, and on shortcuts if you save a website to your home screen on a mobile device.

To assign a favicon to your app, first navigate to Settings - General and scroll to the General appearance header.

Directly underneath you will find the Favicon settings, which allows you to upload an image to be used as the favicon. The favicon should be a square image, and keep in mind that:

  • Favicons should be in PNG or JPG format. SVG is not supported by all browsers.

  • It may be viewed as small as 16x16 pixels: small details such as text may be lost

  • Some browsers have a dark mode: darker favicons may become hard to see against a dark background

Changing the color of the progress bar and spinner

The progress bar is the loading bar at the top of the page when Bubble performs certain tasks such as writing to the database. The spinner is the spinning icon visible when data is loading, such as when Bubble is fetching data for a repeating group.

The color of both of these can be changed by navigating to Settings - General and scroll to the General appearance header. There you will find the two settings:

  • Progress bar color

  • Repeating group spinner

To efficiently maintain colors and consistency across your app, we recommend using Color variables. This can even be applied to app-wide settings such as the progress bar and spinner. You can read more about color variables in the article below.

Hiding mention of Bubble in the Developer Tools console

What is the console?

The console is a part of the developer tools built into the major browsers like Chrome, Firefox, Edge and Safari.

It's like a dashboard where the browser displays messages such as errors and warnings, and where you can type in and run JavaScript code directly.

By default, Bubble includes a small text section in the console that looks like the below:

If you prefer to hide this text in the console, you can check the Remove Bubble mention in console checkbox. Note that this information is not visible to most of your users - only those that purposely load the console in the browser's developer tools.

Exposing an ID attribute to elements

What is the ID attribute?

The ID attribute is a unique identifier assigned to an element on your page. It is used for specifically targeting and manipulating that element through custom CSS, JavaScript, plugins or other kinds of code . The ID attribute ensures that the element can be uniquely singled out from all other elements on the page.

Exposing the ID attribute for elements in Bubble is useful for a number of different reasons. For example, you can use it to apply custom style or binding Javascript code to specific elements. Some plugins also require that you identify an element using the ID attribute.

Enabling and setting the ID attribute

Exposing an ID attribute on elements is disabled by default, but can be enabled by:

  1. Navigating to Settings - General, scrolling to the Advanced options header and checking the Expose the option to add an ID attribute to checkbox

  2. Then, navigate to the element to which you want to apply an ID, open up its property editor and scroll to the bottom of the Appearance tab. See the illustration below:

Formatting an ID

When formatting an ID, it's useful to stick to a few rules to ensure compatability with different technologies and browsers:

  1. Uniqueness: The ID must be unique within a page. You can use dynamic content in the ID Attribute, such as including the index of a the cell of a repeating group.

  2. Start with a Letter: It should start with a letter (uppercase or lowercase) followed by any combination of letters, digits, hyphens, underscores, colons, and periods.

  3. No Spaces: It should not contain any spaces.

  4. Case Sensitivity: IDs are case-sensitive. For instance, elementID and elementid would be considered different IDs.

  5. Avoid Special Characters: Though some special characters like hyphens and underscores are allowed, it's generally a good practice to keep IDs alphanumeric to avoid any unexpected behavior in different browsers or technologies.

Lastly, whenever you reference an ID, keep in mind that the ID string matches exactly with the one assigned to the element. Since IDs are case-sensitive, even a slight variation in case or an extra space can cause the reference to fail. We recommend copy-pasting the ID to make sure it matches.

Related topics

Page and element styling

Pages and element can have styling applied directly on the them, such as:

  • Background color or image

  • Border

  • Shadow

  • Font

  • Transitions

Note that pages and elements can also use saved Styles – see the box below for more information.

Styles

Bubble lets you set up overarching Styles for elements within your app to streamline the design process and promote consistency. By modifying a single style, you can effortlessly restyle all related elements, making it easy to set up and manage a cohesive look and feel in your app.

Each Style is connected to a specific element type and includes the following information (that may vary depending on the element type):

  • Background color or image

  • Border

  • Shadow

  • Font

  • Transitions

Apart from making the design process more efficient, Styles also improves your app's performance by storing styling settings in one central place as opposed to saving it on each separate element.

Font and color variables

Font variables

Font variables allow you to centralize font settings and make changes to the font across multiple elements and Styles. Instead of having to manually adjust font families in each instance they are used, you can simply modify the font variable in one place and watch the change propagate throughout your app.

Color variables

The Color Variables feature in the Styles tab enables you to establish a palette of colors that you can apply throughout your Bubble app. Each color variable contains:

  • A that determines the color value

  • An alpha value that controls its transparency

Last updated 4 months ago

Was this helpful?

Article:

Article: Core reference:

Article: Core reference:

Article:

Article:

Color variables
Styling
Style properties
Styles
Styles
Font variables
Color variables