Adding Author and Date to Big Slide

Posted in: Newspaper
Post count: 39

I looked up the old instructions from February but none of the suggested code exists in the slider now. Is there any way to get the big slider to show this? Thanks!

Post count: 6600

Hi,

You can add them like this: http://screencast.com/t/Ixrr28AE
This is the code added there:

echo $this->current_post->get_author();
                    echo $this->current_post->get_date();

Then use this custom css to style them:

.iosSlider .td-block-author {
position: relative;
top: -20px;
color: white;
font-size: 20px;
font-weight: bold;
}

.iosSlider time {
position: relative;
top: -20px;
color: white;
font-size: 20px;
font-weight: bold;
}

.iosSlider .td-block-author a {
color: white;
}

Hope this helps.
Thanks

  • This reply was modified 11 years by Lucian.
Post count: 39

I put this code in but it did not work. I am using version 4.2 of the theme.

Post count: 6600

Hi,

I have tested it, should work fine: http://screencast.com/t/WxpEpBig
Please make sure you add this correctly http://screencast.com/t/Ixrr28AE
And then use this css and remove the previous from theme panel > custom css:

.slider .td-big-grid-post .td-block-author {
position: relative;
top: -100px;
color: blue;
font-size: 20px;
font-weight: bold;
}

.slider .td-big-grid-post time {
position: relative;
top: -100px;
color: blue;
font-size: 20px;
font-weight: bold;
}

.slider .td-big-grid-post .td-block-author a {
color: blue;
}

Change the color/font.. as you like using the css targeting I provided.

Thanks

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