Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #386651

    Hey Kriesi,

    I’m attempting to apply inline CSS to the text and / or image inside the WYSIWYG editor that is in the Promo Box. Every time I apply any styling, then hit save the styling disappears.

    Per your request over at theme forest – my log in credentials are in the private content box.

    Thanks for your help.

    #387143

    Hi Chad!

    Please turn on custom CSS field for ALB elements ( http://kriesi.at/documentation/enfold/turn-on-custom-css-field-for-all-alb-elements/ ) and give your Promobox element a custom CSS class and then add your code to Quick CSS field in Enfold theme options > General Styling tab

    Best regards,
    Yigit

    #399095

    Sorry for the late response – have been working on other projects…

    This won’t work because I want to put a <span> tag inside a <p> tag for one off changes… I don’t want to style the entire element.

    When I add a <span> tag in the text editor – it just disappears upon saving… This is not normal. Please help….

    Thanks

    #399099

    FYI – All I want to do is something like this:

    <p style=”text-align: center; font-family: ‘Roboto Slab’; font-size: 18px;”>There is no love sincerer than the love of food – <span style=”font-family:’Roboto’;font-size:14px”>George Bernard Shaw</span></p>

    #399101

    OK – weird little update… in this case – the above line of css worked IF I removed the single quote from around the font style I was trying to apply…

    Sorry for the confusion.

    #399429

    Hey!

    Apply a unique class to the paragraph. Something like this:

    <p class="roboto-text">There is no love sincerer than the love of food – <span class="roboto-span">George Bernard Shaw</span></p>
    

    Add this to the Quick CSS field:

    
    .roboto-text {
    text-align: center; font-family: Roboto Slab; font-size: 18px;
    }
    
    .roboto-span {
    font-family: Roboto; font-size:14px
    }

    Best regards,
    Ismael

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