Home › Forums › All Other Themes › How to reduce distance between blocks?
- This topic has 9 replies, 2 voices, and was last updated 6 years, 3 months ago by
Forum Moderator.
-
AuthorPosts
-
June 5, 2017 at 4:40 pm #74549
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?
June 8, 2017 at 4:46 am #74820Hi,
Kindly show us your website URL so that we can assist further.
Regards,
DaveJune 8, 2017 at 6:55 am #74872Hi,
Here is my site: http://жизнь-в-победе.рф
I am talking about the last block much below.Regards,
TatianaJune 8, 2017 at 7:07 am #74878Hi,
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,
DaveJune 8, 2017 at 7:17 am #74883OK. Thanks a lot!
June 8, 2017 at 7:21 am #74885🙂
June 8, 2017 at 5:19 pm #75002Hi 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,
TatianaJune 9, 2017 at 5:30 am #75051Hi,
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,
DaveJune 9, 2017 at 9:03 am #75093Yes, now everything is OK. Thanks a lot to you!
God bless you and all your affairs!Regards,
TatianaJune 9, 2017 at 10:25 am #75099🙂
-
AuthorPosts
- You must be logged in to reply to this topic.