• Resolved Marlem

    (@marlem)


    Hi,
    How can i only change copyright color to white.
    when i use:

    p {
      color: #fffff;
    }

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    everything text change to white

    • This topic was modified 7 years, 5 months ago by bdbrown.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey @marlem, if you know the div class/id for the copyright notice for your theme, you can use code similar to the below example:

    #copyright {
      color: #fff;
    }

    [Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]

    This would only change the copyright text in an element with the ID of copyright, however. If you want to give us the URL for your site, we can help a little better.

    • This reply was modified 7 years, 5 months ago by bdbrown.
    Thread Starter Marlem

    (@marlem)

    Ah sorry i forgot.

    The site URL is: https://freeandeasyband.nl

    The code above does not work.

    You each have half of the solution:

    /* change text to white */
    #copyright p {
        color: #fff;
    }

    @bdbrown,

    My solution is the whole solution when not given the URL. I do not place a paragraph element inside of a div if the only thing it is going to contain is a string of text.

    @marlem,

    knowing your URL and being able to look at your site, you have the ability to do two things. You can either add the p to make the css selector more specific as @bdbrown did in the post above, or you can use the CSS in my example and remove the paragraph tag. The choice is yours – either will do what you want.

    Thread Starter Marlem

    (@marlem)

    Thank you e_baker and bdbrown it works perfect now the text is white.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘change only copyright color.’ is closed to new replies.