plugins - How to make cover image in post block expand to entire screen?

admin2025-06-06  2

I want to cover the entire width of my page with the cover image block, the one where you can write on top of it. If I need to add a code, please provide the code as well for CSS class. Or is there any other way ?

I want to cover the entire width of my page with the cover image block, the one where you can write on top of it. If I need to add a code, please provide the code as well for CSS class. Or is there any other way ?

Share Improve this question asked Nov 27, 2018 at 13:27 Rishabh SharmaRishabh Sharma 1031 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

In order to support Wide alignment, the theme needs to add support for it. In the theme functions.php file:

add_theme_support( 'align-wide' );

Then both Wide width and Full width options will appear in the block toolbar.

转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1749148531a316779.html

最新回复(0)