Background Setting



GitPitch supports a number of background-* settings that can be combined to deliver precise control over default background images used by any presentation.


Setting: Background

Purpose

The background setting lets you specify a default background image for all slides within your presentation.

Sample Syntax


background : assets/img/bg.png

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background setting supports both relative and absolute paths to the image file.

The background image file type can be any JPEG, PNG, or GIF image file. SVG background image support - for pixel perfect rendering at any resolution - is available as a Pro image feature.

Note, a default background image can be overridden on individual slides within a presentation using standard image delimiter syntax.


Setting: Background-Size

Purpose

The background-size setting lets you specify a sizing and scaling policy for your default background image.

Sample Syntax


background-size : auto 90%

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background-size setting can take any value that is valid on the background-size css property. See the Image Features Background Scaling documentation for further details.


Setting: Background-Position

Purpose

The background-position setting lets you specify a custom position for your default background image.

Sample Syntax


background-position : left

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background-position setting can take any value that is valid on the background-position css property. See the Image Features Background Positioning documentation for further details.

The background-position setting is frequently used in conjuction with the background-size setting to deliver a final custom background image configuration for a presentation.


Setting: Background-Color

Purpose

The background-color setting lets you specify a custom color to fill any exposed slide area not covered by your default background image.

Sample Syntax


background-color : black

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background-color setting can take any value that is valid on the background-color css property. See the Image Features Background Color documentation for further details.

The background-color setting is frequently used in conjuction with the background-size setting to deliver a final custom background image configuration for a presentation.


Setting: Background-Repeat

Purpose

The background-repeat setting lets you specify a custom image repeat policy to be applied to your default background image.

Sample Syntax


background-repeat : repeat-x

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background-repeat setting can take any value that is valid on the background-repeat css property. See the Image Features Background Repeat documentation for further details.


Setting: Background-Opacity

Purpose

The background-opacity setting lets you specify a custom opacity filter to be applied to your default background image.

Sample Syntax


background-opacity : 75

Details

Slideshow settings are activated using a PITCHME.yaml properties file.

The background-opacity setting must take a value defined within the following series of permissible values: 10, 15, 20, 25, 30,…,90, 95, 100. Each value represents a percentage of full image transparency at 100%.

See the Image Features Background Opacity documentation for further details.

Note: Opacity filters are a Pro image feature only.