How to add author's name in style 3 template?

Posted in: Newspaper
Post count: 90

When using style 3 as the post template, how can one add the author’s name next to the category and date?

Please have a look:

http://vastavalkea.fi/2016/04/27/hallituksen-lakiluonnos-suomalaissotilaat-aiotaan-velvoittaa-taistelemaan-ulkomailla/

The image contains the category name (“Suomi”) and the publishing date. But how to get the author’s name there, too? Alternatively, the date could be replaced by the author’s name.

TIA, Vesa

Post count: 23312

Hello Vesa,

In order to achieve as you wish, you have to alter the code according to your post template used, as you can see here -> http://screencast.com/t/U8mSq0gP and then you have to use a bit of CSS code for better results.

The code is ->

header time{
margin-right: 2px!important;
}

Thank you for the message!

Post count: 90

Works like a charm, Catalin! Thank you!

http://vastavalkea.fi/2016/04/27/hallituksen-lakiluonnos-suomalaissotilaat-aiotaan-velvoittaa-taistelemaan-ulkomailla/

(I wanted to have the three elements – category, author, date – in that order.)

However, if I wish to increase the separation between the elements, is there a way to adjust that?

Post count: 23312

Hello Vesa,

Please try the code below and place it in Theme panel->Custom CSS.

The code is ->

.meta-info .td-block-author {
margin-right: 10px!important;
}
.single_template_3 .td-post-header-full .td-category li {
margin-right: 10px;
}

Thanks.

Post count: 90

Fabulous, Catalin! One more, related thing:

What do I need to do if I want to add the author’s name when using Style 4?

Post count: 22421

Hi,
In order to use this method for other styles, use the same method as Catalin showed above and add the code in the other post style files: http://screencast.com/t/tH4YLxLhPE
Thank you!

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