Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] Override the inline css

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #195382
    alexyui
    Participant

    Hi there

    My website is done on rainmaker. I am trying to change css for a particular widget on this page.

    http://vitaminapublicitaria.com.br/publicidade/poder-do-neuromarketing/

    I need the last box background to be in black color and font color to be white.The style is given like background-color:#f7f6f6; padding: 15px;

    I can’t edit the page directly but can access custom css.

    I edited this class to give font color white
    #text-13 .textwidget {
    position:relative;
    color:white
    }

    Any help appreciated.

    #195389
    Senff
    Participant

    If you’re unable to change the markup (I believe you should be able to do this inthe WordPress admin, under Appearance – Widgets and then check the content of the text widget in question), then add this to your custom CSS:

    #text-13 .textwidget > div {
        background:#000 !important;
        color:#fff;
    }
    
    #195429
    alexyui
    Participant

    Hi Senff

    Thanks.

    It did not work for me.

    But this did.

    #text-13 div[style] {
    background: black !important;
    }

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.