[Support request] font size h2 title

Home Forums Support [Support request] font size h2 title

Home Forums Support font size h2 title

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

    Hi,

    On the home page I have a header with titles in h2, and underneath there are posts showing also with the title in h2. On mobile it looks fine, but on desktop de titles are now too small. In the header it needs to be small because otherwise the text gets cut off. But when I change the font size of the header h2 titles, the titles in the posts underneath are also changing, and now they are too small. And also, there is a strange white margin underneath those titles. How can I get rid of that?

    Thanks in advance,
    Fem

    #1178604
    David
    Staff
    Customer Support

    Hi there,

    try this CSS for changing the titles within the header element:

    /* Desktop */
    
    .page-hero .wp-show-posts .wp-show-posts-entry-title {
        font-size: 18px;
    }
    
    /* Mobile */
    
    @media (max-width: 768px) {
        .page-hero .wp-show-posts .wp-show-posts-entry-title {
            font-size: 24px;
        }
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.