Blog ~ Twenty Sixteen Theme Cascading Style Sheet [CSS], 03/10-A

With a continued focus on mobile devices…


.entry-title {
/* set font size for all posts; center the title; and reduce space after it; removed word-breaks and added 4 lines for hyphen control–especially on mobile devices, 03/10 */
font-size: 19px !important;
margin-top: -14px !important;
margin-bottom: 14px !important;
text-align: center !important;
-moz-hyphens: none;
-ms-hyphens: none;
-webkit-hyphens: none;
hyphens: none;
}

Apparently, it takes the last 4 lines. I tested each individually and hyphenation still happened. I think a non-hyphenated title looks better on a mobile device.

See these modifications at the blog Custom Twenty Sixteen CSS Page.

Author: jalexartis

Avid cyclist, who loves photography, technology, blogging & cooking...

Your comments please...

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s