Sc Text Overlay
A WordPress Gutenberg block with a background image and a text overlay
by Myles Taylor · github.com/rtro92/gutenberg-sc-overlay-text
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/rtro92/gutenberg-sc-overlay-text/archive/refs/heads/main.zipGutenberg Block - Adds a section with a background image and a text overlay box.
Description
Adds a section with a background image and a text overlay box.
For backwards compatibility, if this section is missing, the full length of the short description will be used, and Markdown parsed.
Installation
- Upload the plugin files to the
/wp-content/plugins/sc-text-overlaydirectory. - Activate the plugin through the 'Plugins' screen in WordPress
Frequently Asked Questions
What image dimensions should I use?
The recommended image dimensions are 1200x500, however any image will work. The image is stretched using cover and centered, so take that into consideration when selecting an image.
Is the background color customizable?
This feature will be added in future updates. However no the default color is rgba(0,0,0, 0.5) with a font color of #FFF.
Screenshots
- This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from
the /assets directory or the directory that contains the stable readme.txt (tags or trunk). Screenshots in the /assets
directory take precedence. For example,
/assets/screenshot-1.pngwould win over/tags/4.3/screenshot-1.png(or jpg, jpeg, gif). - This is the second screen shot
Changelog
0.1.0
- Release
Arbitrary section
You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated plugins where more information needs to be conveyed that doesn't fit into the categories of "description" or "installation." Arbitrary sections will be shown below the built-in sections outlined above.