adjustments for human time diff function

Posted in: Newspaper
Post count: 51

Hello,

I was replacing the date function under the post title in template #3, with human time diff function. But it is somewhat misaligned. I used the inspect tool, and finally gave an edit to .td-post-meta-info, but that seems to apply to the complete meta info, even on the homepage. So now, I am looking forward to just adjust the specific function, and only in this specific template. Any guidance please?

I want the colour of it to be white, to match the other functions. Plus, I am also willing to adjust its font size and want to realign it.

One more thing, how do I replace the same on the following blocks and grids on my homepage.
Block 5
Block 20
Block 1
Big Grid 5
Big Grid 4

Regards
Dhananjay

  • This topic was modified 10 years by Dhananjay.
Post count: 23312

Helo,

If you want to achieve the white color and the same font-family, please try to use a bit of CSS code to do that. Please try the code below and place it in Theme panle->Custom CSS area.

The code is ->

.td-post-template-3 .td-module-meta-info {
color:white;
font-family:Verdana;
}

The result you should see here -> http://screencast.com/t/LhG8uv2N

For your second request, please notice that if you want to change your Blocks, you have to alter the code from the modules which forming the specific block. Here -> http://screencast.com/t/DPz0E8KfBD1R you can see the list of our modules which are used to forming our blocks and then for each module you have to alter the code like this -> http://screencast.com/t/Sla5IKHO

Hope this helps!

Thanks!

Post count: 51

Thank you so much. I have it all set now, will look into the modules code too.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.