• Resolved leejosepho

    (@leejosepho)


    You cool little clock is working just fine, of course…but how about being able to add some styling in its title field? I can style the code I have in the Subtext field for an independent digital display, and being able to center the CoolClock’s title at the top would really be great…

    Nice plugin!

    https://www.ads-software.com/plugins/coolclock/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, the widget title position and other styling depends on your theme.

    If you want to center only the coolclock widget title, you’ll have to add some custom rule to the themes stylesheet (or use plugin like Jetpack’s Custom CSS module) that targets the coolclock widget title like:

    #secondary .coolclock .widget-title { text-align: center }

    Note: this is an example that works with the default Twenty Fourteen theme but it depends on your theme how the actual rule will need to be!

    Thread Starter leejosepho

    (@leejosepho)

    Ah, and I thank you. Someone else does that kind of thing for me, and that had not even come to mind!

    Many thanks.

    Thread Starter leejosepho

    (@leejosepho)

    Here is what works in my Twenty Twelve Child Theme:

    .widget-area .coolclock .widget-title { text-align: center }

    https://nnysandbox.net/

    Now I just need to add the correct font for the digital display…and if you might ever wish to do so, maybe push that field down just a bit to match the distance between the clock and the title! ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Feature Request: Center Title?’ is closed to new replies.