custom formatting

This topic contains 1 reply, has 2 voices, and was last updated by  CTHthemes 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15550

    platypidesigns
    Participant

    Support Expired

    Hi there,

    From time to time I have been adding in <div> and heading <h1> tags into the Text Block element that comes with Visual Composer.

    For the most part that works just fine. I can change font sizes and align text such with <div> tags. But when I want to change a colour of a font with a div or heading style I can’t seem to get it to work in a text block element.

    <h1 style=”text-align: center;color:#FFF;”>What drives you?</h1>
    <div style=”color: #FFF;”>Text here</div>

    About

    It’s really strange. When I try to change the colour of a font I have to use a RAW html element. This is something that my client cannot manage and maintain. It’s too complicated.

    I would rather not custom code <div> or heading tags either but Visual Composer has a known issue where you can’t use the heading drop down or font colour drop down and so while I wait for that to get fixed by Visual Composer I had to custom code some items in.

    Is there a way to program in a CSS where the style says colour of the font is white? If I had a class then I could reference that class on any row where I need the font to be white. It could go into the Extra Class Name area of any individual row where I see fit.

    Can this be done?

    Thanks
    Tanya

    #15575

    CTHthemes
    Keymaster

    Hi, you can still change the color but with #fff color is white so you can’t see the text on editor (with white background ).
    You can change editor background color by follow this tutorial: http://www.wpbeginner.com/plugins/how-to-change-editor-background-color-by-word-count-in-wordpress/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+