I’m using code:
[wpp heading=’Best of the Week’ limit=7 range=’last7days’ post_type=’post’ order_by=’views’ thumbnail_width=100 thumbnail_height=75
stats_views=0 stats_author=1]
Thank you!
]]>I have tried overriding the block in JS using the following code and properly enqueued, but the result is I get two alignment buttons in the editor, which cannot be correct?
// Modify settings for Core blocks
wp.hooks.addFilter( 'blocks.registerBlockType',
'my/change_alignment', ( settings, name ) => {
switch( name ) {
case 'core/image':
return lodash.assign( {}, settings, {
supports: lodash.assign( {}, settings.supports, {
align: [ 'center']
} ),
} );
}
return settings;
});
Any help would be appreciated.
]]>It is possible to set the position of the Map either center or left align. I want the map to align left in Desktop / Tablet view but need the map centered in mobile breakpoints.
Since the code for positioning the map seems to be inline, I am not sure if it is even possible to set CSS code to center a left aligned map in mobile breakpoints.
If it is possible, I would appreciate if you can let me know who this can be done.
Thanks.
]]>I have a problem with the size of my aligned images. This size is correct when the image is centered but when the image is aligned to left or right, the size is always fixed and rather small and doesn’t change according to what I ask for, allthough it shows great in the editing mode.
Any suggestion ?
thanks for your help
Aymeric (Toulouse, France)
]]>