Change text color in one widget

Homepage Community Forums Epik Theme Support Change text color in one widget

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #10094
    Juan93
    Customer

      Hello, i want to know how can i change the text color in a widget? i mean im using a dark background and i didn’t used the slider widget as a slider, but with the text widget to put two columns instead. One column have a video and the other just a dark plain text (that doesnt looks good with the dark background), i found the color code it is #fff, so i changed it, the problem is that it changed the color of the text on the white widget too, wich i need to be dark.

      So basicly i just want to change the text color for the slider widget.
      Thanks.

      #10119
      Juan93
      Customer

        Please i need help soon.

        #10127
        Eric
        Customer

          If you add a color to the .slider class in your css (as you may already know) it will change all of the text in that particular widget. You can however, add paragraph tags around the text that you want to show up as a different color, so that it only affects that particular text. First you’ll need to add the css like this –

          .slider p {
              color: #fff;
          }

          And then you’ll need to add the paragraph tags before and after like this – <p>text goes here</p>

          This will trigger the above css and show your text in white.


          I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.