• Please could someone advise me how I would stop words breaking at the end of each line of my posts in the Oxygen template.

    The word photographer is broken so the r is on a sep line ….

    When I look in web inspector the post title code is:

    .hentry .entry-title, .page-template-front .hentry .entry-title {
    margin: 0 0 0.15em 0;
    padding: 0;
    font-size: 1.333333333333333em; /* 16 / 12 = 1.333333333333333 */
    text-transform: uppercase;
    line-height: 1.4em;
    border: none;
    color: #111;
    word-spacing: 2px;
    word-wrap: break-word;
    }

    If I remove the word-wrap: break-word; bit the word photographer is joined together again. Hurrah – the problem I have is trying to implement this in my child theme css file ….

    I have added this to my child theme but it does’t seem to work ….

    /* Post titles
    ————————————————————– */
    .hentry .entry-title, .page-template-front .hentry .entry-title {
    word-break:normal !important;
    word-break: keep-all; !important;
    }

    /* Post title color for home, archive and search page color */
    .home .hentry .entry-title a:hover,
    .page-template-front .hentry .entry-title a:hover,
    .archive .hentry .entry-title a:hover,
    .search .hentry .entry-title a:hover {
    color: #9A9A9A;
    word-break:normal !important;
    }

    /* Post title for other pages */
    a, a:visited, .page-template-front .hfeed-more .hentry .entry-title a:hover, .entry-title a, .entry-title a:visited {
    color: #0DA4D3 !important;
    font-family: ‘Abel’, ‘Helvetica Neue’, Helvetica, Arial, sans-serif !important;
    word-break:normal !important;
    }

    If there is anyone who can shed some light on this I would be very grateful …

    Thanks in advance

  • The topic ‘Oxygen theme post title remove word-break’ is closed to new replies.