badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

How to limit title length

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59573
    chindaporn.pn
    Participant

    Hi,

    I’m having problems about the length of the article title.
    Because I have many articles that are long, and it’s not good for design.

    I want to limit the length of the article title.
    How to fix it.
    Please advise me.

    #59606

    Hi there,

    Can you please clarify in which section you want to limit the length of the post title. So that we can provide you the exact CSS code if possible.

    Thank you for using our theme.

    #59615
    chindaporn.pn
    Participant

    Post title over on image of Feature Slider, Feature Posts 1, Feature Posts 1, Header Featured Posts and Footer Featured Posts.

    All post title displayed on the homepage.

    #59636

    Hi there,

    You can just limit the post title in one row but not the length. To limit the title in one row just go to Appearance > Customize > Additional CSS and paste the below custom CSS code to

    .featured-section .entry-title,
    .featured-stories .entry-title {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    Thank you for using our theme.

    #59687
    chindaporn.pn
    Participant

    Thank you very much for your kind support

    #59706

    Welcome anytime @chindaporn-pn

    We have spend lots of time and efforts to develop this theme available free for all.
    Could you also please help us rating this theme in WordPress Repository.
    https://wordpress.org/support/theme/newscard/reviews/?filter=5
    We really appreciate your rating.

    Thank you for using our theme.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.