How to Customize WooCommerce Elements in Blocksy: Quick View, Buttons, and More
Content
Many users of the Blocksy theme want to tailor their WooCommerce shop's appearance, from modifying the Quick View button text to adjusting product archive layouts. This guide compiles common customization requests and their solutions based on community support threads.
Common Customization Challenges
Users frequently seek to change specific text strings, alter product page layouts, add or remove elements, and style WooCommerce components to match their site's design. These changes often aren't available as built-in options in the customizer.
How to Change Text Strings (Like Quick View Button Text)
A common request is to change default text, such as the "go to product" text in the Quick View window.
Solution: Use the Loco Translate plugin. This method allows you to find and retranslate any theme string without editing core files.
- Install and activate the Loco Translate plugin.
- Navigate to Loco Translate → Plugins.
- Select either Blocksy or Blocksy Companion.
- Click on New Language or edit an existing translation.
- Use the search function to find the string you want to change (e.g., "go to product").
- Enter your new text in the translation field and save the changes.
This method is also effective for changing other strings, such as the "Specs" label in the review extension to "Information." The plugin can be deactivated after making changes, as the translations are saved to your site's files.
Adding Custom CSS for Styling
Many visual tweaks, like modifying the Quick View window's appearance, require custom CSS.
Solution: Add custom CSS through the WordPress Customizer.
- Go to Appearance → Customize.
- Navigate to Additional CSS.
- Enter your custom CSS rules here. For example, to target the Quick View button, you might use a selector like
.quick-view-button. - Publish your changes.
Note: The exact CSS selector needed might require inspecting your page elements with a browser's developer tools.
Modifying WooCommerce Product Tabs
Some users wish to remove a specific product tab, like 'Additional Information,' while keeping others.
Solution: Use a code snippet in your child theme's functions.php file.
// Remove the Additional Information tab
add_filter('woocommerce_product_tabs', function($tabs) {
unset($tabs['additional_information']);
return $tabs;
}, 98);
This code successfully removes only the specified tab without affecting others like 'Description' or 'Reviews.'
Aligning Prices on Product Archive Pages
Product titles of varying lengths can cause prices and buttons to appear misaligned in grid layouts.
Solution: Apply CSS to enforce a minimum height for the title element, creating a consistent space.
.woocommerce-loop-product__title {
min-height: 80px;
margin-bottom: 0 !important;
}
Adjust the min-height value in pixels (px) until the alignment looks consistent across all products.
Important Considerations
- Child Theme: Always use a child theme when adding custom code to avoid losing modifications after a theme update.
- CSS Specificity: Sometimes, CSS rules need to be more specific or include
!importantto override existing theme styles. - Feature Limitations: Some requested features, like displaying SKUs on archive pages or changing related product heading tags, are not natively supported in the free version of Blocksy and may require custom development or a plugin.
Conclusion
Customizing your WooCommerce store with Blocksy often involves a combination of translation plugins for text, custom CSS for styling, and targeted code snippets for functionality. For more complex changes beyond the scope of the free theme, exploring dedicated WooCommerce plugins or custom development might be necessary.
Related Support Threads Support
-
XXX.com/product-review/https://wordpress.org/support/topic/xxx-com-product-review/
-
Woocommerce Product Page Headingshttps://wordpress.org/support/topic/woocommerce-product-page-headings/
-
Post type archive name changehttps://wordpress.org/support/topic/post-type-archive-name-change/
-
Hidehttps://wordpress.org/support/topic/hide-24/
-
Post views in metahttps://wordpress.org/support/topic/post-views-in-meta/
-
Products category page, bottom descriptionhttps://wordpress.org/support/topic/products-category-page-bottom-description/
-
product catetories page title hookshttps://wordpress.org/support/topic/product-catetories-page-title-hooks/
-
Review Entity not showinghttps://wordpress.org/support/topic/review-entity-not-showing/
-
Review Extension Filterhttps://wordpress.org/support/topic/review-extension-filter/
-
Woocommerce Product Tab TITLE, Upsell, Crosssellhttps://wordpress.org/support/topic/woocommerce-product-tab-title-upsell-crosssell/
-
Cannot add unique Id or Class to product archive loop to work with ajaxhttps://wordpress.org/support/topic/cannot-add-unique-id-or-class-to-product-archive-loop-to-work-with-ajax/
-
How to only show “product tag” in single product metahttps://wordpress.org/support/topic/how-to-only-show-product-tag-in-single-product-meta/
-
How to add [product id] support to search in headerhttps://wordpress.org/support/topic/how-to-add-product-id-support-to-search-in-header/
-
Product Archive Sidebarhttps://wordpress.org/support/topic/product-archive-sidebar/
-
Woocommerce questionshttps://wordpress.org/support/topic/woocommerce-questions-4/
-
Unaligned Buttons “shortcode” on short descriptionhttps://wordpress.org/support/topic/unaligned-buttons-shortcode-on-short-description/
-
How to remove the reviews tabhttps://wordpress.org/support/topic/how-to-remove-the-reviews-tab/
-
align prices on archiveshttps://wordpress.org/support/topic/align-prices-on-archives-2/
-
Adding SKU to products in archiveshttps://wordpress.org/support/topic/adding-sku-to-products-in-archives/
-
Move Category Description to the Bottomhttps://wordpress.org/support/topic/move-category-description-to-the-bottom-3/
-
the quick view windowshttps://wordpress.org/support/topic/the-quick-view-windows/
-
Product Review page Title is not changinghttps://wordpress.org/support/topic/product-review-page-title-is-not-changing/
-
Overlay text hovering on product imagehttps://wordpress.org/support/topic/overlay-text-hovering-on-product-image/
-
Archive description orderhttps://wordpress.org/support/topic/archive-description-order/
-
Product Review Entity, Price not showing on frontendhttps://wordpress.org/support/topic/product-review-entity-price-not-showing-on-frontend/
-
Create a new or different badge on producthttps://wordpress.org/support/topic/create-a-new-or-different-badge-on-product/
-
Customize Product Pagehttps://wordpress.org/support/topic/customize-product-page-4/
-
Woocommerce Archive page – Remove the imagehttps://wordpress.org/support/topic/woocommerce-archive-page-remove-the-image/