how to change widget text colour
  • I can't seem to change the text colour in the airtime schedule widgets,

    how would i force the css within the html ? as our schedule is showing grey on black background and it would look better white on black,

    Thanks for any help,


    Adrian
    www.radio-on-berlin.com
  • 2 Comments sorted by
  • Vote Up0Vote Down Daniel JamesDaniel James
    Posts: 844Member, Sourcefabric Team
    Hi Adrian, the black background is probably from your main website CSS file, rather than the file that is shipped with the widgets, e.g. https://github.com/sourcefabric/Airtime/blob/master/widgets/css/airtime-widgets.css

    One way to diagnose this is using the tools built-in to your browser. For example in Firefox you can right-click on the widget, choose Inspect Element, and then use the arrow tool to click on the widget. In the right side box it will list the rules being used by the widget, and the names of the CSS files in use. You can uncheck the boxes for specific rules to see what makes the difference you are looking to make.

    Cheers!

    Daniel
  • ;) you have to add-in the extension 'Web Developer' first
    No longer using Airtime or Libretime.