[Resolved] ARTICLE Updated date

Home Forums Support [Resolved] ARTICLE Updated date

Home Forums Support ARTICLE Updated date

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #1045520
    webkingpro

    I ADDED this code to show the article updated date on the post.

    .posted-on .updated:before {
    content: “Last Updated “;
    }
    .posted-on .updated + .entry-date {
    display: none;
    }

    it’s only showing on the desktop version it’s not showing on mobile version and tab version please help me

    #1045526
    David
    Staff
    Customer Support

    Hi there,

    the CSS you have added is within the @media (min-width: 769px) { – several CSS rules above it. You need to close off that media query with a closing } then the code will apply to desktop and mobile.

    #1045533
    webkingpro

    i cant understand this could you please explain me again

    #1045536
    David
    Staff
    Customer Support

    Find this CSS:

    @media (min-width: 769px) {
        .post-image-aligned-left .post-image img {
            max-width: 300px;
        }

    and change it to:

    @media (min-width: 769px) {
        .post-image-aligned-left .post-image img {
            max-width: 300px;
        }
    }
    #1045537
    webkingpro

    i will add and let u know

    #1045539
    webkingpro

    when I add like that, the date is working on the mobile version but I got this

    “There is 1 error that must be fixed before you can save.
    Update anyway, even though it might break your site?

    #1045540
    webkingpro

    Unable to save due to 1 invalid setting.

    #1045565
    David
    Staff
    Customer Support

    Make the change i suggested above then at the very end of the your CSS you will see this:

    } /* End GeneratePress Site CSS */

    Remove the } so it only reads this:

    /* End GeneratePress Site CSS */

    #1045583
    webkingpro

    woooooooooow now it’s working. love your fast support! <3

    #1045744
    David
    Staff
    Customer Support

    Awesome – glad to hear that

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