0

this is my style

<section id="text-13" class="widget widget_text">
    <div class="widget-wrap">           
        <div class="textwidget">
            <div style="background-color:#f7f6f6; padding: 15px;">
                <div align="center">
                    <h2>Junte-se a mais de 4.137 assinantes:</h2>
                </div>

how can I override the div style = background through CSS without editing the file.

j08691
  • 204,283
  • 31
  • 260
  • 272
alexy456
  • 31
  • 7

2 Answers2

2

According to this CSS Tricks Article:

.textwidget div[style] {
   background: yellow !important;
}
Jacob G
  • 13,762
  • 3
  • 47
  • 67
0

You can use !important

.textwidget > div {background: none!important}

kapantzak
  • 11,610
  • 4
  • 39
  • 61