
Tagged: acf custom fields, enfold
-
AuthorPosts
-
July 17, 2025 at 7:41 pm #1486939
I use Accordion to show/hide a button (see example page in private content).
I am trying to create a custom layout with some ACF custom fields. Among these the button should contain a ACF field = text (area_name) and a ACF url (the link to download a document)However when I add the button in the Accordion and use Dynamic Content instead of Button Label and Link settings, the button after toggling the accordion looks broken. This is the shortcode inside the accordion
[av_button label='{acf_field_6878d372becf1:ISRA name}' icon_select='yes' icon='ue82d' font='entypo-fontello' link='manually,https://' link_dynamic='{acf_field_6878d26880177:Factsheet download link}' link_target='' size='medium' position='left' label_display='' title_attr='' size-text='20' av-desktop-font-size-text='' av-medium-font-size-text='' av-small-font-size-text='' av-mini-font-size-text='' margin='' margin_sync='true' padding='20px' padding_sync='true' av-desktop-margin='' av-desktop-margin_sync='true' av-desktop-padding='' av-desktop-padding_sync='true' av-medium-margin='' av-medium-margin_sync='true' av-medium-padding='' av-medium-padding_sync='true' av-small-margin='' av-small-margin_sync='true' av-small-padding='' av-small-padding_sync='true' av-mini-margin='' av-mini-margin_sync='true' av-mini-padding='' av-mini-padding_sync='true' color_options='' color='theme-color' custom_bg='#444444' custom_font='#ffffff' btn_color_bg='theme-color' btn_custom_grad_direction='vertical' btn_custom_grad_1='#000000' btn_custom_grad_2='#ffffff' btn_custom_grad_3='' btn_custom_grad_opacity='0.7' btn_custom_bg='#444444' btn_color_bg_hover='theme-color-highlight' btn_custom_bg_hover='#444444' btn_color_font='theme-color' btn_custom_font='#ffffff' btn_color_font_hover='white' btn_custom_font_hover='#ffffff' border='' border_width='' border_width_sync='true' border_color='' border_radius='' border_radius_sync='true' box_shadow='' box_shadow_style='0px,0px,0px,0px' box_shadow_color='' animation='' animation_duration='' animation_custom_bg_color='' animation_z_index_curtain='100' hover_opacity='' sonar_effect_effect='' sonar_effect_color='' sonar_effect_duration='1' sonar_effect_scale='' sonar_effect_opac='0.5' css_position='' css_position_location=',,,' css_position_z_index='' av-desktop-css_position='' av-desktop-css_position_location=',,,' av-desktop-css_position_z_index='' av-medium-css_position='' av-medium-css_position_location=',,,' av-medium-css_position_z_index='' av-small-css_position='' av-small-css_position_location=',,,' av-small-css_position_z_index='' av-mini-css_position='' av-mini-css_position_location=',,,' av-mini-css_position_z_index='' id='' custom_class='' template_class='' av_uid='av-22oe9u' sc_version='1.0' admin_preview_bg='']
On the other hand if I create a simple button in a column everything works fine. My problem is that I need to use the button inside the accordion styled as it is now.
Do you have any suggestion?
-
AuthorPosts
- You must be logged in to reply to this topic.