Before |
After |
Go to Dashboard --> Template --> Customize --> Advanced --> Add CSS --> paste the following code --> Press enter after the last character of the last line } --> Apply to Blog.
Replace the word 'Yoga' in Line 2 with your name. Note that since we're adding a static attribute to the author name, this tweak will not work if you have more than one author.. You can only set 1 author name per blog.
1
2
3
4
5
6
7
| .article .article-header h 1 .title:after, .ss{ content : "by Yoga" ; display : block ; padding-top : 10px ; font-size : 14px !important ; color : grey !important ; } |
Extra: Remove author name from the bottom of your post
To remove the original author name from the line that says 'Posted 3 weeks ago by blabla' (to avoid name duplicates), add the following code to your Add CSS box.
To remove the original author name from the line that says 'Posted 3 weeks ago by blabla' (to avoid name duplicates), add the following code to your Add CSS box.
1
2
3
4
5
6
7
8
9
10
11
| .publish-info{ font-size : 0px ; } .publish-info .time{ font-size : 14px !important ; } .publish-info .time:before, .ss{ content : "Posted " ; color : #808080 ; font-size : 14px !important ; } |
No comments:
Post a Comment