[Support request] Align Text To Be Center on Mobile

Home Forums Support [Support request] Align Text To Be Center on Mobile

Home Forums Support Align Text To Be Center on Mobile

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2217035
    Adam

    I cannot align this text correctly on mobile AND desktop. I can only do one or the other. I want the “last modified +date” to be aligned left on desktop and center on mobile. I tried the media function and it does not work!

    .hero-date:before {
    content: “Last Updated: “;
    font-family: Inter, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1em;
    }

    .hero-date{
    content: “Last Updated: “;
    font-family: Inter, sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.1em;
    line-height: 1em;
    }

    #2217048
    Ying
    Staff
    Customer Support

    Hi Adam,

    Any chance you can link us to the site in question and point us to where we should be looking at?

    You can use the private information field.
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #2217059
    Adam

    yes, attached.

    #2217076
    Leo
    Staff
    Customer Support

    Is there a specific page we should be looking at?

    #2217090
    Adam

    It’s on the header of all blog posts

    #2217307
    David
    Staff
    Customer Support

    Hi there,

    can you disable any optimizers, caches or CDNS on your site, as the URL you provided i cannot see any post content.

    #2217322
    Adam

    done

    #2217449
    David
    Staff
    Customer Support

    If you edit the Element containing the date, select the Headline Block, and in the Blocks Toolbar set the Alignment Left.
    Then switch the view to Mobile, the Blocks Toolbar will move up to where the top bar is, now set the Alignment to Center.

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