{"id":11862,"date":"2016-12-29T14:26:59","date_gmt":"2016-12-29T14:26:59","guid":{"rendered":"http:\/\/rnbtheme.com\/documentation\/?p=11862"},"modified":"2023-07-31T11:26:07","modified_gmt":"2023-07-31T11:26:07","slug":"dfd-accordion","status":"publish","type":"post","link":"https:\/\/rnbtheme.com\/documentation\/wpbackery\/dfd-accordion","title":{"rendered":"DFD Accordion"},"content":{"rendered":"<section class=\"wpb-content-wrapper\"><p>[vc_row][vc_column css=&#8221;.vc_custom_1485963458300{padding-right: 35px !important;padding-left: 35px !important;}&#8221; col_shadow=&#8221;box_shadow_enable:disable|shadow_horizontal:0|shadow_vertical:15|shadow_blur:50|shadow_spread:0|box_shadow_color:rgba(0%2C0%2C0%2C0.35)&#8221; col_shadow_hover=&#8221;box_shadow_enable:disable|shadow_horizontal:0|shadow_vertical:15|shadow_blur:50|shadow_spread:0|box_shadow_color:rgba(0%2C0%2C0%2C0.35)&#8221;][dfd_spacer screen_wide_spacer_size=&#8221;30&#8243; screen_normal_resolution=&#8221;1024&#8243; screen_tablet_resolution=&#8221;800&#8243; screen_mobile_resolution=&#8221;480&#8243;][vc_column_text]This is a nested shortcode &#8211; module that includes other modules. You may style the container and then fill it in with elements.<\/p>\n<p>Accordion module helps to display the needed portion of the\u00a0content at a time and save space on the page.<\/p>\n<p>You may see the example on the <a href=\"http:\/\/rnbtheme.com\/elements\/accordion\/\" target=\"_blank\" rel=\"noopener\">Accordion<\/a> page.[\/vc_column_text][dfd_spacer screen_wide_spacer_size=&#8221;30&#8243; screen_normal_resolution=&#8221;1024&#8243; screen_tablet_resolution=&#8221;800&#8243; screen_mobile_resolution=&#8221;480&#8243;][dfd_tta_tabs border_radius=&#8221;4&#8243; alignment=&#8221;left&#8221; active_section=&#8221;1&#8243; active_tab_background=&#8221;#3b55e6&#8243; tab_hover_text_color=&#8221;#3b55e6&#8243; tab_active_color_text=&#8221;#ffffff&#8221; border_color_active=&#8221;#3b55e6&#8243;][vc_tta_section title=&#8221;General settings&#8221; tab_id=&#8221;1486545572585-2437c7e1-5371&#8243;][vc_column_text]<\/p>\n<h3>General settings<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14365\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/accordion.png\" alt=\"\" width=\"978\" height=\"631\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/accordion.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/accordion-300x194.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/accordion-768x496.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>Style<\/strong> &#8211; choose between 4 preset styles.<\/li>\n<li><strong>Autorotate\u00a0<\/strong>&#8211;\u00a0select the time of accordion tabs autoplay in seconds, if needed.<\/li>\n<li><strong>Active section<\/strong> &#8211; select what section is opened by default. To have all sections closed on initial load enter non-existing number.<\/li>\n<\/ul>\n<h5>Extra features<\/h5>\n<ul>\n<li><strong>Animation<\/strong> \u2013 choose between 14 preset animation effects.<\/li>\n<li><strong>Custom CSS class<\/strong> \u2013\u00a0enter our\u00a0own unique class name for the item \u2013 this is a useful option for those who want to create a specific style. E.g.: you can type <strong>custom-style<\/strong> class and then go to <del class=\"support-arrow-right\">Theme options<\/del>\u00a0<del class=\"support-arrow-right\">General options<\/del>\u00a0<del class=\"support-arrow-right\">Custom CSS\/JS<\/del> <del>Custom CSS<\/del> field and write your own CSS code with this class to get your own style.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Tabs style&#8221; tab_id=&#8221;1486545572829-e1c1304c-ee12&#8243;][vc_column_text]<\/p>\n<h3>Tab style<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14367\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/tab-style.png\" alt=\"\" width=\"978\" height=\"449\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/tab-style.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/tab-style-300x138.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/tab-style-768x353.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>Border radius<\/strong> &#8211; set the border radius for the accordion tab to have rounded corners.<\/li>\n<li><strong>Tab background<\/strong>\u00a0&#8211; set the background color for inactive tabs.<\/li>\n<li><strong>Tab hover background<\/strong>\u00a0&#8211; set the hover background color for inactive tabs. The background is not set by default.<\/li>\n<li><strong>Active tab background<\/strong>\u00a0&#8211; choose the background color for the active tab. The default background color\u00a0 for the styles <strong>Square Background<\/strong> and <strong>Rounded Background<\/strong>\u00a0is inherited from<del class=\"support-arrow-right\">Theme Options<\/del><del class=\"support-arrow-right\">Styling Options<\/del><del>Third site color<\/del>. The color for the other styles\u00a0is not set by default.<\/li>\n<li><strong>Border color<\/strong> &#8211; set the background color for the accordion tab. The default color is not set by default.<\/li>\n<li><strong>Border color<\/strong>\u00a0<strong>active tab<\/strong> &#8211; set the background color for the accordion tab on hover. The default color is inherited from<del class=\"support-arrow-right\">Theme Options<\/del><del class=\"support-arrow-right\">Styling Options<\/del><del>Third site color<\/del>.\u00a0The default border color for the style <strong>Square Underline<\/strong> is #e6e6e6.<\/li>\n<li><strong>2px activate tab border<\/strong> &#8211; set it to <strong>Enable<\/strong> to add\u00a0 2px for the active tab.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Content&#8221; tab_id=&#8221;1486545573068-02c117a6-3d50&#8243;][vc_column_text]<\/p>\n<h3>Content style<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14369\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/content-style.png\" alt=\"\" width=\"978\" height=\"182\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/content-style.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/content-style-300x56.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/content-style-768x143.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>Content background color<\/strong>\u00a0\u2013 set the content background color. The color is not set by default.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Text&#8221; tab_id=&#8221;1486564328775-a9b35c26-c8f6&#8243;][vc_column_text]<\/p>\n<h3>Text style<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14371\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/text-style.png\" alt=\"\" width=\"978\" height=\"647\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/text-style.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/text-style-300x198.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/text-style-768x508.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>Alignment<\/strong> &#8211; select the alignment of the title. <strong>Left<\/strong>, <strong>right<\/strong> and <strong>center<\/strong> positions are available.<\/li>\n<li><strong>Font size<\/strong> &#8211; set the font size of the title.<\/li>\n<li><strong>Title color<\/strong> &#8211;\u00a0set the color for the title. The default color is inherited from <del class=\"support-arrow-right\">Theme Options<\/del>\u00a0 <del class=\"support-arrow-right\">Styling options<\/del>\u00a0 <del class=\"support-arrow-right\">Link options<\/del>\u00a0 <del>Link Typography<\/del> section.<\/li>\n<li><strong>Title hover color<\/strong> &#8211; specify the text color on hover.\u00a0 The default color is inherited from <del class=\"support-arrow-right\">Theme Options<\/del>\u00a0 <del class=\"support-arrow-right\">Styling options<\/del>\u00a0 <del class=\"support-arrow-right\">Link options<\/del>\u00a0 <del>Link hover color.<\/del><\/li>\n<li><strong>Active tab title color<\/strong> &#8211; select the text color for the currently opened tab. The default color for the styles <strong>Square Bordered<\/strong>, <strong>Round Bordered<\/strong> and <strong>Square Underline<\/strong> is inherited from\u00a0<del class=\"support-arrow-right\">Theme Options<\/del>\u00a0 <del class=\"support-arrow-right\">Styling options<\/del>\u00a0 <del class=\"support-arrow-right\">Link options<\/del>\u00a0 <del>Link Typography<\/del> section. The color for the styles <strong>Square Background<\/strong> and <strong>Rounded Background<\/strong> is #fff.<\/li>\n<li><strong>Underline in tab<\/strong> &#8211; switch it to <strong>Enable<\/strong> if you need to underline the title. It inherits the styles from\u00a0<del class=\"support-arrow-right\">Theme Options<\/del>\u00a0 <del class=\"support-arrow-right\">Styling options<\/del>\u00a0 <del class=\"support-arrow-right\">Link options<\/del>\u00a0 <del>Link decoration<\/del> section.<\/li>\n<li><strong>Hide +\/- controls<\/strong> &#8211; set it to <strong>Enable<\/strong> to\u00a0hide +\/- controls for the accordion tabs.<\/li>\n<li><strong>Letter spacing<\/strong>\u00a0\u2013 set the needed distance between letters.<\/li>\n<li><strong>Font style<\/strong>\u00a0\u2013 select the font weight and style (bold, italic).<\/li>\n<li><strong>Custom font family<\/strong>\u00a0\u2013 set it to\u00a0<strong>Enable<\/strong>\u00a0to use custom Google font.\n<ul>\n<li><strong>Font Family<\/strong>\u00a0\u2013 select the font family from the drop-down list.<\/li>\n<li><strong>Font style<\/strong>\u00a0\u2013 select the font weight and style (bold, italic) for the text in the accordion tab.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Icon&#8221; tab_id=&#8221;1507108904636-232afdb7-edd7&#8243;][vc_column_text]<\/p>\n<h3>Icon style<\/h3>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14376\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/icon-style-2.png\" alt=\"\" width=\"978\" height=\"268\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/icon-style-2.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/icon-style-2-300x82.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/icon-style-2-768x210.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>I<\/strong><strong>con plus position<\/strong> &#8211; select the position of the navigation plus\/minus icons.<\/li>\n<li><strong>Custom icon position<\/strong> &#8211;\u00a0select the icon position according to the title. Left and right positions are available.<\/li>\n<li><strong>Icon color<\/strong> &#8211; select the color of title decoration icon.\u00a0The default color is inherited from\u00a0<del class=\"support-arrow-right\">Theme Options<\/del>\u00a0\u00a0<del class=\"support-arrow-right\">Styling options<\/del>\u00a0\u00a0<del class=\"support-arrow-right\">Link options<\/del>\u00a0\u00a0<del class=\"support-arrow-right\">Link Typography<\/del>\u00a0section.<\/li>\n<li><strong>Icon size<\/strong> &#8211; select the size of the title decoration icon.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Design options&#8221; tab_id=&#8221;1507108916590-9b38617f-ce41&#8243;][vc_column_text]<\/p>\n<h3>Design options<\/h3>\n<h4>Add any margin, border, and padding. Both, pixels and percents are acceptable.<\/h4>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-2483\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2017\/01\/design-settings.jpg\" sizes=\"(max-width: 978px) 100vw, 978px\" srcset=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2017\/01\/design-settings.jpg 978w, http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2017\/01\/design-settings-300x186.jpg 300w, http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2017\/01\/design-settings-768x476.jpg 768w\" alt=\"\" width=\"978\" height=\"606\" \/><\/p>\n<ul>\n<li><strong>Margin<\/strong>\u00a0\u2013 enter the needed value for the margins, negative values and percents can be accepted.<\/li>\n<li><strong>Border<\/strong>\u00a0\u2013 enter the needed value for the border. Note, you also have to select its style and color to display it on the site.\n<ul>\n<li><strong>Border color<\/strong>\u00a0\u2013 select the color for the border.<\/li>\n<li><strong>Border style<\/strong>\u00a0\u2013 select the style of the border \u2013 solid, dotted, etc.<\/li>\n<li><strong>Border radius<\/strong>\u00a0\u2013 set the value for border radius to have rounded corners of the border.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Padding<\/strong>\u00a0\u2013 enter the needed values for the element\u2019s padding.<\/li>\n<\/ul>\n<p>More information about margin, border and padding you\u00a0may find in\u00a0<a href=\"http:\/\/rnbtheme.com\/documentation\/post-types\/column-options-examples#margin-border-padding\">this post<\/a>.<\/p>\n<ul>\n<li><strong>Background<\/strong>\u00a0\u2013 select the color.\n<ul>\n<li><strong>Image<\/strong>\u00a0\u2013 select the image to be set as the background.<\/li>\n<li><strong>Background attachment<\/strong>\u00a0(in the\u00a0drop-down list) \u2013 select the background-attachment for the image.\n<ul>\n<li><strong>Theme defaults<\/strong>\u00a0\u2013 the default image position \u2013 the full size aligned top left.<\/li>\n<li><strong>Cover<\/strong>\u00a0\u2013 the image will fit it\u2019s container: it\u2019ll be resized to make the narrowest side fit the container so that there will be no blank spaces inside.<\/li>\n<li><strong>Contain<\/strong>\u00a0\u2013 the image will have the biggest side that will fit the container: at least one side will fit the container and there may be gaps between the image and the container.<\/li>\n<li><strong>Repeat<\/strong>\u00a0\u2013 the image will be repeated and create a pattern.<\/li>\n<li><strong>No Repeat<\/strong>\u00a0\u2013 the image will be inserted full width, aligned top left, and with no repeat.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>More examples of background image attachment you may find in\u00a0<a href=\"http:\/\/rnbtheme.com\/documentation\/post-types\/column-options-examples#bg-image-position\">this post<\/a>.<\/p>\n<ul>\n<li><strong>Box controls<\/strong>\u00a0\u2013 set it to\u00a0<strong>Enable\u00a0<\/strong>in case you want to set the same margins\/borders\/paddings for all four sides. It\u2019ll save our time, as the inserted value will be applied to the top, right, bottom and left elements.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][vc_tta_section title=&#8221;Section settings&#8221; tab_id=&#8221;1486545573311-423c930f-c6e7&#8243;][vc_column_text]<\/p>\n<h3>Section settings<\/h3>\n<h4>By clicking on edit icon of each section you can set the icons for it and customize it to your needs.<\/h4>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-14378\" src=\"http:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/Section.png\" alt=\"\" width=\"978\" height=\"875\" srcset=\"https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/Section.png 978w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/Section-300x268.png 300w, https:\/\/rnbtheme.com\/documentation\/wp-content\/uploads\/2016\/12\/Section-768x687.png 768w\" sizes=\"(max-width: 978px) 100vw, 978px\" \/><\/p>\n<ul>\n<li><strong>Title<\/strong> &#8211; enter the title of the section.<\/li>\n<li><strong>Section ID<\/strong>\u00a0&#8211; enter section ID. Note: make sure it is unique and valid according to <a href=\"http:\/\/www.w3schools.com\/tags\/att_global_id.asp\" target=\"_blank\" rel=\"noopener\">W3c specification<\/a>.<\/li>\n<li><strong>Icon<\/strong> &#8211; set it to <strong>Enable<\/strong> to show the icon in the accordion tab.<\/li>\n<li><strong>Icon position<\/strong> &#8211; select position of the icon in the tab. It can be set <strong>before<\/strong> and <strong>after<\/strong>\u00a0the\u00a0title.<\/li>\n<li><strong>Icon library<\/strong> \u2013\u00a0choose the icon library for the module.<\/li>\n<li><strong>Select icon<\/strong>\u00a0\u2013 select the icon to be displayed in the module.<\/li>\n<li><strong>Extra CSS name<\/strong>\u00a0\u2013\u00a0enter our\u00a0own unique class name for the item \u2013 this is a useful option for those who want to create a specific style. E.g.: you can type <strong>custom-style<\/strong> class and then go to <del class=\"support-arrow-right\">Theme options<\/del>\u00a0<del class=\"support-arrow-right\">General options<\/del>\u00a0<del class=\"support-arrow-right\">Custom CSS\/JS<\/del> <del>Custom CSS<\/del> field and write your own CSS code with this class to get your own style.<\/li>\n<\/ul>\n<p>[\/vc_column_text][\/vc_tta_section][\/dfd_tta_tabs][\/vc_column][\/vc_row]<\/p>\n<\/section>","protected":false},"excerpt":{"rendered":"<p>This is a nested shortcode \u2013 module that includes other modules. You may style the container and then fill it in with elements.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[47,22,33],"_links":{"self":[{"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/posts\/11862"}],"collection":[{"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/comments?post=11862"}],"version-history":[{"count":22,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/posts\/11862\/revisions"}],"predecessor-version":[{"id":15595,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/posts\/11862\/revisions\/15595"}],"wp:attachment":[{"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/media?parent=11862"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/categories?post=11862"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rnbtheme.com\/documentation\/wp-json\/wp\/v2\/tags?post=11862"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}