• Resolved jayniel

    (@jayniel)


    How do you change the colors of the pros & cons instead of green and red? For both the symbol and the list icons.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author MightyThemes

    (@mightythemes1)

    @jayniel,

    It’s not possible to change the color of the icons from the controls at the moment but you can always change it through CSS by putting the CSS into your Additional CSS option in Customizer.

    For changing Pros Background Color

    
    .wp-pros-cons .pros-content .wppc-box-symbol {
     background: green;
    }
    

    For Changing Cons Background Color

    
    .wp-pros-cons .cons-content .wppc-box-symbol {
     background: red;
    }
    

    The color of the list icons are coming from SVG, so you’ve to change it directly from the SVG. Just open the plugin folder and go to assets/icons and open check-solid.svg and then change the fill color to your preferred color, same goes for the cons icon.

    Try to do the SVG changes in a child theme as new updates would remove it.

    Let me know how it goes.

    Thanks.

    Thread Starter jayniel

    (@jayniel)

    Hi,

    I tried changing the CSS code but it doesn’t work:

    https://ibb.co/mGxvm0Z

    Plugin Author MightyThemes

    (@mightythemes1)

    Hi @jayniel

    Can you share the URL of the page where you’ve set the Pros & Cons.

    Must be theme styling is overwriting the styles or something.

    Let me know the URL.

    Thanks.

    Thread Starter jayniel

    (@jayniel)

    Plugin Author MightyThemes

    (@mightythemes1)

    Oh! You’re using a different view rather than the default, so that changes a little bit of structure. So the CSS code would change to:

    For changing Pros Background Color

    
    .wp-pros-cons.wppc-view3 .pros-content .wppc-header {
        background: green;
    }
    

    For Changing Cons Background Color

    
    .wp-pros-cons.wppc-view3 .cons-content .wppc-header {
        background: red;
    }
    

    And the SVG Icons color would change the way previously mentioned.

    Let me know, how it goes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Change Colors of Symbol’ is closed to new replies.