/** * big store functions and definitions * * @link https://developer.wordpress.org/themes/basics/theme-functions/ * * @package Big Store * @since 2.0.0 */ /** * Theme functions and definitions */ if ( ! function_exists( 'big_store_setup' ) ) : define( 'BIG_STORE_THEME_VERSION','2.0.7'); define( 'BIG_STORE_THEME_DIR', get_template_directory() . '/' ); define( 'BIG_STORE_THEME_URI', get_template_directory_uri() . '/' ); define( 'BIG_STORE_THEME_SETTINGS', 'big-store-settings' ); /** * Sets up theme defaults and registers support for various WordPress features. * * Note that this function is hooked into the after_big_store_setup_theme hook, which * runs before the init hook. The init hook is too late for some features, such * as indicating support for post thumbnails. */ function big_store_setup(){ /* * Make theme available for translation. */ load_theme_textdomain( 'big-store', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); /* * Let WordPress manage the document title. * By adding theme support, we declare that this theme does not use a * hard-coded tag in the document head, and expect WordPress to * provide it for us. */ add_theme_support( 'title-tag' ); /* * Enable support for Post Thumbnails on posts and pages. * * @link https://developer.wordpress.org/themes/functionality/featured-images-post-thumbnails/ */ add_theme_support( 'post-thumbnails' ); /* * Switch default core markup for search form, comment form, and comments * to output valid HTML5. */ add_theme_support( 'html5', array( 'comment-form', 'comment-list', 'gallery', 'caption', ) ); add_theme_support( 'woocommerce' ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for editor styles. add_theme_support( 'editor-styles' ); add_editor_style( 'editor.css' ); // Enqueue editor styles. add_editor_style( 'style-editor.css' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); add_theme_support( 'custom-spacing' ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Remove theme support for widget block editor /** * Add support for core custom logo. */ add_theme_support( 'custom-logo', array( 'height' => 250, 'width' => 250, 'flex-width' => true, 'flex-height' => true, ) ); // Add support for Custom Header. add_theme_support( 'custom-header', apply_filters( 'big_store_custom_header_args', array( 'default-image' => '', 'flex-height' => true, 'header-text' => false, 'video' => false, ) ) ); // Add support for Custom Background. $args = array( 'default-color' => 'f1f1f1', ); add_theme_support( 'custom-background',$args ); $GLOBALS['content_width'] = apply_filters( 'big_store_content_width', 640 ); add_theme_support( 'woocommerce', array( 'thumbnail_image_width' => 320, ) ); // Recommend plugins add_theme_support( 'recommend-plugins', array( 'themehunk-customizer' => array( 'name' => esc_html__( 'Themehunk Customizer (Highly Recommended)', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'themehunk-customizer/themehunk-customizer.php', ), 'vayu-blocks' => array( 'name' => esc_html__( 'Vayu blocks For Gutenberg', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'vayu-blocks/vayu-blocks.php', ), 'th-advance-product-search' => array( 'name' => esc_html__( 'TH Advance Product Search', 'big-store' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-advance-product-search/th-advance-product-search.php', ), 'th-all-in-one-woo-cart' => array( 'name' => esc_html__( 'TH All In One Woo Cart', 'big-store' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-all-in-one-woo-cart/th-all-in-one-woo-cart.php', ), 'th-product-compare' => array( 'name' => esc_html__( 'TH Product Compare', 'big-store' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-product-compare/th-product-compare.php', ), 'lead-form-builder' => array( 'name' => esc_html__( 'Lead Form Builder', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'lead-form-builder/lead-form-builder.php', ), 'th-variation-swatches' => array( 'name' => esc_html__( 'TH Variation Swatches', 'big-store' ), 'img' => 'icon-128x128.gif', 'active_filename' => 'th-variation-swatches/th-variation-swatches.php', ), 'wp-popup-builder' => array( 'name' => esc_html__( 'WP Popup Builder – Popup Forms & Newsletter', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'wp-popup-builder/wp-popup-builder.php', ) ) ); // Import Data Content plugins add_theme_support( 'import-demo-content', array( 'themehunk-customizer' => array( 'name' => esc_html__( 'Themehunk Customizer', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'themehunk-customizer/themehunk-customizer.php', ), )); // Useful plugins add_theme_support( 'useful-plugins', array( 'themehunk-megamenu-plus' => array( 'name' => esc_html__( 'Megamenu plugin from Themehunk.', 'big-store' ), 'active_filename' => 'themehunk-megamenu-plus/themehunk-megamenu.php', ), ) ); add_theme_support( 'lite-demo-plugins', array( 'themehunk-customizer' => array( 'name' => esc_html__( 'Themehunk Customizer (Highly Recommended)', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'themehunk-customizer/themehunk-customizer.php', ), 'one-click-demo-import' => array( 'name' => esc_html__( 'One Click Demo Import', 'big-store' ), 'img' => 'icon-128x128.png', 'active_filename' => 'one-click-demo-import/one-click-demo-import.php', ), ) ); } endif; add_action( 'after_setup_theme', 'big_store_setup' ); /** * Set the content width in pixels, based on the theme's design and stylesheet. * * Priority 0 to make it available to lower priority callbacks. */ /** * Register widget area. */ function big_store_widgets_init(){ register_sidebar( array( 'name' => esc_html__( 'Primary Sidebar', 'big-store' ), 'id' => 'sidebar-1', 'description' => esc_html__( 'Add widgets here to appear in your primary sidebar.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s"><div class="big-store-widget-content">', 'after_widget' => '</div></div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header First Widget', 'big-store' ), 'id' => 'top-header-widget-col1', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header Second Widget', 'big-store' ), 'id' => 'top-header-widget-col2', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Above Header Third Widget', 'big-store' ), 'id' => 'top-header-widget-col3', 'description' => esc_html__( 'Add widgets here to appear in top header.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Main Header Widget', 'big-store' ), 'id' => 'main-header-widget', 'description' => esc_html__( 'Add widgets here to appear in main header.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top First Widget', 'big-store' ), 'id' => 'footer-top-first', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top Second Widget', 'big-store' ), 'id' => 'footer-top-second', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Top Third Widget', 'big-store' ), 'id' => 'footer-top-third', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below First Widget', 'big-store' ), 'id' => 'footer-below-first', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below Second Widget', 'big-store' ), 'id' => 'footer-below-second', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); register_sidebar(array( 'name' => esc_html__( 'Footer Below Third Widget', 'big-store' ), 'id' => 'footer-below-third', 'description' => esc_html__( 'Add widgets here to appear in top footer.', 'big-store' ), 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); for ( $i = 1; $i <= 4; $i++ ){ register_sidebar( array( 'name' => sprintf( esc_html__( 'Footer Widget Area %d', 'big-store' ), $i ), 'id' => 'footer-' . $i, 'before_widget' => '<div id="%1$s" class="widget %2$s">', 'after_widget' => '</div>', 'before_title' => '<h2 class="widget-title">', 'after_title' => '</h2>', ) ); } } add_action( 'widgets_init', 'big_store_widgets_init' ); /** * Enqueue scripts and styles. */ function big_store_scripts(){ // enqueue css $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min'; wp_enqueue_style( 'font-awesome-th', BIG_STORE_THEME_URI . 'third-party/fonts/font-awesome/css/font-awesome.css', '', BIG_STORE_THEME_VERSION ); wp_enqueue_style( 'th-icon', BIG_STORE_THEME_URI . 'third-party/fonts/th-icon/style.css', '', BIG_STORE_THEME_VERSION ); wp_enqueue_style( 'animate', BIG_STORE_THEME_URI . 'css/animate.css','',BIG_STORE_THEME_VERSION); wp_enqueue_style( 'owl.carousel-css', BIG_STORE_THEME_URI . 'css/owl.carousel.css','',BIG_STORE_THEME_VERSION); wp_enqueue_style( 'big-store-pro-menu', BIG_STORE_THEME_URI . 'css/big-store-menu.css','',BIG_STORE_THEME_VERSION); if((bool)get_theme_mod('big_store_rtl')==true || in_array('rtl', get_body_class())){ wp_enqueue_style( 'big-store-rtl-style', BIG_STORE_THEME_URI . 'css/rtl.css','',BIG_STORE_THEME_VERSION); }else{ wp_enqueue_style( 'big-store-main-style', BIG_STORE_THEME_URI . 'css/style.css','',BIG_STORE_THEME_VERSION); } wp_enqueue_style( 'big-store-style', get_stylesheet_uri(), array(), BIG_STORE_THEME_VERSION ); wp_add_inline_style('big-store-style', big_store_custom_style()); //enqueue js wp_enqueue_script('imagesloaded'); wp_enqueue_script('big-store-menu-js', BIG_STORE_THEME_URI .'js/big-store-menu.js', array( 'jquery' ), '1.0.0', true ); wp_enqueue_script('owl.carousel-js', BIG_STORE_THEME_URI .'js/owl.carousel.js', array( 'jquery' ), '1.0.1', true ); wp_enqueue_script('big-store-accordian-menu-js', BIG_STORE_THEME_URI .'js/big-store-accordian-menu.js', array( 'jquery' ), BIG_STORE_THEME_VERSION , true ); wp_enqueue_script( 'big-store-custom-js', BIG_STORE_THEME_URI .'js/big-store-custom.js', array( 'jquery' ), BIG_STORE_THEME_VERSION , true ); $bigstorelocalize = array( 'page_tt_enable' => get_theme_mod('big_store_page_tp_enable', false), 'header_tt_enable' => get_theme_mod('big_store_hdr_tp_enable', true), 'tt_account' => get_theme_mod( 'big_store_account_tooltip_txt', __( 'Account', 'big-store' )), 'tt_add_to_cart' => get_theme_mod( 'big_store_add_to_cart_tooltip_txt', __( 'Add To Cart', 'big-store' )), 'tt_wishlist' => get_theme_mod( 'big_store_wishlist_tooltip_txt', __( 'Wishlist', 'big-store' )), 'tt_quickview' => get_theme_mod( 'big_store_quickview_tooltip_txt', __( 'Quickview', 'big-store' )), 'tt_compare' => get_theme_mod( 'big_store_compare_tooltip_txt', __( 'Compare', 'big-store' )), 'big_store_top_slider_optn' => get_theme_mod('big_store_top_slider_optn',false), 'big_store_move_to_top_optn' => get_theme_mod('big_store_move_to_top',true), 'big_store_sticky_header_effect' => get_theme_mod('big_store_sticky_header_effect','scrldwmn'), 'big_store_slider_speed' => get_theme_mod('big_store_slider_speed','3000'), 'big_store_rtl' => (bool)get_theme_mod('big_store_rtl'), 'mobile_menuclose' => __('Close','big-store'), ); wp_localize_script( 'big-store-custom-js', 'big_store', $bigstorelocalize); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ){ wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'big_store_scripts' ); /********************************************************/ // Adding Dashicons in WordPress Front-end /********************************************************/ add_action( 'wp_enqueue_scripts', 'big_store_load_dashicons_front_end' ); function big_store_load_dashicons_front_end(){ wp_enqueue_style( 'dashicons' ); } /** * Load init. */ require_once trailingslashit(BIG_STORE_THEME_DIR).'inc/init.php'; //custom function conditional check for blog page function big_store_is_blog (){ return ( is_archive() || is_author() || is_category() || is_home() || is_single() || is_tag()) && 'post' == get_post_type(); } if ( ! function_exists( 'wp_body_open' ) ) { /** * Shim for wp_body_open, ensuring backward compatibility with versions of WordPress older than 5.2. */ function wp_body_open() { do_action( 'wp_body_open' ); } } // Add block patterns require get_template_directory() . '/block-pattern.php';<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#fff" /> <link rel="profile" href="http://gmpg.org/xfn/11"> <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <!-- This site is optimized with the Yoast SEO plugin v20.3 - https://yoast.com/wordpress/plugins/seo/ --> <link rel="canonical" href="https://thomsonmattress.com/" /> <meta property="og:locale" content="en_US" /> <meta property="og:type" content="website" /> <meta property="og:title" content="Home - Thomson Mattress" /> <meta property="og:description" content="OUR PRODUCT CATEGORIES MATTRESSES PILLOWS ACCESSORIES MADE FOR EVERYBODY.. BALANCED SLEEP WITH CERTIFIED GOODNESS We used our research for millions sleepers to create different but specialize mattress that made for comfort to everyone. Certificate of Authentic and Quality Mattresses. Born and brought up in Kerala, the largest producer of Latex and allied products in India, […]" /> <meta property="og:url" content="https://thomsonmattress.com/" /> <meta property="og:site_name" content="Thomson Mattress" /> <meta property="article:modified_time" content="2025-08-17T15:11:46+00:00" /> <meta property="og:image" content="https://thomsonmattress.com/wp-content/uploads/elementor/thumbs/PIC-cover-1-pps206u1fdp8mv6zw7rqvebcairmwrrsqr3o8gdfk0.jpg" /> <meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:label1" content="Est. reading time" /> <meta name="twitter:data1" content="11 minutes" /> <script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":"https://thomsonmattress.com/","url":"https://thomsonmattress.com/","name":"Home - Thomson Mattress","isPartOf":{"@id":"https://thomsonmattress.com/#website"},"about":{"@id":"https://thomsonmattress.com/#organization"},"primaryImageOfPage":{"@id":"https://thomsonmattress.com/#primaryimage"},"image":{"@id":"https://thomsonmattress.com/#primaryimage"},"thumbnailUrl":"https://thomsonmattress.com/wp-content/uploads/elementor/thumbs/PIC-cover-1-pps206u1fdp8mv6zw7rqvebcairmwrrsqr3o8gdfk0.jpg","datePublished":"2020-07-23T06:27:59+00:00","dateModified":"2025-08-17T15:11:46+00:00","breadcrumb":{"@id":"https://thomsonmattress.com/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://thomsonmattress.com/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https://thomsonmattress.com/#primaryimage","url":"https://thomsonmattress.com/wp-content/uploads/elementor/thumbs/PIC-cover-1-pps206u1fdp8mv6zw7rqvebcairmwrrsqr3o8gdfk0.jpg","contentUrl":"https://thomsonmattress.com/wp-content/uploads/elementor/thumbs/PIC-cover-1-pps206u1fdp8mv6zw7rqvebcairmwrrsqr3o8gdfk0.jpg"},{"@type":"BreadcrumbList","@id":"https://thomsonmattress.com/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home"}]},{"@type":"WebSite","@id":"https://thomsonmattress.com/#website","url":"https://thomsonmattress.com/","name":"Thomson Mattress","description":"","publisher":{"@id":"https://thomsonmattress.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://thomsonmattress.com/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https://thomsonmattress.com/#organization","name":"Thomson Mattress","url":"https://thomsonmattress.com/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https://thomsonmattress.com/#/schema/logo/image/","url":"https://thomsonmattress.com/wp-content/uploads/2021/11/cropped-thom-logo.png","contentUrl":"https://thomsonmattress.com/wp-content/uploads/2021/11/cropped-thom-logo.png","width":240,"height":146,"caption":"Thomson Mattress"},"image":{"@id":"https://thomsonmattress.com/#/schema/logo/image/"}}]}</script> <!-- / Yoast SEO plugin. --> <link rel='dns-prefetch' href='//www.googletagmanager.com' /> <script type="text/javascript"> /* <![CDATA[ */ window._wpemojiSettings = {"baseUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/72x72\/","ext":".png","svgUrl":"https:\/\/s.w.org\/images\/core\/emoji\/15.0.3\/svg\/","svgExt":".svg","source":{"concatemoji":"https:\/\/thomsonmattress.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=6.5.7"}}; /*! This file is auto-generated */ !function(i,n){var o,s,e;function c(e){try{var t={supportTests:e,timestamp:(new Date).valueOf()};sessionStorage.setItem(o,JSON.stringify(t))}catch(e){}}function p(e,t,n){e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(t,0,0);var t=new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data),r=(e.clearRect(0,0,e.canvas.width,e.canvas.height),e.fillText(n,0,0),new Uint32Array(e.getImageData(0,0,e.canvas.width,e.canvas.height).data));return t.every(function(e,t){return e===r[t]})}function u(e,t,n){switch(t){case"flag":return n(e,"\ud83c\udff3\ufe0f\u200d\u26a7\ufe0f","\ud83c\udff3\ufe0f\u200b\u26a7\ufe0f")?!1:!n(e,"\ud83c\uddfa\ud83c\uddf3","\ud83c\uddfa\u200b\ud83c\uddf3")&&!n(e,"\ud83c\udff4\udb40\udc67\udb40\udc62\udb40\udc65\udb40\udc6e\udb40\udc67\udb40\udc7f","\ud83c\udff4\u200b\udb40\udc67\u200b\udb40\udc62\u200b\udb40\udc65\u200b\udb40\udc6e\u200b\udb40\udc67\u200b\udb40\udc7f");case"emoji":return!n(e,"\ud83d\udc26\u200d\u2b1b","\ud83d\udc26\u200b\u2b1b")}return!1}function f(e,t,n){var r="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?new OffscreenCanvas(300,150):i.createElement("canvas"),a=r.getContext("2d",{willReadFrequently:!0}),o=(a.textBaseline="top",a.font="600 32px Arial",{});return e.forEach(function(e){o[e]=t(a,e,n)}),o}function t(e){var t=i.createElement("script");t.src=e,t.defer=!0,i.head.appendChild(t)}"undefined"!=typeof Promise&&(o="wpEmojiSettingsSupports",s=["flag","emoji"],n.supports={everything:!0,everythingExceptFlag:!0},e=new Promise(function(e){i.addEventListener("DOMContentLoaded",e,{once:!0})}),new Promise(function(t){var n=function(){try{var e=JSON.parse(sessionStorage.getItem(o));if("object"==typeof e&&"number"==typeof e.timestamp&&(new Date).valueOf()<e.timestamp+604800&&"object"==typeof e.supportTests)return e.supportTests}catch(e){}return null}();if(!n){if("undefined"!=typeof Worker&&"undefined"!=typeof OffscreenCanvas&&"undefined"!=typeof URL&&URL.createObjectURL&&"undefined"!=typeof Blob)try{var e="postMessage("+f.toString()+"("+[JSON.stringify(s),u.toString(),p.toString()].join(",")+"));",r=new Blob([e],{type:"text/javascript"}),a=new Worker(URL.createObjectURL(r),{name:"wpTestEmojiSupports"});return void(a.onmessage=function(e){c(n=e.data),a.terminate(),t(n)})}catch(e){}c(n=f(s,u,p))}t(n)}).then(function(e){for(var t in e)n.supports[t]=e[t],n.supports.everything=n.supports.everything&&n.supports[t],"flag"!==t&&(n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&n.supports[t]);n.supports.everythingExceptFlag=n.supports.everythingExceptFlag&&!n.supports.flag,n.DOMReady=!1,n.readyCallback=function(){n.DOMReady=!0}}).then(function(){return e}).then(function(){var e;n.supports.everything||(n.readyCallback(),(e=n.source||{}).concatemoji?t(e.concatemoji):e.wpemoji&&e.twemoji&&(t(e.twemoji),t(e.wpemoji)))}))}((window,document),window._wpemojiSettings); /* ]]> */ </script> <style id='wp-emoji-styles-inline-css' type='text/css'> img.wp-smiley, img.emoji { display: inline !important; border: none !important; box-shadow: none !important; height: 1em !important; width: 1em !important; margin: 0 0.07em !important; vertical-align: -0.1em !important; background: none !important; padding: 0 !important; } </style> <link rel='stylesheet' id='wp-block-library-css' href='https://thomsonmattress.com/wp-includes/css/dist/block-library/style.min.css?ver=6.5.7' type='text/css' media='all' /> <link rel='stylesheet' id='wc-blocks-vendors-style-css' href='https://thomsonmattress.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-blocks-vendors-style.css?ver=9.6.6' type='text/css' media='all' /> <link rel='stylesheet' id='wc-blocks-style-css' href='https://thomsonmattress.com/wp-content/plugins/woocommerce/packages/woocommerce-blocks/build/wc-blocks-style.css?ver=9.6.6' type='text/css' media='all' /> <style id='global-styles-inline-css' type='text/css'> body{--wp--preset--color--black: #000000;--wp--preset--color--cyan-bluish-gray: #abb8c3;--wp--preset--color--white: #ffffff;--wp--preset--color--pale-pink: #f78da7;--wp--preset--color--vivid-red: #cf2e2e;--wp--preset--color--luminous-vivid-orange: #ff6900;--wp--preset--color--luminous-vivid-amber: #fcb900;--wp--preset--color--light-green-cyan: #7bdcb5;--wp--preset--color--vivid-green-cyan: #00d084;--wp--preset--color--pale-cyan-blue: #8ed1fc;--wp--preset--color--vivid-cyan-blue: #0693e3;--wp--preset--color--vivid-purple: #9b51e0;--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple: linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%);--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan: linear-gradient(135deg,rgb(122,220,180) 0%,rgb(0,208,130) 100%);--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange: linear-gradient(135deg,rgba(252,185,0,1) 0%,rgba(255,105,0,1) 100%);--wp--preset--gradient--luminous-vivid-orange-to-vivid-red: linear-gradient(135deg,rgba(255,105,0,1) 0%,rgb(207,46,46) 100%);--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray: linear-gradient(135deg,rgb(238,238,238) 0%,rgb(169,184,195) 100%);--wp--preset--gradient--cool-to-warm-spectrum: linear-gradient(135deg,rgb(74,234,220) 0%,rgb(151,120,209) 20%,rgb(207,42,186) 40%,rgb(238,44,130) 60%,rgb(251,105,98) 80%,rgb(254,248,76) 100%);--wp--preset--gradient--blush-light-purple: linear-gradient(135deg,rgb(255,206,236) 0%,rgb(152,150,240) 100%);--wp--preset--gradient--blush-bordeaux: linear-gradient(135deg,rgb(254,205,165) 0%,rgb(254,45,45) 50%,rgb(107,0,62) 100%);--wp--preset--gradient--luminous-dusk: linear-gradient(135deg,rgb(255,203,112) 0%,rgb(199,81,192) 50%,rgb(65,88,208) 100%);--wp--preset--gradient--pale-ocean: linear-gradient(135deg,rgb(255,245,203) 0%,rgb(182,227,212) 50%,rgb(51,167,181) 100%);--wp--preset--gradient--electric-grass: linear-gradient(135deg,rgb(202,248,128) 0%,rgb(113,206,126) 100%);--wp--preset--gradient--midnight: linear-gradient(135deg,rgb(2,3,129) 0%,rgb(40,116,252) 100%);--wp--preset--font-size--small: 12px;--wp--preset--font-size--medium: 18px;--wp--preset--font-size--large: 39px;--wp--preset--font-size--x-large: 54px;--wp--preset--spacing--20: 0.44rem;--wp--preset--spacing--30: 0.67rem;--wp--preset--spacing--40: 1rem;--wp--preset--spacing--50: 1.5rem;--wp--preset--spacing--60: 2.25rem;--wp--preset--spacing--70: 3.38rem;--wp--preset--spacing--80: 5.06rem;--wp--preset--shadow--natural: 6px 6px 9px rgba(0, 0, 0, 0.2);--wp--preset--shadow--deep: 12px 12px 50px rgba(0, 0, 0, 0.4);--wp--preset--shadow--sharp: 6px 6px 0px rgba(0, 0, 0, 0.2);--wp--preset--shadow--outlined: 6px 6px 0px -3px rgba(255, 255, 255, 1), 6px 6px rgba(0, 0, 0, 1);--wp--preset--shadow--crisp: 6px 6px 0px rgba(0, 0, 0, 1);}body { margin: 0;--wp--style--global--content-size: 800px;--wp--style--global--wide-size: 1300px; }.wp-site-blocks > .alignleft { float: left; margin-right: 2em; }.wp-site-blocks > .alignright { float: right; margin-left: 2em; }.wp-site-blocks > .aligncenter { justify-content: center; margin-left: auto; margin-right: auto; }:where(.wp-site-blocks) > * { margin-block-start: 24px; margin-block-end: 0; }:where(.wp-site-blocks) > :first-child:first-child { margin-block-start: 0; }:where(.wp-site-blocks) > :last-child:last-child { margin-block-end: 0; }body { --wp--style--block-gap: 24px; }:where(body .is-layout-flow) > :first-child:first-child{margin-block-start: 0;}:where(body .is-layout-flow) > :last-child:last-child{margin-block-end: 0;}:where(body .is-layout-flow) > *{margin-block-start: 24px;margin-block-end: 0;}:where(body .is-layout-constrained) > :first-child:first-child{margin-block-start: 0;}:where(body .is-layout-constrained) > :last-child:last-child{margin-block-end: 0;}:where(body .is-layout-constrained) > *{margin-block-start: 24px;margin-block-end: 0;}:where(body .is-layout-flex) {gap: 24px;}:where(body .is-layout-grid) {gap: 24px;}body .is-layout-flow > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-flow > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-flow > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignleft{float: left;margin-inline-start: 0;margin-inline-end: 2em;}body .is-layout-constrained > .alignright{float: right;margin-inline-start: 2em;margin-inline-end: 0;}body .is-layout-constrained > .aligncenter{margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)){max-width: var(--wp--style--global--content-size);margin-left: auto !important;margin-right: auto !important;}body .is-layout-constrained > .alignwide{max-width: var(--wp--style--global--wide-size);}body .is-layout-flex{display: flex;}body .is-layout-flex{flex-wrap: wrap;align-items: center;}body .is-layout-flex > *{margin: 0;}body .is-layout-grid{display: grid;}body .is-layout-grid > *{margin: 0;}body{padding-top: 0px;padding-right: 0px;padding-bottom: 0px;padding-left: 0px;}a:where(:not(.wp-element-button)){text-decoration: none;}.wp-element-button, .wp-block-button__link{background-color: #32373c;border-width: 0;color: #fff;font-family: inherit;font-size: inherit;line-height: inherit;padding: calc(0.667em + 2px) calc(1.333em + 2px);text-decoration: none;}.has-black-color{color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-color{color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-color{color: var(--wp--preset--color--white) !important;}.has-pale-pink-color{color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-color{color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-color{color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-color{color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-color{color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-color{color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-color{color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-color{color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-color{color: var(--wp--preset--color--vivid-purple) !important;}.has-black-background-color{background-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-background-color{background-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-background-color{background-color: var(--wp--preset--color--white) !important;}.has-pale-pink-background-color{background-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-background-color{background-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-background-color{background-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-background-color{background-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-background-color{background-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-background-color{background-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-background-color{background-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-background-color{background-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-background-color{background-color: var(--wp--preset--color--vivid-purple) !important;}.has-black-border-color{border-color: var(--wp--preset--color--black) !important;}.has-cyan-bluish-gray-border-color{border-color: var(--wp--preset--color--cyan-bluish-gray) !important;}.has-white-border-color{border-color: var(--wp--preset--color--white) !important;}.has-pale-pink-border-color{border-color: var(--wp--preset--color--pale-pink) !important;}.has-vivid-red-border-color{border-color: var(--wp--preset--color--vivid-red) !important;}.has-luminous-vivid-orange-border-color{border-color: var(--wp--preset--color--luminous-vivid-orange) !important;}.has-luminous-vivid-amber-border-color{border-color: var(--wp--preset--color--luminous-vivid-amber) !important;}.has-light-green-cyan-border-color{border-color: var(--wp--preset--color--light-green-cyan) !important;}.has-vivid-green-cyan-border-color{border-color: var(--wp--preset--color--vivid-green-cyan) !important;}.has-pale-cyan-blue-border-color{border-color: var(--wp--preset--color--pale-cyan-blue) !important;}.has-vivid-cyan-blue-border-color{border-color: var(--wp--preset--color--vivid-cyan-blue) !important;}.has-vivid-purple-border-color{border-color: var(--wp--preset--color--vivid-purple) !important;}.has-vivid-cyan-blue-to-vivid-purple-gradient-background{background: var(--wp--preset--gradient--vivid-cyan-blue-to-vivid-purple) !important;}.has-light-green-cyan-to-vivid-green-cyan-gradient-background{background: var(--wp--preset--gradient--light-green-cyan-to-vivid-green-cyan) !important;}.has-luminous-vivid-amber-to-luminous-vivid-orange-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-amber-to-luminous-vivid-orange) !important;}.has-luminous-vivid-orange-to-vivid-red-gradient-background{background: var(--wp--preset--gradient--luminous-vivid-orange-to-vivid-red) !important;}.has-very-light-gray-to-cyan-bluish-gray-gradient-background{background: var(--wp--preset--gradient--very-light-gray-to-cyan-bluish-gray) !important;}.has-cool-to-warm-spectrum-gradient-background{background: var(--wp--preset--gradient--cool-to-warm-spectrum) !important;}.has-blush-light-purple-gradient-background{background: var(--wp--preset--gradient--blush-light-purple) !important;}.has-blush-bordeaux-gradient-background{background: var(--wp--preset--gradient--blush-bordeaux) !important;}.has-luminous-dusk-gradient-background{background: var(--wp--preset--gradient--luminous-dusk) !important;}.has-pale-ocean-gradient-background{background: var(--wp--preset--gradient--pale-ocean) !important;}.has-electric-grass-gradient-background{background: var(--wp--preset--gradient--electric-grass) !important;}.has-midnight-gradient-background{background: var(--wp--preset--gradient--midnight) !important;}.has-small-font-size{font-size: var(--wp--preset--font-size--small) !important;}.has-medium-font-size{font-size: var(--wp--preset--font-size--medium) !important;}.has-large-font-size{font-size: var(--wp--preset--font-size--large) !important;}.has-x-large-font-size{font-size: var(--wp--preset--font-size--x-large) !important;} .wp-block-navigation a:where(:not(.wp-element-button)){color: inherit;} .wp-block-pullquote{font-size: 1.5em;line-height: 1.6;} </style> <link rel='stylesheet' id='contact-form-7-css' href='https://thomsonmattress.com/wp-content/plugins/contact-form-7/includes/css/styles.css?ver=5.7.5.1' type='text/css' media='all' /> <link rel='stylesheet' id='patterns-kit-style-css' href='https://thomsonmattress.com/wp-content/plugins/patterns-kit//assets/css/front.css?ver=6.5.7' type='text/css' media='all' /> <link rel='stylesheet' id='woocommerce-layout-css' href='https://thomsonmattress.com/wp-content/plugins/woocommerce/assets/css/woocommerce-layout.css?ver=7.5.2' type='text/css' media='all' /> <link rel='stylesheet' id='woocommerce-smallscreen-css' href='https://thomsonmattress.com/wp-content/plugins/woocommerce/assets/css/woocommerce-smallscreen.css?ver=7.5.2' type='text/css' media='only screen and (max-width: 768px)' /> <link rel='stylesheet' id='woocommerce-general-css' href='https://thomsonmattress.com/wp-content/plugins/woocommerce/assets/css/woocommerce.css?ver=7.5.2' type='text/css' media='all' /> <style id='woocommerce-inline-inline-css' type='text/css'> .woocommerce form .form-row .required { visibility: visible; } </style> <link rel='stylesheet' id='elementor-frontend-css' href='https://thomsonmattress.com/wp-content/plugins/elementor/assets/css/frontend-lite.min.css?ver=3.13.0-dev2' type='text/css' media='all' /> <link rel='stylesheet' id='swiper-css' href='https://thomsonmattress.com/wp-content/plugins/elementor/assets/lib/swiper/v8/css/swiper.min.css?ver=8.4.5' type='text/css' media='all' /> <link rel='stylesheet' id='elementor-post-448-css' href='https://thomsonmattress.com/wp-content/uploads/elementor/css/post-448.css?ver=1712717277' type='text/css' media='all' /> <link rel='stylesheet' id='elementor-pro-css' href='https://thomsonmattress.com/wp-content/plugins/pro-elements/assets/css/frontend-lite.min.css?ver=3.8.0' type='text/css' media='all' /> <link rel='stylesheet' id='elementor-global-css' href='https://thomsonmattress.com/wp-content/uploads/elementor/css/global.css?ver=1712717277' type='text/css' media='all' /> <link rel='stylesheet' id='elementor-post-323-css' href='https://thomsonmattress.com/wp-content/uploads/elementor/css/post-323.css?ver=1755443508' type='text/css' media='all' /> <link rel='stylesheet' id='google-fonts-1-css' href='https://fonts.googleapis.com/css?family=Roboto%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CRoboto+Slab%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CAref+Ruqaa%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CSunflower%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CRosario%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic%7CAlike+Angular%3A100%2C100italic%2C200%2C200italic%2C300%2C300italic%2C400%2C400italic%2C500%2C500italic%2C600%2C600italic%2C700%2C700italic%2C800%2C800italic%2C900%2C900italic&display=auto&ver=6.5.7' type='text/css' media='all' /> <link rel="preconnect" href="https://fonts.gstatic.com/" crossorigin><!--n2css--><script type="text/javascript" src="https://thomsonmattress.com/wp-includes/js/jquery/jquery.min.js?ver=3.7.1" id="jquery-core-js"></script> <script type="text/javascript" src="https://thomsonmattress.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=3.4.1" id="jquery-migrate-js"></script> <script type="text/javascript" src="https://thomsonmattress.com/wp-content/plugins/patterns-kit//assets/js/front.js?ver=6.5.7" id="patterns-kit-scripts-js"></script> <!-- Google Analytics snippet added by Site Kit --> <script type="text/javascript" src="https://www.googletagmanager.com/gtag/js?id=UA-216152595-1" id="google_gtagjs-js" async></script> <script type="text/javascript" id="google_gtagjs-js-after"> /* <![CDATA[ */ window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);} gtag('set', 'linker', {"domains":["thomsonmattress.com"]} ); gtag("js", new Date()); gtag("set", "developer_id.dZTNiMT", true); gtag("config", "UA-216152595-1", {"anonymize_ip":true}); gtag("config", "G-77XCX6PNLN"); /* ]]> */ </script> <!-- End Google Analytics snippet added by Site Kit --> <link rel="https://api.w.org/" href="https://thomsonmattress.com/wp-json/" /><link rel="alternate" type="application/json" href="https://thomsonmattress.com/wp-json/wp/v2/pages/323" /><link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://thomsonmattress.com/xmlrpc.php?rsd" /> <meta name="generator" content="WordPress 6.5.7" /> <meta name="generator" content="WooCommerce 7.5.2" /> <link rel='shortlink' href='https://thomsonmattress.com/' /> <link rel="alternate" type="application/json+oembed" href="https://thomsonmattress.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fthomsonmattress.com%2F" /> <link rel="alternate" type="text/xml+oembed" href="https://thomsonmattress.com/wp-json/oembed/1.0/embed?url=https%3A%2F%2Fthomsonmattress.com%2F&format=xml" /> <script type="text/javascript">if(!window._buttonizer) { window._buttonizer = {}; };var _buttonizer_page_data = {"language":"en"};window._buttonizer.data = { ..._buttonizer_page_data, ...window._buttonizer.data };</script><meta name="generator" content="Site Kit by Google 1.96.0" /> <noscript><style>.woocommerce-product-gallery{ opacity: 1 !important; }</style></noscript> <meta name="generator" content="Elementor 3.13.0-dev2; features: e_dom_optimization, e_optimized_assets_loading, e_optimized_css_loading, e_font_icon_svg, a11y_improvements, additional_custom_breakpoints; settings: css_print_method-external, google_font-enabled, font_display-auto"> <link rel="icon" href="https://thomsonmattress.com/wp-content/uploads/2023/04/cropped-feviscon-32x32.jpg" sizes="32x32" /> <link rel="icon" href="https://thomsonmattress.com/wp-content/uploads/2023/04/cropped-feviscon-192x192.jpg" sizes="192x192" /> <link rel="apple-touch-icon" href="https://thomsonmattress.com/wp-content/uploads/2023/04/cropped-feviscon-180x180.jpg" /> <meta name="msapplication-TileImage" content="https://thomsonmattress.com/wp-content/uploads/2023/04/cropped-feviscon-270x270.jpg" /> <style type="text/css" id="wp-custom-css"> .leadform-show-form h2, li.cat-item.cat-item-37 { display: none; } </style> </head> <body class="home page-template-default page page-id-323 wp-custom-logo theme-big-store woocommerce-no-js elementor-beta elementor-default elementor-kit-448 elementor-page elementor-page-323"> <div id="page" class="bigstore-site "> <header> <a class="skip-link screen-reader-text" href="#content">Skip to content</a> <!-- sticky header --> <!-- end top-header --> <!-- end main-header --> <!-- end below-header --> </header> <!-- end header --><div id="content" class="page-content thunk-page no-sidebar"> <div class="content-wrap" > <div class="container"> <div class="main-area"> <div id="primary" class="primary-content-area"> <div class="primary-content-wrap"> <div class="page-head">