Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #653668

    Hi there – I”m having trouble getting my custom class to register new styles – I’d love your help with something:

    I’ve changed all the default list styles in the theme to font awesome checks adding this to my child theme:

    /*change list icons*/
    .entry-content-wrapper li {
    list-style: none;
    }

    .entry-content-wrapper li {
    padding-left: 8px;
    }

    .entry-content-wrapper li:before {
    content: ‘\f00c’;
    font-family: ‘FontAwesome’;
    font-size: inherit;
    font-weight: normal;
    position: absolute;
    left: 6px;
    }

    Which is all great – but there’s a couple of times I want to override these styles with a differnt font icon –

    I have a blue section to this page see here http://rfl.shortiedesigns.com/products/

    I want to override the checks with arrows . I have a custom class added to this coloured section .sd-blue
    So I tried doing this but it didn’t work

    .sd-list .entry-content-wrapper li:before {
    content: ‘\f061’ !important;
    font-family: ‘FontAwesome’;
    font-size: inherit;
    font-weight: normal;
    position: absolute;
    left: 6px;
    }

    have I got the correct syntax? It doesn’t seem to be working…thank you

    #653694

    Hey ShortieD,

    Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:

    .sd-list li:before {
        content: '\f061'!important;
    }
    

    Best regards,
    Vinay

    #654064

    cool that worked – is there anyway to make this work from my child theme css – this way I can keep it all in one spot…cheers

    #654647

    Hi,

    Please add the code to the bottom of child themes styles :)

    Best regards,
    Vinay

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