CSS For Craft Picker

/* General Styles */ body { margin: 0; font-family: ‘Arial’, sans-serif; background-color: #f9f9f9; color: #333; line-height: 1.6; } /* Header Styles */ .header { background-color: #ffe4e1; text-align: center; padding: 20px 10px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); }…Continue reading

CSS – WOO Pag. Singolo Prodotto Woo (CLOUD attivo)(vecchio)

/* 1.0 TI WISH BOTTONE singolo prodotto */ /* 1.0 TI WISH BOTTONE singolo prodotto _____________*/ .th-box-wish-boxelemento{height:10px; } .th-wish-peferiti-shortcode p { display: none; } .th-wish-peferiti-shortcode .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus:before { font-size: 50px; top: -15px; left: 0; margin: 0; padding: 0; } .th-wish-peferiti-shortcode…Continue reading

Theme Custom CSS

/*————————————- Branding and Logo Styles ————————————-*/ .site-title img { padding: 14px 0; height: 100%; } .site-header .site-title, #site-logo .site-title img.bb-logo { height: 100%; } .mobile-logo-wrapper { height: 100%; } .site-branding { padding-left: 0 !important; } /*————————————- Menu and Navigation Styles…Continue reading

Modern CSS Reset

/* 1. Use a more-intuitive box-sizing model */ *, *::before, *::after { box-sizing: border-box; } /* 2. Remove default margin */ * { margin: 0; } body { /* 3. Add accessible line-height */ line-height: 1.5; /* 4. Improve text…Continue reading

Modern CSS Reset

/* 1. Use a more-intuitive box-sizing model */ *, *::before, *::after { box-sizing: border-box; } /* 2. Remove default margin */ * { margin: 0; } body { /* 3. Add accessible line-height */ line-height: 1.5; /* 4. Improve text…Continue reading

Admin/Floating Toolbar – Backend CSS

/** * MX Floating Toolbar * – Requires snippet Admin/Floating Toolbar * – Extended for Users search along with Plugins; requires modified (named) version of snippet * * Updated 2024-07-25 * 2024-10-23 – swapped F-codes with dashicon glyphs because WPCode…Continue reading

Admin/Floating Toolbar – Frontend CSS

/** * MX Floating Toolbar * – Requires snippet Admin/Floating Toolbar * – Extended for Users search along with Plugins; requires modified (named) version of snippet * * Updated 2024-07-25 * 2024-10-23 – swapped F-codes with dashicon glyphs because WPCode…Continue reading

Combine and Minify CSS

function combine_css_files() { wp_enqueue_style(‘combined-styles’, get_template_directory_uri() . ‘/css/combined.min.css’, array(), null, ‘all’); // Dequeue individual files if they are now part of the combined file wp_dequeue_style(‘style-one’); wp_dequeue_style(‘style-two’); } add_action(‘wp_enqueue_scripts’, ‘combine_css_files’);Continue reading