Category: Widgets
theme setup unocss assets
if ( ! function_exists( ‘theme_setup_unocss_assets’ ) ) : function theme_setup_unocss_assets() { wp_enqueue_style( ‘unocss-reset’, ‘https://unpkg.com/@unocss/reset/tailwind.css’, array(), null ); wp_enqueue_script( ‘unocss-preset-uno’, ‘https://unpkg.com/@unocss/runtime/uno.global.js’, array(), null, true ); wp_enqueue_script( ‘unocss-preset-icons’, ‘https://unpkg.com/@unocss/runtime/preset-icons.global.js’, array(), null, true ); wp_add_inline_script( ‘unocss-preset-icons’, ‘window.__unocss = { presets: [ () =>…Continue reading
connect site to google
connect site to google
Test Header
Make “Follow on TikTok” Button Larger and Full Width.
.sb-feed-header-profile { display: none !important; } .sb-feed-header-btn-ctn { display: block !important; width: 100% !important; } .sb-feed-header-btn-ctn button { width: 100% !important; font-size: 20px !important; }Continue reading
Center and Enlarge the Play Icon for Thumbnails
.sb-post-item .sb-post-item-play { bottom: 3rem; color: #fff; left: 50%; top: 50%; margin-left: -20px; margin-top: -20px; position: absolute } .sb-post-item .sb-post-item-play svg { height: 40px; width: 40px; }Continue reading
wordpress on-page confirmation message
.wpforms-confirmation-container-full { color: #D2A336; margin: 0 0 24px 0; background: #000000; border: 1px solid #D2A336; padding: 15px 15px; }Continue reading