How to reduce distance between blocks?

Home Forums All Other Themes How to reduce distance between blocks?

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #74549
    Tatiana Pinchuk
    Participant
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: June 21, 2016

    In my theme Charity Pro on the Main page there is a big distance between blocks.
    Here is a screenshot: https://yadi.sk/i/fr19eE9i3Jqo3V
    The arrow 1 – it is an actual distance.
    The arrow 2 – it is distance which I wanted to do.

    How and where is it possible to correct?

    #74820
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25308
    • Total: 25308
    Member since: August 16, 2013

    Hi,

    Kindly show us your website URL so that we can assist further.

    Regards,
    Dave

    #74872
    Tatiana Pinchuk
    Participant
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: June 21, 2016

    Hi,

    Here is my site: http://жизнь-в-победе.рф
    I am talking about the last block much below.

    Regards,
    Tatiana

    #74878
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25308
    • Total: 25308
    Member since: August 16, 2013

    Hi,

    Kindly go to Appearance>>Theme Options>>Basic Settings>>Custom CSS Box:

    Add this code there:

    section { padding:40px 0 0;}
    .news-box { margin-bottom:0;}
    .gallery-video-content { padding-top:0 !important;}

    Regards,
    Dave

    #74883
    Tatiana Pinchuk
    Participant
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: June 21, 2016

    OK. Thanks a lot!

    #74885
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25308
    • Total: 25308
    Member since: August 16, 2013

    🙂

    #75002
    Tatiana Pinchuk
    Participant
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: June 21, 2016

    Hi Dave,

    If I do like this, the distance between all blocks changes – everywhere it becomes less.
    Whether it is possible to make so that the distance decreased only between blocks of news and video gallery, and in all other blocks changed nothing?

    Regards,
    Tatiana

    #75051
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25308
    • Total: 25308
    Member since: August 16, 2013

    Hi,

    Kindly use this code there:

    section:nth-child(8n) { padding-bottom:0px !important;}
    section:nth-child(9n) { padding-top:0px !important;}
    .news-box { margin-bottom:0;}
    .gallery-video-content { padding-top:0 !important;}

    Regards,
    Dave

    #75093
    Tatiana Pinchuk
    Participant
    • Topics: 4
    • Replies: 9
    • Total: 13
    Member since: June 21, 2016

    Yes, now everything is OK. Thanks a lot to you!
    God bless you and all your affairs!

    Regards,
    Tatiana

    #75099
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 25308
    • Total: 25308
    Member since: August 16, 2013

    🙂

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