{"id":4383,"date":"2024-01-20T15:15:00","date_gmt":"2024-01-20T18:15:00","guid":{"rendered":"https:\/\/muttstudio.com.br\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/"},"modified":"2024-11-28T13:37:37","modified_gmt":"2024-11-28T16:37:37","slug":"how-to-configure-the-elementor-accordion-sanfona-to-start-closed","status":"publish","type":"post","link":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/","title":{"rendered":"How to configure the Elementor Accordion\/Sanfona to start closed"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Elementor has an Accordion \/ Sanfona widget feature that is a great resource for creating FAQ or similar sessions. Using the Accordion widget, you can add an unlimited number of items. This can be somewhat inconvenient for some users, as the main purpose of adding an accordion is to hide information, requiring user interaction (such as clicking on an accordion item) to reveal the information.<\/p>\n\n<p class=\"wp-block-paragraph\">So how do I set all the accordion items to be closed by default? Simple, apply the following JavaScript code anywhere on your page or site, such as the header or footer. You can also insert it into an <strong>HTML<\/strong> widget in Elementor itself<\/p>\n\n<pre class=\"wp-block-code\"><code>&lt;script>\njQuery(document).ready(function($) {\nvar delay = 100; setTimeout(function() {\n$('.elementor-tab-title').removeClass('elementor-active');\n $('.elementor-tab-content').css('display', 'none'); }, delay);\n});\n&lt;\/script><\/code><\/pre>\n\n<p class=\"wp-block-paragraph\">If all goes well, you&#8217;ll see that your accordions will close, only showing the information when the user clicks on the desired item.<\/p>\n\n<p class=\"wp-block-paragraph\">See you later.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The accordion widget in Elementor is configured to remain open and there is no native option to keep it closed. However, you can easily close them using a simple JavaScript script.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1,203,204],"tags":[208,211,209,210,207,206,205],"class_list":["post-4383","post","type-post","status-publish","format-standard","hentry","category-nao-categorizado","category-webdesign-en","category-wordpress-en","tag-elementor-en","tag-hints","tag-javasccritp-en","tag-javascript-en","tag-technology","tag-webdesign-en","tag-wordpress-en"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to configure the Elementor Accordion\/Sanfona to start closed - Mutt Studio<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to configure the Elementor Accordion\/Sanfona to start closed - Mutt Studio\" \/>\n<meta property=\"og:description\" content=\"The accordion widget in Elementor is configured to remain open and there is no native option to keep it closed. However, you can easily close them using a simple JavaScript script.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/\" \/>\n<meta property=\"og:site_name\" content=\"Mutt Studio\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/muttstudio\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-20T18:15:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-28T16:37:37+00:00\" \/>\n<meta name=\"author\" content=\"Mutt Studio\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@muttstudio\" \/>\n<meta name=\"twitter:site\" content=\"@muttstudio\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mutt Studio\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/\"},\"author\":{\"name\":\"Mutt Studio\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/person\\\/df16e14166d339987a2983c9abd7e755\"},\"headline\":\"How to configure the Elementor Accordion\\\/Sanfona to start closed\",\"datePublished\":\"2024-01-20T18:15:00+00:00\",\"dateModified\":\"2024-11-28T16:37:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/\"},\"wordCount\":145,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\"},\"keywords\":[\"elementor\",\"hints\",\"javasccritp\",\"javascript\",\"technology\",\"webdesign\",\"wordpress\"],\"articleSection\":[\"N\u00e3o categorizado\",\"Webdesign\",\"Wordpress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/\",\"name\":\"How to configure the Elementor Accordion\\\/Sanfona to start closed - Mutt Studio\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#website\"},\"datePublished\":\"2024-01-20T18:15:00+00:00\",\"dateModified\":\"2024-11-28T16:37:37+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to configure the Elementor Accordion\\\/Sanfona to start closed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\",\"name\":\"Mutt Studio\",\"description\":\"Resolvemos problemas com design e tecnologia.\",\"publisher\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#organization\",\"name\":\"Mutt Studio\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-muttstudio-oficial-sem-fundo.svg\",\"contentUrl\":\"https:\\\/\\\/muttstudio.com.br\\\/wp-content\\\/uploads\\\/2022\\\/11\\\/logo-muttstudio-oficial-sem-fundo.svg\",\"width\":493,\"height\":117,\"caption\":\"Mutt Studio\"},\"image\":{\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/muttstudio\",\"https:\\\/\\\/x.com\\\/muttstudio\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/muttstudio\",\"https:\\\/\\\/www.behance.net\\\/MuttStudio\",\"https:\\\/\\\/www.youtube.com\\\/@muttstudio\",\"https:\\\/\\\/www.instagram.com\\\/muttstudio\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/#\\\/schema\\\/person\\\/df16e14166d339987a2983c9abd7e755\",\"name\":\"Mutt Studio\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g\",\"caption\":\"Mutt Studio\"},\"url\":\"https:\\\/\\\/muttstudio.com.br\\\/en\\\/author\\\/mutt-pyxel-io\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to configure the Elementor Accordion\/Sanfona to start closed - Mutt Studio","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/","og_locale":"en_US","og_type":"article","og_title":"How to configure the Elementor Accordion\/Sanfona to start closed - Mutt Studio","og_description":"The accordion widget in Elementor is configured to remain open and there is no native option to keep it closed. However, you can easily close them using a simple JavaScript script.","og_url":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/","og_site_name":"Mutt Studio","article_publisher":"https:\/\/www.facebook.com\/muttstudio","article_published_time":"2024-01-20T18:15:00+00:00","article_modified_time":"2024-11-28T16:37:37+00:00","author":"Mutt Studio","twitter_card":"summary_large_image","twitter_creator":"@muttstudio","twitter_site":"@muttstudio","twitter_misc":{"Written by":"Mutt Studio","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/#article","isPartOf":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/"},"author":{"name":"Mutt Studio","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/person\/df16e14166d339987a2983c9abd7e755"},"headline":"How to configure the Elementor Accordion\/Sanfona to start closed","datePublished":"2024-01-20T18:15:00+00:00","dateModified":"2024-11-28T16:37:37+00:00","mainEntityOfPage":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/"},"wordCount":145,"commentCount":0,"publisher":{"@id":"https:\/\/muttstudio.com.br\/en\/#organization"},"keywords":["elementor","hints","javasccritp","javascript","technology","webdesign","wordpress"],"articleSection":["N\u00e3o categorizado","Webdesign","Wordpress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/","url":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/","name":"How to configure the Elementor Accordion\/Sanfona to start closed - Mutt Studio","isPartOf":{"@id":"https:\/\/muttstudio.com.br\/en\/#website"},"datePublished":"2024-01-20T18:15:00+00:00","dateModified":"2024-11-28T16:37:37+00:00","breadcrumb":{"@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/muttstudio.com.br\/en\/how-to-configure-the-elementor-accordion-sanfona-to-start-closed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/muttstudio.com.br\/en\/"},{"@type":"ListItem","position":2,"name":"How to configure the Elementor Accordion\/Sanfona to start closed"}]},{"@type":"WebSite","@id":"https:\/\/muttstudio.com.br\/en\/#website","url":"https:\/\/muttstudio.com.br\/en\/","name":"Mutt Studio","description":"Resolvemos problemas com design e tecnologia.","publisher":{"@id":"https:\/\/muttstudio.com.br\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/muttstudio.com.br\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/muttstudio.com.br\/en\/#organization","name":"Mutt Studio","url":"https:\/\/muttstudio.com.br\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/logo\/image\/","url":"https:\/\/muttstudio.com.br\/wp-content\/uploads\/2022\/11\/logo-muttstudio-oficial-sem-fundo.svg","contentUrl":"https:\/\/muttstudio.com.br\/wp-content\/uploads\/2022\/11\/logo-muttstudio-oficial-sem-fundo.svg","width":493,"height":117,"caption":"Mutt Studio"},"image":{"@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/muttstudio","https:\/\/x.com\/muttstudio","https:\/\/www.linkedin.com\/company\/muttstudio","https:\/\/www.behance.net\/MuttStudio","https:\/\/www.youtube.com\/@muttstudio","https:\/\/www.instagram.com\/muttstudio\/"]},{"@type":"Person","@id":"https:\/\/muttstudio.com.br\/en\/#\/schema\/person\/df16e14166d339987a2983c9abd7e755","name":"Mutt Studio","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/14100519e9185aa5b8008ee62ab4db46b5c902e9b6ab200b3f44f97f0fd2578d?s=96&d=mm&r=g","caption":"Mutt Studio"},"url":"https:\/\/muttstudio.com.br\/en\/author\/mutt-pyxel-io\/"}]}},"_links":{"self":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4383","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/comments?post=4383"}],"version-history":[{"count":1,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4383\/revisions"}],"predecessor-version":[{"id":4384,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/posts\/4383\/revisions\/4384"}],"wp:attachment":[{"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/media?parent=4383"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/categories?post=4383"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/muttstudio.com.br\/en\/wp-json\/wp\/v2\/tags?post=4383"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}