Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1073163
    Leanna
    Participant

    Hi, lots of threads out there on this but nothing answered my question: I just want a single Feature Headline icon to occur on the right side of the text (I do not want this to apply to my whole site only this one element) thanks…

    #1073165
    Leanna
    Participant
    This reply has been marked as private.
    #1073193
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .white-headline span {
        padding-left: 0;
    }
    .white-headline span i {
        float: right;
        position: relative;
        margin-top: -0.2em;
        margin-left: 0.5em;
    }

    Hope it helps 🙂

    #1073547
    Leanna
    Participant

    I don’t want the float right hooked to white-headline class because that is used elswewhere also. It needs to be hooked to this specific page id 510 and section (I haven’t figured out how to identify section numbers unles I’m just supposed to manually count down from the top)

    #1073602
    Nabeel A
    Moderator

    Hi again,

    Replace the previous code with this one:

    .home #x-section-1 h3.white-headline span i {
        float: right;
        position: relative;
        margin-top: -0.2em;
        margin-left: 0.5em;
    }

    Let us know how this goes!

    #1074084
    Leanna
    Participant

    worked great thanks!

    #1074166
    Prasant Rai
    Moderator

    You are most welcome. 🙂

    #1075214
    Leanna
    Participant

    hi, related question: On some regular left-aligned feature icons, I want to increase the space between the icon and the text. Please see https://www.tellasia.org/asia-amazing/ for what I mean…
    thanks

    #1075525
    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    .page-id-3137 #x-section-1 .h-feature-headline span {
    	padding-left: 2.5em;
    }

    Feel free to adjust the 2.5em value where you see it fits.

    Cheers!

    #1075834
    Leanna
    Participant

    perfect, thank you!

    #1075992
    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!

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