[Resolved] Style post date

Home Forums Support [Resolved] Style post date

Home Forums Support Style post date

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #555837
    David
    Staff
    Customer Support

    Hi Guys, do you have a function to help with styling the post date? I need to give the date a calendar look. Three character month stacked on top of day.

    thanks

    David

    EDIT: If possible this would be the modified date.

    #556181
    Tom
    Lead Developer
    Lead Developer

    You would likely need to hook your own date in along with the required HTML markup. Any examples of the look you’re going for?

    #557106
    David
    Staff
    Customer Support

    The hook version is what i was working on. Its a simple stack like an old calendar pad:

    20
    APR
    2018

    Syled so the three are a justified block.

    #557309
    Tom
    Lead Developer
    Lead Developer

    What I would do is:

    1. Find a site that has the type of look you want, and take the HTML.

    2. Replace the static values (month, day, year) with the necessary PHP to output the correct values.

    3. Use the same CSS the site is using to style it.

    Let me know if you get stuck along the way 🙂

    #557316
    David
    Staff
    Customer Support

    thanks Tom always appreciated. I am sure ill have a working solution… just in time for the client to change their mind (again….)

    #557322
    Tom
    Lead Developer
    Lead Developer

    No problem – I’m here if you need help with it.

    #557332
    David
    Staff
    Customer Support

    Thanks Tom.
    Sorted. Added URL to original post. Will add link and position on post…. if they don’t change their mind. Back to footer styling!

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