Alvind
Forum Replies Created
-
Forum: Plugins
In reply to: [GenerateBlocks] WooCommerce chart buttonHi there,
If this issue happens on the Cart page, it’s likely a WooCommerce issue, not related to the GenerateBlocks button.
However, if you can provide the site link, we can take a closer look.
Forum: Themes and Templates
In reply to: [GeneratePress] Disable all block featuresGlad to hear that!
Forum: Themes and Templates
In reply to: [GeneratePress] Disable all block featuresOkay, this snippet is probably what you need:
/**
* Remove GeneratePress block editor features.
*
* Add this code to your child theme's functions.php
* or use a code snippets plugin.
*/
add_action( 'after_setup_theme', 'my_child_remove_gp_block_editor_features', 15 );
function my_child_remove_gp_block_editor_features() {
// Remove theme support for block editor visual features
remove_theme_support( 'align-wide' );
remove_theme_support( 'responsive-embeds' );
remove_theme_support( 'editor-color-palette' );
// This should prevent the theme's block-editor.css from being loaded
// as it's typically added via add_editor_style() after 'editor-styles' support.
remove_theme_support( 'editor-styles' );
}
/**
* Dequeue GeneratePress block editor specific CSS.
*
* This is an additional measure in case remove_theme_support('editor-styles')
* isn't sufficient or if styles are enqueued differently for the editor.
*/
add_action( 'enqueue_block_editor_assets', 'my_child_dequeue_gp_block_editor_styles', 20 );
function my_child_dequeue_gp_block_editor_styles() {
// Attempt to dequeue the specific block editor stylesheet.
// The handle 'generate-block-editor-styles' is a common convention,
// but you might need to find the exact handle if this doesn't work.
// GeneratePress uses 'generate-block-editor-styles' for its block-editor.css.
wp_dequeue_style( 'generate-block-editor-styles' );
wp_deregister_style( 'generate-block-editor-styles' );
}There might be another plugin on your site affecting the frontend layout. To confirm this, try deactivating all plugins to see if the issue is resolved. Then, reactivate them one by one to identify which plugin is causing the problem.
Forum: Themes and Templates
In reply to: [GeneratePress] Disable all block featuresHi there
Can you clarify what you mean by block-related features? GeneratePress is a classic theme and does not include custom blocks.
Hi there,
You can use this CSS:
.single-post .content-area img {
margin-bottom: 2rem;
}Hi there,
You can simply use a Custom HTML block, and add this embed code inside:
<iframe src="https://www.youtube.com/embed/vYhp0ZI2J9U?" width="315" height="560" frameborder="0"></iframe>Forum: Themes and Templates
In reply to: [GeneratePress] GP Premium failed updateHi there,
Can you open a topic on the Premium Support forum since this issue is related to GP Premium? WordPress.org does not allow support or discussion about paid plugins in this forum.
Thank you for your understanding!
Hi there,
When I tested the embed code you provided, the aspect ratio appears correctly—see this screenshot: https://cln.sh/CSfgmcgk
I’m using the Classic Editor, which is what the deprecated Sections module was based on. There may be something affecting the aspect ratio on your site’s frontend, but since you’re still using the old Sections feature, which has been long deprecated—we’re unable to replicate the issue exactly.
Forum: Themes and Templates
In reply to: [GeneratePress] No sites were found. (Site Library)Hi there,
Since you’re using GP Premium, please open a new topic on the Premium Support forum. WordPress.org doesn’t allow us to provide support for premium products here.
Thanks for understanding!
Forum: Plugins
In reply to: [GenerateBlocks] One column gridCould you provide the link to the page in question so I can take a closer look?
Forum: Themes and Templates
In reply to: [GeneratePress] Change of Block Layout in GeneratePress UIYou’re welcome!
Forum: Themes and Templates
In reply to: [GeneratePress] Change of Block Layout in GeneratePress UIHi there,
You can refer to this documentation:
Forum: Plugins
In reply to: [GenerateBlocks] remove the lateral gap between containersHi there,
Check if the Column Gap value exists under Layout > Grid Layout, and try reducing the value.
Forum: Themes and Templates
In reply to: [GeneratePress] Error trying to update WidgetsNo problem!