Last modified time below logo

Posted in: Newspaper
Post count: 53

Hi,

I would like to display the “Last modified: <?php echo the_modified_time(); ?>” code below the logo, using the Newspaper DEFAULT HEADER STYLE. Please help.

Thanks!

Post count: 23312

Hello @tagdiv-da-beast,

I understand what do you want to display on your site and you can do this if follow this steps below:
First of all you must put the function in corect template like this: http://screencast.com/t/5beSjRSYgA2p and after which please try this custom CSS in theme panel for a good customization:

.time-modified {
margin-left: 50px;
}

If you want to change another format display for date, please take a look on this link: https://codex.wordpress.org/Function_Reference/the_modified_time

Hope this helps!
Let us know how it goes!

Thanks.

Post count: 53

Hi,

Thanks for the feedback. This code works, but I would like to display it right below the logo, below the logo (within the same <div> tag).

Thanks!

Post count: 23312

Hi,

Follow this link to add the text in the same container with the logo: http://screencast.com/t/1JQW3e8j then replies the previous CSS with code below:

.time-modified {
margin-top: 80px;
}

In the screenshot you can see the result: http://screencast.com/t/qtv6A68CIF

Thanks.

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