Home Forums WoodMart support forum Update crashed some classes

Update crashed some classes

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

    Mirage Visual
    Participant

    Hi, I have noticed that the latest Theme update has crashed some colours settings for Text boxes. The text set for “light” or “dark” are no longer working correctly. In one case, I have had to add the class color-scheme-dark into the column the text box is sitting on for it to display Dark. And in another case, I had to add and set this class wd-title-color-white into my custom CSS as it was not bringing in a light colour to the text. Any ideas why this is happening?

    #337639

    Artem Temos
    Keymaster

    Hello,

    Yes, it looks like a bug in our theme. Try to edit the file woodmart\inc\integrations\visual-composer\functions.php and replace the code as shown on the screenshot https://prnt.sc/2260lo7

    if ( ! empty( $atts['woodmart_color_scheme'] ) && ( 'vc_column' === $base || 'vc_column_inner' === $base || 'vc_empty_space' === $base ) )

    with this one

    if ( ! empty( $atts['woodmart_color_scheme'] ) && ( 'vc_column' === $base || 'vc_column_inner' === $base || 'vc_empty_space' === $base || 'vc_column_text' === $base ) )

    Kind Regards

Tagged: 

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