[wp-trac] [WordPress Trac] #56747: Twenty Seventeen: Image Block captions are Italic on frontend but not in editor
WordPress Trac
noreply at wordpress.org
Fri Jan 20 03:31:39 UTC 2023
#56747: Twenty Seventeen: Image Block captions are Italic on frontend but not in
editor
-------------------------------------------------+-------------------------
Reporter: domainsupport | Owner: audrasjb
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.2
Component: Bundled Theme | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch needs-testing has- | Focuses: css
screenshots |
-------------------------------------------------+-------------------------
Changes (by seakashdiu):
* status: accepted => closed
* resolution: => invalid
Comment:
Hi @sabernhardt
I think there is a small issue in your
[https://core.trac.wordpress.org/attachment/ticket/56747/56747.2.patch].
In the editor, if the 'I' option is selected, the caption text should
appear in italics. If the 'I' option is not selected, the caption text
should appear in its normal font. However, it appears that in the current
patch, this behavior is reversed.
So, in **src/wp-content/themes/twentyseventeen/assets/css/blocks.css**,
**(line:24 and line: 465)** would be ---
{{{
font-style: normal;
}}}
**src/wp-content/themes/twentyseventeen/assets/css/editor-blocks.css**
and **line: 481** would be ---
{{{
font-style: italic;
}}}
Check the screenshot after I applied,
**Normal Mode --**
[[Image(https://i.postimg.cc/Zq16njDP/screenshot-172.png)]]
**Front End**
[[Image(https://i.postimg.cc/nVKw8QCS/screenshot-175.png)]]
**When I option is selected -- **
[[Image(https://i.postimg.cc/T2QhHCqk/screenshot-173.png)]]
**Front End**
[[Image(https://i.postimg.cc/Jh2CkHb5/screenshot-174.png)]]
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56747#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list