Quantcast
Viewing all articles
Browse latest Browse all 22091

Kathryn Presner on "[Theme: Twenty Fourteen] Can't align header image and menu to rest of content"

too many hyphens in my site - I have some code in the CSS which worked on my last child theme but not now... any ideas?

I think I see where you tried to remove the hyphens here:

/* removes hyphens */

.site-content article {
	word-wrap: break-word;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;

}

You've got the right idea, but you'll need to change which element you're targetting since that's not what Twenty Fourteen uses. Try targetting entry-content instead:

.entry-content {
	word-wrap: break-word;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;

}

Result: https://cloudup.com/ckVuXxE9AFn

As above, you may need to add !important to the styles if they don't take effect after adding them to your child theme.

Let me know how it goes!


Viewing all articles
Browse latest Browse all 22091

Trending Articles