Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #937063

    Hi!

    I would like to remove the standard padding from the thin custom separators on this page:

    I would like no space between the thin separators and the text. The layout should be tight.

    I’ve added this in Quick CSS:
    /* textblock padding for TEAM page */
    .page-id-29 .avia_textblock {
    margin-top: -12px; !important;
    padding: 8px; }

    And this is the shortcode in the Text Block so far:
    [av_hr class='custom' custom_border='av-border-thin' custom_border_color='#313743' custom_width='100%' custom_margin_top='-13px' custom_margin_bottom='-10px']

    Please help! Thank you in advance!

    #937129

    Hey capuchin,

    Please try the following in Quick CSS under Enfold->General Styling:

    .page-id-29 .avia_textblock .hr {
        line-height: 0 !important;
    }

    Best regards,
    Rikard

    #937319

    Hi Rikard,

    Thank you for your quick response!

    It definitely reduces the padding of the thin separator a bit. It’s a step in the right direction. I would like
    to have it even more reduced – the text and separators even closer together, please.

    Kind regards,
    Capuchin

    #937503

    Hi,

    You have line breaks inserted before some of the text, and empty paragraphs as well by the looks of it. Please try to remove that markup, before this text for instance:

    B.Eng & M.Sc.Eng (Mechanical) University of Stellenbosch

    Best regards,
    Rikard

    #937607

    Hi Rikard,

    I’ve checked, there are definitely no line breaks.

    The thin separators could sit in a textblock or between textblocks, if that makes it easier to customise. Still the same problem, that
    the padding/space is too big.

    I tried this

    /* separator padding for team page */
    .page-id-29 .avia_textblock .hr {
    line-height: 0 !important;
    }

    /* separator padding for team page*/
    .page-id-29 .hr {
    line-height: 0 !important;
    }

    Kind regards
    Capuchin

    #937709

    Hi,

    The line breaks are gone now, if you want to remove the margin from the paragraphs then please try this CSS:

    .page-id-29 .avia_textblock p {
      margin:0 !important;
    }

    Best regards,
    Rikard

    #937729

    Hi Rikard,

    Awesome ! We are getting there. Sorry to be a pain.

    I think, it’s the right thing to do to ‘talk’ to the .avia_textblock p
    Can we get rid of the padding on top of the text as well, please?

    On top of: B.Eng & M.Sc.Eng (Mechanical)
    And on top of: S Group Chief Executive Officer

    Thanks a mill.

    #937879

    Hi Rikard,

    Victoria and Guenni helped me my last request already. Great support.

    Kind regards
    Capuchin

    #938025

    Hi Capuchin,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

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