Hey @abu-maryam ,
Thank you for reaching us out.
You can achieve both by adding small changes as stated below –
First of all, you need to add a class from here – https://cl.ly/7d051f308372
1) Hide Title
– You can add below code into your Custom CSS section and this will hide your Title
.my-class .uagb-post__title {display:none;}
2) Also, you can set offset to your Post Grid add adding the below filter to your functions.php file.
add_filter( 'uagb_post_query_args_grid', function( $args ) {
$args['offset'] = 1;
return $args;
});
I hope this resolves your query.
Regards,
Vrunda Kansara
Here you need to change the filter from uagb_post_query_args_grid
to uagb_post_query_args_masonry
for Post Masonry.
Regards,
Vrunda Kansara
Hi Vrunda,
The solution to disable the Post title using a custom CSS class (display: none) is working fine. This CSS class can be added (when needed) to the Post Grid and the Post Masonry. It works like an option to enable or disable the post title.
However, the solution that you offered for the offset in the functions.php is working but not as I prefered. When using your provided code to offset the post number, then all blocks for Post Grid and Post Masonry will have the offset as a default.
What I was looking for, is an option to use the offset when needed. I understand that this requires quite some time to code it correctly.
Thanks for your effort!
Regards,
Abu Maryam
Hey,
Thank you for letting us know. I will ask my team to look into it. By next release, they will get a solution for this.
Regards,
Vrunda Kansara
Yes, it would be great to have both of these options in the next update! Came here to find out if I was able to offset the posts in the grid, hope the feature can be added soon. Thanks!