Making author name visible in slide

Posted in: Newspaper
Post count: 90

Block title and date are shown in the top left corner of the big slide.

We would like to have the name of the author shown there – e.g. in place of the date.

Is this possible?

Thanks in advance.

  • This topic was modified 11 years by Vesa.
Post count: 7909

Hi,

If you refer to the normal slider(that you are using on homepage) please check td_module_slide.php and uncomment author code – http://screencast.com/t/kixLgl8ykhttp://screencast.com/t/QuqTf3QC

Thanks!

Post count: 90

Thanks Alin,
It works!

I then tried removing the date field by commenting

$buffy .= $this->get_date();

However, the end result was that there was a hyphen after the author’s name, eg:

Kaleidoskooppi Vesa Raiskila –

Is it somehow possible to also get rid of the “-” at the end?

I can live with the date, but I’d rather just have the category name followed by the author.

Post count: 7909

Hi,

You can remove it from here – http://screencast.com/t/mYZs5a8fuE but please note that it will be also removed from post templates – http://screencast.com/t/YHjLedh0c

Thanks!

Post count: 90

Thanks again! Done as suggested. It looks tidier now.

http://vastavalkea.fi/

It would be nice if the missing hyphen could be replaced by a blank space to add separation from the name in post templates, but we can live with how it looks now:

http://vastavalkea.fi/2015/06/02/heikki-talvitie-venajan-kauppa/

Post count: 7909

Hi,

You can add some margin right to the author using custom css – http://screencast.com/t/TCc3qgoqkW

.meta-info .td-block-author {
margin-right: 2px;
}

Thanks!

Post count: 90

Added a bit more margin. Great advice! Looks perfect now. 🙂

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