Forums

[Plugin: Countdown Timer] Underline Issue (8 posts)

  1. customstudio
    Member
    Posted 2 years ago #

    Thanks for the great plugin.

    I had the timer looking perfect, then updated the plugin and now can't seem to get rid of the underline on the time itself (fergcorp_countdownTimer_event_time). I'm applying a 'text-decoration: none;' to it with no luck, but other commands (text size, colour etc.) work fine.

    Any ideas?

    Thanks in advance,

    Tom Perkins

  2. fergbrain
    Member
    Posted 2 years ago #

    For some reason, the abbr tag uses the border style instead of text-decoration. Using border: none; should clear up your issue.

  3. customstudio
    Member
    Posted 2 years ago #

    Really helpful, thanks!

  4. bingobongo
    Member
    Posted 2 years ago #

    Do you have the complete code for me?

  5. dmbpj8
    Member
    Posted 2 years ago #

    I still cannot find where to change the border in the .php

    I found this:

    "$timePrefix = "<abbr title = \"".gmdate($timeFormat, $time + (get_option('gmt_offset') * 3600))."\" id = '$nonceTracker' class = 'fergcorp_countdownTimer_event_time'>";"

    But I don't know where to add lines for border: none, color:..., etc.

    Whenever I try to add a line I screw up and disable the plugin.

    Thanks.

  6. fergbrain
    Member
    Posted 2 years ago #

    @dmbpj8

    You need to need to modify your theme's CSS file, not the plugin itself.

  7. dmbpj8
    Member
    Posted 2 years ago #

    Thanks fergbrain.

    I have edited that CSS before, is there code I should look for in the CSS to find where to add the line Border: none; font-size: ....etc so that I have no border around the timer?

  8. fergbrain
    Member
    Posted 2 years ago #

    @dmbpj8: You'll need to add the CSS code yourself.

    Something along the lines of:

    .fergcorp_countdownTimer_event_time { border: none;}

    ...should work

Topic Closed

This topic has been closed to new replies.

About this Topic