Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1011969
    Phil Y
    Participant

    Hi guys
    I was wondering how to set up text padding with an feature headline when your feature headline is 2 lines or more.
    I tried text indent and padding. Couldn’t get them to work
    thanks in advance

    http://teamsplus.com.au/home2

    #1012348
    Darshana
    Moderator

    Hi there,

    You can use inline style of line-height (https://snag.gy/Y38QkS.jpg).
    line-height:1.4;

    If you’re using shortcode, you can use the style element within the shortcode.

    [feature_headline style="line-height:1.6;color:red;" type="left" level="h2" looks_like="h3" icon="film"]Feature Headline[/feature_headline]

    Adjust values accordingly.

    Hope that helps.

    #1012540
    Phil Y
    Participant

    Thanks but no
    The inline styling I applied is
    color: #000; font-weight: 400; text-align: left; text-indent: 5px;
    however this is only indenting the first line not all the text. Your further assistance is required. The line height I am fine with. Content in blue row in attached screen shot.

    thanks in advance

    #1012546
    Rupok
    Member

    Hi there,

    Thanks for writing back. Your given page doesn’t exists anymore and I can’t find this on your sit either. Would you provide us the exact URL so that we could give you some tailored code?

    Cheers!

    #1017271
    Phil Y
    Participant

    http://teamsplus.com.au/home2 its in draft mode. I can publish it if that helps
    thanks

    #1017422
    Friech
    Moderator

    Hi There,

    Please published it or provide us login credentials in private reply, so we can take a closer look.

    Thanks.

    #1017581
    Phil Y
    Participant

    Guys
    its published http://teamsplus.com.au/home2/ thanks in advance

    #1017624
    Paul R
    Moderator

    Hi,

    You can add a class to all your featured headline, for example add my-featured-headline

    Then add this in Custom > Edit Global css

    
    .h-feature-headline.my-featured-headline span {
            padding-left: 2.5em;
    }
    

    You may change 2.5em to achieve your desired spacing.

    Hope that helps.

    #1019884
    Phil Y
    Participant

    Thanks guys , works a treat

    #1019904
    Thai
    Moderator

    You’re most welcome 🙂

    If you need anything else please let us know.

  • <script> jQuery(function($){ $("#no-reply-1011969 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>