Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image block: Have Figure Caption font size settings. #65631

Open
nagpai opened this issue Jul 15, 2022 · 4 comments
Open

Image block: Have Figure Caption font size settings. #65631

nagpai opened this issue Jul 15, 2022 · 4 comments
Labels
[Feature] Core Blocks Blocks that come with Gutenberg. [Feature] Full Site Editor The site editor. Images [Type] Feature Request Feature requests

Comments

@nagpai
Copy link
Contributor

nagpai commented Jul 15, 2022

What

On FSE themes it looks like figcaption fonts are defaulted to use the global system base font for content. Figure captions font size can only be overridden by CSS, it seems.

Why

There are a lot of use cases where users want a smaller or different font size for figcaptions. There seems to be no way to set this differently other than giving a CSS override ( defeats purpose of FSE )

5380772-zd

How

No response

@github-actions
Copy link

github-actions bot commented Jul 15, 2022

Support References

This comment is automatically generated. Please do not edit it.

  • 5380772-zen

@nagpai
Copy link
Contributor Author

nagpai commented Jul 15, 2022

Ah found this related issue on core Gutenberg:

@csabarakasz
Copy link

Same issue:

  • 37342529-hc

custom CSS helped:

/* change font size of image captions - */

figcaption.wp-element-caption {
    font-size: 13px;
	text-align:center;
}

@mrfoxtalbot
Copy link

I went down an interesting rabbit hole trying to find something in core for this

It is unclear when or if this will be fixed but here are three relevant conversations:

@github-actions github-actions bot added the Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". label Jun 3, 2024
@mrfoxtalbot mrfoxtalbot added [Feature] Core Blocks Blocks that come with Gutenberg. and removed Customer Report Issues or PRs that were reported via Happiness. Previously known as "Happiness Request". labels Jun 3, 2024
@github-project-automation github-project-automation bot moved this to Gutenberg / WP Core in HE Cross-repo Watchlist Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Core Blocks Blocks that come with Gutenberg. [Feature] Full Site Editor The site editor. Images [Type] Feature Request Feature requests
Projects
Status: Gutenberg / WP Core
Development

No branches or pull requests

3 participants