Support » Theme: Coldbox » Decrease the gap between the title and the post contents

  • Sorry if this has been covered before. I had a search and didn’t find the answer.

    How do I go about changing the gap between the title of the post and the post contents? At the moment there is quite a large gap and it would be nice to make it a bit smaller.

    Here is a screenshot example: https://i.imgur.com/C2VP2z9.png

    The red arrow shows the area I would like to make smaller.

    Any help would be much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Toshihiro Kanai

    (@mirucon)

    Try this:

    body .title-box-inner {
       padding-top: 40px /* Customize this value, 40 is default */;
       padding-bottom: 40px /* Customize this value, 40 is default */;
    }
    

    If you want to customize the padding for mobile as well, use this too:

    @media screen and (max-width: 640px) {
       .title-box-inner {
           padding-left: 10px;
           padding-right: 10px;
       }
    }
    

    Thank you for this answer, very helpful!

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