Jump to content

CSS - changing the title of Phrase of the Day


Graham Quince

Recommended Posts

When I posted the snippet to allow you to restyle of My Notes, I hadn't thought that it wasn't as straight forward to change the title of Phrase of the Day. This bit of CSS is the easiest way I've found of changing all Phrases of the Day, although if you combine it with the the technique(?) mentioned in the restyling My Notes, you can restyle individual widgets in the same way.

<style>
.widget_phrase-wrap .header {
    height:50px;
    overflow:hidden;
}
  
.widget_phrase-wrap .header h2::before {
    content: 'My own title \a';
    white-space: pre;
}
</style>

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...