how can i shorten post titles with css

  • Thread starter HamdiPhone
  • Start date
  • Replies 6
  • Views 568
  • Join us to download any resource for free. You will be able to download or guest post.
    Sign Up Now
H

HamdiPhone

Guest
I want it to be two lines

Screenshot_1.jpg
 
Add the following CSS at the end.
CSS:
h2.post-title{font-sizze:1rem;}
.post-snippet{font-sizze:0.75rem;}

You made a typographical error
CSS:
h2.post-title{font-size:1rem;}
.post-snippet{font-size:0.75rem;}



However this won't solve his problem if his title is longer
 

Similar threads

March 2024

Total amount
$38.00
Goal
$250.00
Donation ends:

Staff online

Latest posts

Forum statistics

Threads
9,124
Messages
23,018
Members
53,352
Latest member
cem_34

About us

  • Our community has been around from 2017 and pride ourselves on offering unbiased, critical discussion among people of all different backgrounds. Providing Free Resources to help newcomers/startups. We are working every day to make sure our community is one of the best.

Quick Navigation

User Menu