Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #941569

    Hello,
    when I insert an empty space in the page between Layerslider and color section it gives me only a fixed thickness and the screen options for mobile do not work.
    If I enter 5px it will not accept it
    I want to have a small space
    Thank you

    #941816

    Hey Flavio1963,

    Could you post a link to the page in question so that we can take a closer look please?

    Best regards,
    Rikard

    #941854

    Hello,
    the page is home http://www.studioeffesse.it
    Thank you

    #941860

    the point is that the surrounding parent content container gets a padding-top/padding-bottom of 50px

    in your case this would be the css rule : .page-id-19 #after_layer_slider_1 .content {padding: 0!important}
    but if you don’t like to look always what is the name of that given container (after-section1 etc. ) you can do this :
    assign the hr element a custom-class called : nopadding and this comes
    into functions.php of your child-theme:

    function padding_to_parent_of_hr_nopadding(){
    ?>
    <script>
    (function($){
    	$('div.hr.nopadding').closest('.content').css({"padding": "0", "min-height": "0px"  });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'padding_to_parent_of_hr_nopadding');

    from now on every hr which has the class nopadding will transfer to its nearest parent content those values

    #941926

    Hi,

    Thanks for the link, though I can only see an under construction page. Please post admin login details if we need to be logged in to be able to view your site.

    Best regards,
    Rikard

    #942150

    Hello,
    I used the rule proposed by Guenni007 and everything seems to work.
    But I do not use the child theme.
    I need to do the same thing before the footer.

    Thank you

    #942322

    Hi,

    Please do add a child theme.
    You would need to use the same rule, but target a different section. That could make it work on the other section that you do need.

    Thank you

    Best regards,
    Basilis

    #942449

    Hello,
    unfortunately I’m not a programmer and I do not know how to do the child theme.
    I read something about it but I do not want to compromise the site.
    That’s okay too.

    Thank you

    #942910

    Hi,

    Great, glad you got it working. We do recommend that you use a child theme, otherwise you will lose the part of the code placed in functions.php, you can download a basic child theme here if you like: https://kriesi.at/documentation/enfold/downloads/

    Best regards,
    Rikard

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.