Reducing Title Size

  • Mike
    Mike
    Titan 776 points
    May 11, 2015 at 11:29 pm

    How do I limit the size of the listing title?

    At the moment Users are able to insert very large listings titles

  • M
    M
    Senior Member 278 points
    May 12, 2015 at 5:47 am

    You could do it with case Mike…. it doesn’t change the actual length, just what you see, which keeps your site layout tidy.

    Single Listing Titles:
    [code title=””]
    .page_title h1 {
    white-space: nowrap;
    width: 12em;
    overflow: hidden;
    text-overflow: ellipsis;
    }
    [/code]

    Results Listing Titles:
    [code title=””]
    .wlt_search_results.list_style h2 {
    white-space: nowrap;
    width: 12em;
    overflow: hidden;
    text-overflow: ellipsis;
    }[/code]

    The results of a long Title sentence would be.
    Something like th…

Viewing 2 posts - 1 through 2 (of 2 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes