queue  45
support
Results 1 to 3 of 3

Thread: [SOLVED] Change height of a content block

  1. #1
    Junior Member
    Join Date
    Aug 2016
    Posts
    15

    Change height of a content block

    Hi,

    I needed to add a new content block to hold 2 images just above the page footer. I created a columns content block and inserted HTML code to display the images. Is it possible to change the height of the content block? It's too tall.
    The column is set to 1/1 and the html inside the content block is:

    <div style="overflow-x:auto;">
    <table>
    <tr>
    <td><img src="http://www.safeguardelectrical.co/wp-content/uploads/2016/10/ELECSA-Logo-small.png" alt="elecsa-logo-small" width="200" height="144" class="alignnone size-full wp-image-198" /></td>
    <td><img src="http://www.safeguardelectrical.co/wp-content/uploads/2016/10/ECA-Logo-Small.png" alt="eca-logo-small" width="200" height="144" class="alignnone size-full wp-image-199" /></td>
    </tr>
    </table>
    </div>

    Thank you,
    Liz

  2. #2
    Lead Support Ante's Avatar
    Join Date
    Oct 2012
    Posts
    16,930
    Hello Liz,

    you can use this css to reduce the section height:

    Code:
    #section-our-certifications {
    padding-top: 30px;
    padding-bottom: 30px;
    }
    For this css to work, you need to make sure that your section name (in the block settings) is set to our-certifications instead of Our Certifications.

  3. #3
    Junior Member
    Join Date
    Aug 2016
    Posts
    15
    Thanks very much that worked great