WebDev

EhPortal => EhPortal Support => Topic started by: cihancan on February 24, 2021, 06:04:02 AM

Title: Space between blocks
Post by: cihancan on February 24, 2021, 06:04:02 AM
I am not very fluent in English so I apologize. As can be seen in the attached picture I want to ask, there is a big gap between the two blocks. How can I remove this gap between blocks?
Title: Re: Space between blocks
Post by: vince on February 25, 2021, 10:01:47 PM
looks ok to me might depend on what theme you use. heres what mine looks like using default theme

Title: Re: Space between blocks
Post by: Chen Zhen on February 27, 2021, 12:00:47 AM

Use a proper coding editor such as Notepad++
ref. https://notepad-plus-plus.org/downloads/

Navigate to: ../Themes/default/css/portal.css

find:
.sp_block_section
{
padding-bottom: 0.7em;
}

replace with ie.
.sp_block_section
{
padding-bottom: 0.3em;
}

.. you can experiment with that setting until you find what you think looks best.
Title: Re: Space between blocks
Post by: cihancan on February 27, 2021, 10:42:44 AM
Thank you. You are amazing.
EhPortal 1.39.6 © 2024, WebDev