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
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.
Article: Color variables
Hiding mention of Bubble in the Developer Tools console
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
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:
Navigating to Settings - General, scrolling to the General appearance header and checking the Expose the option to add an ID attribute to checkbox
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:
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.
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.
No Spaces: It should not contain any spaces.
Case Sensitivity: IDs are case-sensitive. For instance,
elementID
andelementid
would be considered different IDs.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
Last updated