Gutenberg Default blocks alignment setup

Posted in: Newspaper
Post count: 13

Hello,
I have several questions if this is possible to achieve or i will need to custom code in the theme.

1. I want when i add a post i am using gutenberg editor, so when i add /video blog i am adding a url for the video. I want the alignment or the block to be sets by default to wide. So now the default alignment is none. I want to be by default to be wide.

2. When i add image in the post in gutenberg, if i want the image to be wider i need to click on alignment and then the the alignment that i want, but previously we just can click on the side of the image and drag it to resize the width.

3. When i embed a post, image or video into the post with gutenberg they are very small and they are not in full size by default.

Can these things change for my preferences?

Post count: 35449

Hello,

Those options seems to be related to the Gutenberg not the theme and most of them can be adjusted manually or with some custom code.

1. I see, unfortunately as far as I know there is no option so the video to be wide by default, it will be set manually. If you want to try a code solution, you can try something like this https://pastebin.com/EqvNhnkt the code should be set in functions.php in a child theme

2. The option with image resize is still working on my install https://i.imgur.com/qoU61aR.png so it is possible to have a plugin or something extra interfering. If you want you can make a test using only tagDiv plugins to see if the problem persist.

3. I just made a test and for me is correctly embed the inside article, indeed on edit is not display as full width – https://i.imgur.com/IjJ1ycM.png but on frontend is ok = https://i.imgur.com/Czzeap3.png

Thank you!

Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘Newspaper’ is closed to new topics and replies.