Applying backgrounds via popup

Setting background for entire Webpage

To activate a webpage background content—a color, texture, or image—simply select the semantic trigger from the pop-up menu. The webpage triggers are BKG-COLOR, BKG-TEXTURE, and BKG-IMAGE. Using these will apply the default background styles from your dashboard widgets:

  • BKG-COLOR: This fills the webpage background with the color of Styles Dash > Body Widget > $Color. To override, set $bpBkgColor.
  • BKG-TEXTURE: This fills the webpage background with a scrolling texture made of the repeating image BodyTexture.png. To override this texture with a different one, set $bpBkgTexture to some other file inside your default Theme Folder.
  • BKG-IMAGE: Fills the webpage background with the fixed image BodyImage.png (stored in your current Theme Folder). To override this with another background image, set $bpBkgImage to some other file in your default Theme Folder.

Note that BKG-TEXTURE and BKG-IMAGE can be combined with BKG-COLOR if the former have an Alpha channel.

You can add other options to modify these:

The modifier for BKG-TEXTURE is BKG-FIXED, which makes the BodyTexture.png texture fixed.

The modifiers for BKG-IMAGE are BKG-XFIT and BKG-YFIT, which stretch the BodyImage.png image to fit the width or height. (You can use both to fit the image exactly to the browser.)

Setting background for Text Area only

The Main Text Area background content can be exported as floating cards with the with color, border, and shadow you set in Styles Dash > PostBody Widget > $Color. This is especially attractive for the Category: ___ and home pages, which contain lists of truncated posts. But it can also look quite nice applied to entire posts.

  • CARD: Transforms the Main Text Area into a floating card with color, border, and shadow. This is most noticeable for pages with teasers—i.e., the Home and category pages. For these pages, the Main Text area becomes a series of floating cards. To override, set $bpBkgCardColor.

Using BKG-BEQUEATH to override

To have a category pass its texture to its child posts, add BKG-BEQUEATH to $blogExpOpt of the parent.

  • BKG-BEQUEATH passes color, texture, and image from parent to child. Whether the content will be in the child’s export still depends on its using the trigger.

For example, if a child uses BKG-IMAGE, its background image would normally be either BodyImage.png (in whatever Theme Folder you’ve assigned in the Styles Dash) or $bkgBodyImage (the local override attribute). However, if its parent uses BKG-BEQUEATH, its background image will be that of its parent.

Default triggers for your special notes

While all PAGES and POSTS are blank by default, your special webpages (Home, Pages, About, The 404 Page, Archives, Categories, and individual Category: ___ pages) have certain default settings. These are easily changed in their respective Key Attributes Tables.

For example, the cat_note prototype has its $bpBkgOpt set to BKG-TEXTURE and CARD. As a result, their teasers appear as floatings cards atop the static and repeating BodyTexture.png of the current Theme Folder. The presence of the texture is a good indicator that you are looking at a category rather than a proper post (a POST or PAGE).