Home Forums Basel support forum Fixed Font Family on Blog Post Only

Fixed Font Family on Blog Post Only

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8444

    saksoba
    Participant

    Hi,

    I would like to fixed my blog post font-family to Georgia. Only blog post but not the rest.

    Initially I did (after try and error):

    .blog-post-loop .entry-content p, .entry-content li, .comments-area .comment-list li p {
    line-height: 1.7;
    font-family: Georgia;
    font-size: 18px;
    }

    But eventually, it effect the font on my product page. Please advise the workaround. Thanks!

    Product page: https://bebehouz.my/shop/feeding/breast-pump/haaka-100ml-silicone-breast-pump-suction-base

    Blog : https://bebehouz.my/blog

    #8446

    Artem Temos
    Keymaster

    Hello,

    Try to use the following CSS snippet to change the font

    .blog-post-loop .entry-content p, 
    .blog-post-loop .entry-content h1,
    .blog-post-loop .entry-content h2,
    .blog-post-loop .entry-content h3,
    .blog-post-loop .entry-content h4,
    .blog-post-loop .entry-content h5,
    .blog-post-loop .entry-content h6,
    .blog-post-loop .entry-content,
    .blog-post-loop .entry-meta li,
    .blog-post-loop .read-more-section a,
    .blog-post-loop .comments-area .comment-list li {
      line-height: 1.7;
      font-family: Georgia;
      font-size: 18px;
    }

    Regards

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