Advertisement:

Author Topic: Increasing font sizes of Listing Title and Description  (Read 446 times)

Resta

  • Sr. Member
  • ****
  • Posts: 345
Increasing font sizes of Listing Title and Description
« on: March 10, 2018, 01:12:03 am »
Hello,

In the bender css I want to know exactly what to change for changing just the font sizes of Listing Title and Listing Description in loop-single.php so the listing title/descriptions show in larger fonts but location/price stays (default) small fonts.

I see listing-card related stuff but there is no font-size I can find in that area.  When I changed some font sizes, it also increased font sizes of location and pricing (but I don't want that) - basically, I want location and pricing in small fonts as it is but I want larger fonts for listing title and listing description.

TIA!

WEBmods

  • Hero Member
  • *****
  • Posts: 937
  • github.com/webmods-croatia/love-osclass/ | patrick
Re: Increasing font sizes of Listing Title and Description
« Reply #1 on: March 10, 2018, 01:32:36 am »
Hello,

Add this code to your theme's CSS file:

Code: [Select]
/* Title */
.listing-basicinfo > a.title {
    font-size: 20px; /* Change this... */
}

/* Description */
.listing-basicinfo > p {
    font-size: 20px; /* Change this... */
}

If it won't work, just clean the cache because I tested it.

Regards.

Resta

  • Sr. Member
  • ****
  • Posts: 345
Re: Increasing font sizes of Listing Title and Description
« Reply #2 on: March 11, 2018, 02:16:35 am »
Thank You, Patrick for your reply.