Okay
  Public Ticket #256943
adjusting font in Home Slider
Closed

Comments

  • Wim started the conversation

    I tried to adjust the font-size/-type and line-height for the caption font used in the Home Slider.

    - Tried to add custom CSS in the homepage;

    -Tried adjusting the class #featured article .post-title h2 span (and shorter/higher versions);

    -Tried putting this CSS-element in a new orbit.css to be placed in my child-theme

    Nothing works... Need help.

    Much appriciated. Thanks in advance!

    Wim

  •  8,839
    Tahir replied

    Hey!

    Add this into the Custom CSS box located in your Salient Options panel :

    body #featured article .post-title h2 span {
        color: #EE8585 !important;
        font-size: 44px !important;
        line-height: 67px !important;
        font-family: 'OpenSansLight' !important;
    }
    
    
    body #featured article .post-title h2 {
        margin-top: 50px !important;
    }
    
    
    

    Cheers


    ThemeNectar Support Team 

  • Wim replied

    Thanks! This works for desktop. On mobile the line-height isn't showing however...

    Wim

  •  8,839
    Tahir replied

    Hey Again!

    Please use thie revised css. Add this into the Custom CSS box located in your Salient Options panel :

    body .orbit-wrapper #featured article .post-title h2 span {
        color: #EE8585 !important;
        font-size: 44px !important;
        line-height: 67px !important;
        font-family: 'OpenSansLight' !important;
    }
    
    
    body .orbit-wrapper#featured article .post-title h2 {
        margin-top: 50px !important;
    }
    @media only screen and (max-width : 480px) {
        body .orbit-wrapper #featured article .post-title h2 {
            margin-top: -50px !important;
        }
    }
    
    
    

    Thanks


    ThemeNectar Support Team