Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1164645
    Novice
    Participant

    URL http://www.camasmor.com
    Wordpress version 4.6
    X version:4.6.1
    Cornerstone plugin: 4.6.1?

    I am trying to change the color of the h4 text in the text widget to white. The following code works with p, and the widget heading.

    The .textwidget class seems to be the correct selector- the text-shadow property works but the color property will not.

    .x-colophon.top {
    background-color: #006699;
    color: #fff;
    text-shadow: none;
    }

    .h-widget {
    color: #fff;
    text-shadow: none;
    }

    .textwidget {
    color: #fff !important;
    text-shadow: none;
    }

    it would it great to have some help with this.

    #1164655
    Novice
    Participant
    This reply has been marked as private.
    #1164811
    Thai
    Moderator

    Hi There,

    Please add the following CSS:

    .h-widget {
        color: #000
    }

    Hope it helps 🙂

    #1164817
    Joao
    Moderator

    Hi There,

    It seems to be working, your title sand text are #fff

    Would you mind clarifying the issue?

    Thanks

    Joao

    #1166127
    Novice
    Participant

    Thanks so much for the speedy response
    I will put the shadow back on the text which is not currently visible to show what I mean.
    I’ve changed the text-shadow property in.. the .textwidget selector
    /text-shadow: none;/

    There are <h4> headings in the text widget that are currently the same colour as the background, and therefore not visible. i.e- the h-widget is white, the <p> is white, the text below is not visible.

    Thank you

    #1166339
    Joao
    Moderator

    Hi There,

    Please add the following code:

    
    .textwidget {
    text-shadow: none;
    }
    .textwidget  a {
    color: #fff;
    }

    Hope it helps,

    Joao

    #1180405
    Novice
    Participant

    Thanks Joao-
    The above made me realise that I was stupidly overlooking the hyperlink- but the code above worked in cornerstone but was unstable in different browsers.

    I worked out how to sort it by creating a new class for hyperlinks and applying it to the widget.

    Thanks so for your help.
    Alexandra

    #1180566
    Rue Nel
    Moderator

    You’re always welcome!
    We’re glad we were able to help you out.

  • <script> jQuery(function($){ $("#no-reply-1164645 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>