• Resolved slimjim414

    (@slimjim414)


    I’ve searched high and low for the perfect plugin to use. I must have tried out two dozen others before FINALLY coming across this one. All appears to work perfectly, however I have a question. The title disappears if it is too long (which is basically all of them). Looking through the css file I was able to make the text smaller, and noticed that the line of code “overflow: hidden;” was probably the cause of this (correct me if I’m wrong, I’m so new to this it’s not even funny). All I’m trying to do is have the text wrap onto a second line so that the title is more readable, and thus my readers will be more likely to actually click on it.

    I greatly appreciate your plugin and your help as well! Thanks!

    https://wordpress.org/plugins/wp-frontpage-news/

Viewing 1 replies (of 1 total)
  • Thread Starter slimjim414

    (@slimjim414)

    Fixed it! Here’s what I came up with in case anyone else needs it:

    .wpcufpn_container .title {
    	color: #333;
    	font-weight: bold;
    	font-size: 0.5em;
    	text-align: left;
    	line-height: 1.15em;
    	max-width: 80%;
    	overflow: hidden;
    }
    
    .wpcufpn_container .title span {
    	overflow: visible;
    	word-wrap: normal;
    	text-overflow: ellipsis;
    	max-width: 100%;
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Make post title wrap onto second line?’ is closed to new replies.