Skip to content

Instantly share code, notes, and snippets.

@jmabbas
jmabbas / functions.php
Created July 11, 2025 07:22
Tokoo - Shop page jumbotron after header
add_action( 'init', 'tk_child_move_shop_jumbotron_top' );
function tk_child_move_shop_jumbotron_top() {
remove_action( 'woocommerce_before_main_content', 'tokoo_shop_archive_jumbotron', 30 );
add_action( 'tokoo_after_header', 'tokoo_shop_archive_jumbotron', 10 );
}
@jmabbas
jmabbas / style.css
Created July 10, 2025 14:01
MediaCenter - Reduce Header menu width
#top-megamenu-nav {
width: 70%;
margin-left: auto;
margin-right: auto;
}
@jmabbas
jmabbas / style.css
Created July 7, 2025 07:37
Bookworm - Checkout page login form hide on page open
.woocommerce-checkout form.woocommerce-form.woocommerce-form-login.login.p-4.p-md-6 {
display: none;
}
@jmabbas
jmabbas / style.css
Last active July 7, 2025 07:15
Electro - YITH Wishlist icon size
.product .action-buttons .yith-wcwl-add-to-wishlist-button svg {
width: 19px;
margin-right: 0;
}
@jmabbas
jmabbas / style.css
Created July 4, 2025 10:26
Deco - Header logo and menu style
@media(max-width:767px) {
.header-cus > div {
justify-content: space-between;
width: 100%;
padding: 0 20px;
}
}
@jmabbas
jmabbas / style.css
Created July 4, 2025 05:49
Electro - Footer contact style
.footer-call-us .call-us-text {
//your style code
}
.footer-call-us .call-us-number {
//your style code
}
.footer-address {
//your style code
@jmabbas
jmabbas / style.css
Created July 4, 2025 05:46
Electro - Page title customisation
.page article#post-2494 .entry-header h1.entry-title {
color: #000;
font-size: 50px;
padding: 20px;
margin: 20px;
}
@jmabbas
jmabbas / functions.php
Created July 3, 2025 05:26
Electro - Product Description on summary
function electro_product_description_tab() {}
if ( ! function_exists( 'el_child_product_description' ) ) {
function el_child_product_description() {
echo '<div class="electro-description clearfix">';
wc_get_template( 'single-product/tabs/description.php' );
echo '</div>';
}
}
@jmabbas
jmabbas / style.css
Created July 3, 2025 04:52
Electro - Hide sub menu arrow icon on static pages
body.page-template-default:not(.home) .electro-navbar-primary .nav>.menu-item.menu-item-has-children>a:after {
display: none;
}
@jmabbas
jmabbas / style.css
Created July 1, 2025 09:08
Pizzeria - Search page mobile two columns
@media (max-width: 600px) {
.archive.search .wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid.wp-block-post-template-is-layout-grid {
grid-template-columns: 50% 50%;
grid-gap: 10px;
}
}