WordPress.org

Forums

Radio Station
Widget Customisations (2 posts)

  1. aliveradio
    Member
    Posted 9 months ago #

    I'd like to remove the bullet point from the widgets as I show them as individual elements - however when I do so, I seem to lose control of the font size - it's no longer controlled by the djonair.css defined size.

    Can you advise me how to remove the bullet and still control the colour/ size of the show link? You can see my problem at alive107.com.

    https://wordpress.org/plugins/radio-station/

  2. biggee71
    Member
    Posted 9 months ago #

    How did you get rid of the bullet points?

    I'm guessing that you deleted the li elements or ul tags from the widget.php file right?

    The widget styles the text using : <li class="on-air-dj">

    If you've removed that line or the < ul > tags it will just be inheriting the styling from somewhere else on your page.

    You need to specify a class for it.

    Reverting widget_djcomingup.php back to how it was before and then adding CSS styling to remove the bullet points is the easiest way to do what you want.

    Drop this in your main page to overwrite the djonair.css styling :

    <style>.on-air-list li,
    .widget .on-air-list li,
    .on-air-upcoming-list li,
    .widget .on-air-upcoming-list li {
    	font-size: 2em;
            list-style-type: none;
    }</style>

    But be aware, that will remove all bullets points from all widgets, but I'm guessing that is what you want to do anyway...

Reply

You must log in to post.

About this Plugin

About this Topic