[Resolved] Increase Font size of Meta tags

Home Forums Support [Resolved] Increase Font size of Meta tags

Home Forums Support Increase Font size of Meta tags

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1334430
    Praveen

    Hi guys,

    I want to increase the font size of meta tags just below my Post title (see link for details) – basically authorname and last updated. Can you please let me know how can I do that!

    Thanks!

    #1334516
    Leo
    Staff
    Customer Support

    Hi there,

    CSS is required:

    .entry-meta {
        font-size: 20px;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps ๐Ÿ™‚

    #1335232
    Praveen

    thanks! it worked

    #1335538
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #1337362
    Praveen

    Guys, so sorry, a follow up question. When I increased the font size, the meta tag flowed to the next line when viewing it to mobile. The issues is, it is not center aligned. Can you help me do it please?

    Thanks!

    #1337453
    David
    Staff
    Customer Support

    Hi there,

    Try this:

    .entry-meta {
        font-size: 18px;
    }
    
    @media(min-width: 600px) {
        .entry-meta {
            font-size: 20px;
        }
    }

    First value for the mobile / small device, second value for the larger devices.

    #1337458
    Praveen

    Hi, I am fine with the font size, What I am looking is a way to center align the meta tag. Its let aligned now on mobile screens.

    #1337604
    David
    Staff
    Customer Support

    Just include a text-align: center; property in the CSS that Leo provided ie.

    .entry-meta {
        font-size: 20px;
        text-align: center;
    }
    #1337621
    Praveen

    oops, did not realize it would be so simple. Sorry to bother you guys and as always thanks a ton!!

    Btw, I wanted to ask if the if GeneratePress team takes custom website or functionality design tasks?

    #1337688
    Leo
    Staff
    Customer Support

    We don’t take custom development work unfortunately.

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