[wp-trac] [WordPress Trac] #55974: Bundled theme: Add support for border options
WordPress Trac
noreply at wordpress.org
Fri Jun 7 04:35:41 UTC 2024
#55974: Bundled theme: Add support for border options
-------------------------------------+-----------------------------
Reporter: kajalgohel | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Bundled Theme | Version: 6.0
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses: ui, css
-------------------------------------+-----------------------------
Description changed by poena:
Old description:
> In Twenty Twenty Theme, when we add Pullquote block in editor side and
> add any border style after that choose border color, We can see that
> border color is seen in editor side. But when we see the same Pullquote
> block at front side, border color is not reflected.
>
> Steps to replicate:
> 1: Activate the Twenty Twenty Theme
> 2: Add Pullquote block
> 3: Add border style
> 4: choose border color
> 5: Save Page/Post
> 6: View the page/post at front side
>
> For better understanding I provide video attachment link.
> Video URL : https://share.cleanshot.com/bqZzSHG6AGVy2hslSIqc
>
> Thanks
New description:
This description was updates June 7, 2024
The classic bundled themes are missing support for border options for most
blocks.
Some blocks, like the pullquote, have border options enabled by default,
but most blocks do not.
The border options include border color, width, style, and radius.
They can be enabled by adding {{{add_theme_support( 'border' );}}} or
{{{ add_theme_support( 'appearance-tools' );}}}.
The appearance-tools adds several options besides the borders, so the
suggested change is to use {{{add_theme_support( 'border' );}}}.
{{{add_theme_support( 'border' );}}} can be added to themes existing setup
function.
After that, all supported blocks needs to be tested.
- Testing has shown that there are usually only a small number of issues
found with the border support, but additional fixes may be needed for
blocks that use images.
The following blocks support border controls as of** WordPress version 6.6
Beta1**, and needs to be tested.
''Note that it is necessary to test if these blocks have working border
controls until there is a patch to test.''
Avatar
Button
Code
Column
Columns
Comments Title
Cover
Details
Footnotes
Group
Image
Post Featured Image
Pullquote
Read More
Search
Table
Verse
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55974#comment:75>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list