[Resolved] After inserting a hook I have a distance to the footer.

Home Forums Support [Resolved] After inserting a hook I have a distance to the footer.

Home Forums Support After inserting a hook I have a distance to the footer.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #886426
    Samuel

    Hi,

    please check this: http://prntscr.com/nji2an

    How do I get the distance away? As I understand it, this is a distance that creates a p-element. I can’t turn it off, otherwise it will affect my text in the body. What recommendation would you make? I copied the following code from a forum…

    <?php echo do_shortcode(‘[image-credits]’) ?>

    #886438
    David
    Staff
    Customer Support

    Hi there,

    you can remove the bottom margin with this CSS:

    .image-credits {
        margin-bottom: 0;
    }
    #886453
    Samuel

    Genius thanks!

    Last question: if I now want to have a maximum width of 1100 pixels for this Element – how do I do that best? So this element is not wider than the widget area: http://prntscr.com/njicsv

    #886498
    Samuel

    Is this a good solution?

    <div class="bb-image-credits-container">
    	<div class="bb-image-credits-widget">
    		<?php echo do_shortcode('[image-credits]') ?>
    	</div>
    </div>
    .bb-image-credits-widget {max-width:1100px; margin: 0 auto;}
    .bb-image-credits-container {max-width:100%; background-color:#877f7a;}
    #886504
    David
    Staff
    Customer Support

    Looks good to me 🙂

    #886508
    Samuel

    Thank you!

    #886534
    David
    Staff
    Customer Support

    You’re welcome

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