Tagged: avia layout builder, DeBug Mode
-
AuthorPosts
-
April 12, 2017 at 5:03 pm #776810
Hey,
I am trying to use the debug window in avia layout builder, but it is not working for me. Here is what I did to set it up:
– went to funtions.php and added//set builder mode to debug add_action('avia_builder_mode', "builder_set_debug"); function builder_set_debug() { return "debug"; }
directly under
if(isset($avia_config['use_child_theme_functions_only'])) return;
as described here– after that I created a new portfolio entry, clicked on “Advanced Layout Builder” and pasted my previous created code in the debug window
[av_section min_height='' min_height_px='500px' padding='default' shadow='no-shadow' bottom_border='no-border-styling' bottom_border_diagonal_color='#333333' bottom_border_diagonal_direction='scroll' bottom_border_style='scroll' scroll_down='' id='' color='main_color' custom_bg='' src='' attach='scroll' position='top left' repeat='no-repeat' video='' video_ratio='16:9' video_mobile_disabled='' overlay_enable='' overlay_opacity='0.5' overlay_color='' overlay_pattern='' overlay_custom_pattern=''] [av_one_full first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_heading tag='h1' padding='10' heading='Profilgleiter flach' color='' style='blockquote modern-quote' custom_font='' size='25' subheading_active='' subheading_size='15' custom_class=''][/av_heading] [av_textblock size='' font_color='' color=''] <table> <tbody> <tr> <td><b> </b></td> <td>Nut 8, 10</td> </tr> <tr> <td><b>Beschreibung </b><b> </b></td> <td>zur gleitenden Führung von Profilen mit Nuten; ökonomische und verschleißarme Lösung, z. B. für Flächenelemente</td> </tr> <tr> <td><b>Material</b><b> </b></td> <td> <p class="bodytext">Kunststoff POM</p> </td> </tr> <tr> <td rowspan="1"><b>Oberfläche</b></td> <td rowspan="1">natur</td> </tr> <tr> <td rowspan="1"><b>Befestigung</b></td> <td rowspan="1">mit Blechschrauben</td> </tr> <tr> <td><b>Liefereinheit</b><b> </b></td> <td>50 Stück</td> </tr> </tbody> </table> [/av_textblock] [/av_one_full][av_one_third first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_image src='http://wordpress.p165068.webspaceconfig.de/wp-content/uploads/2016/07/00004706_w_2d_02.gif' attachment='233' attachment_size='full' align='center' styling='' hover='' link='' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation'][/av_image] [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_image src='http://wordpress.p165068.webspaceconfig.de/wp-content/uploads/2016/07/00004707_w_3d_02_50f946689a.gif' attachment='234' attachment_size='full' align='center' styling='' hover='' link='' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation'][/av_image] [/av_one_third][av_one_third min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_image src='http://wordpress.p165068.webspaceconfig.de/wp-content/uploads/2016/07/00004708_p_app_01.gif' attachment='235' attachment_size='full' align='center' styling='' hover='' link='' target='' caption='' font_size='' appearance='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation'][/av_image] [/av_one_third][av_one_full first min_height='' vertical_alignment='' space='' custom_margin='' margin='0px' padding='0px' border='' border_color='' radius='0px' background_color='' src='' background_position='top left' background_repeat='no-repeat' animation='' mobile_display=''] [av_table purpose='tabular' pricing_table_design='avia_pricing_default' pricing_hidden_cells='' caption='' responsive_styling='avia_responsive_table'] [av_row row_style='avia-heading-row'][av_cell col_style='']N[/av_cell][av_cell col_style='']A [mm][/av_cell][av_cell col_style='']B [mm][/av_cell][av_cell col_style='']C [mm][/av_cell][av_cell col_style='']D [mm][/av_cell][av_cell col_style='']E [mm][/av_cell][av_cell col_style='']Gewicht [g][/av_cell][av_cell col_style='']Teil-Nr.[/av_cell][/av_row] [av_row row_style=''][av_cell col_style='']8[/av_cell][av_cell col_style='']11.5[/av_cell][av_cell col_style='']26.0 [/av_cell][av_cell col_style='']3.0[/av_cell][av_cell col_style='']15.0[/av_cell][av_cell col_style='']2.8 [/av_cell][av_cell col_style='']22.0[/av_cell][av_cell col_style='']093SM08S02[/av_cell][/av_row] [av_row row_style=''][av_cell col_style='']10[/av_cell][av_cell col_style='']16.3 [/av_cell][av_cell col_style='']39.0 [/av_cell][av_cell col_style='']6.5[/av_cell][av_cell col_style='']19.0[/av_cell][av_cell col_style='']3.5 [/av_cell][av_cell col_style='']37.0[/av_cell][av_cell col_style='']093SM10S02[/av_cell][/av_row] [/av_table] [/av_one_full] [/av_section]
– Unfortunately it is not showing up correctly, the layout of the header as well as the footer is totaly messed up
– When I play around within the layout builder with my previous entered content and update the post, it will be displayed correctly
Can you help me with this problem? I will add details in the private section of this post
April 15, 2017 at 6:03 pm #778255Hey maxndi,
I believe I understand, you wanted to use the debugger to copy portfolio entries. You also had a white space at the top of the post. I logged in and viewed each post, which all had the white space at the top created by the “Color Section Element”, so coping and pasting the debug code will just keep adding it. I removed the “Color Section Element” from /profilgleiter-flach-2/ created /profilgleiter-flach-4/ and pasted the debug code and it worked fine. Please let us know if this answers your question.Best regards,
MikeMay 3, 2017 at 4:41 pm #787236Hey Mike,
sorry for the late response and thank you for your help :)
Removing the color section solved my problem!May 4, 2017 at 5:46 am #787581 -
AuthorPosts
- You must be logged in to reply to this topic.