Make WordPress Core

Opened 22 months ago

Last modified 5 weeks ago

#56525 new defect (bug)

Twenty Eleven: Font-style issue of "Add Citation" text in Pullquote Block

Reported by: kajalgohel's profile kajalgohel Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.0
Component: Bundled Theme Keywords: dev-feedback has-patch
Focuses: ui, css Cc:

Description

In Twenty Eleven Theme, when we add Pullquote block in editor side, We can see that the font-style of "Add citation" text is Italic. But when we see the same Pullquote block at front side, font-style for "Add citation" text is not reflected, It is display normal.

Steps to replicate:
1: Activate the Twenty Eleven Theme
2: Add Pullquote block
3: Enter some Text for "Add quote"
4: Enter some Text for "Add citation"
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/yoxXVomU1svauo5FmF9G

Thanks

Attachments (1)

56525.patch (446 bytes) - added by multidots1896 22 months ago.
added patch

Download all attachments as: .zip

Change History (6)

#1 @hilayt24
22 months ago

  • Keywords reporter-feedback added

Hi @kajalgohel , Thanks for the ticket I checked the issue and able to reproduce it.

Adding the following CSS will solve this issue:

     .wp-block-quote cite {
          font-style: inherit !important;
     }

Thanks
Hilay

#2 @costdev
22 months ago

  • Keywords dev-feedback added; reporter-feedback removed
  • Version changed from 6.0.2 to 6.0

After testing, this was introduced in WordPress 6.0 - more specifically, in Gutenberg 12.9.0. The respective Twenty Eleven styles haven't been changed in 11 years.

I haven't found the exact change in Gutenberg 12.9.0 that broke the Twenty Eleven styling. Having reviewed the PRs relating Pullquote changes, they don't appear relevant to me.

Pinging @ndiego who worked with the Pullquote for Gutenberg 12.9.0. Nick, do you have any thoughts on what caused this and whether this should be an issue on GitHub?

@multidots1896
22 months ago

added patch

#3 @karmatosed
3 months ago

  • Keywords has-patch added; needs-patch removed

This ticket was mentioned in Slack in #core-themes by karmatosed. View the logs.


2 months ago

#5 @karmatosed
5 weeks ago

I am reluctant to fix this at the theme level if it is something came in within block. cc @poena for your thoughts also.

Note: See TracTickets for help on using tickets.