Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #497364

    Hallo,

    how can reduce the #_aviaLayoutBuilderCleanData height into child theme ?
    I’ve tried this code in my child theme style.css, but it doesn’t work :

    .testmode #_aviaLayoutBuilderCleanData, 
    .debug #_aviaLayoutBuilderCleanData, 
    #_aviaLayoutBuilderCleanData 
    {height: 50px !important; margin: 25px 0 0 !important;}

    I’ve created a avia-builder.css in my child theme, but it does neither :

    @import url("http://localhost/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/css/avia-builder.css");
    
    .testmode #_aviaLayoutBuilderCleanData, 
    .debug #_aviaLayoutBuilderCleanData, 
    #_aviaLayoutBuilderCleanData 
    {height: 50px !important; margin: 25px 0 0 !important;}

    HELP !

    #497439

    Hey Anton!

    Please try adding following code to Functions.php file in Appearance > Editor

    function add_custom_code_head(){
    ?>
    <style>
    .testmode #_aviaLayoutBuilderCleanData, 
    .debug #_aviaLayoutBuilderCleanData, 
    #_aviaLayoutBuilderCleanData 
    {height: 50px !important; margin: 25px 0 0 !important;}
    </style>
    <?php
    }
    add_action('wp_head', 'add_custom_code_head');

    Cheers!
    Yigit

    • This reply was modified 9 years, 3 months ago by Yigit.
    #497452

    nope, nothing happens

    #497453

    Hi!

    Can you please try changing the code to following

    add_action('admin_head', function() {
    	?>
    <style>
    .testmode #_aviaLayoutBuilderCleanData, 
    .debug #_aviaLayoutBuilderCleanData, 
    #_aviaLayoutBuilderCleanData 
    {height: 50px !important; margin: 25px 0 0 !important;}
    </style>
    	<?php
    });

    Cheers!
    Yigit

    #497454

    DONE !!!
    Thank you !

    RESOLVED

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘DEBUG AVIA LAYOUT BUILDER height’ is closed to new replies.