to change the color of the texts
- Posted by kinouplay (17) Offline
Hello, thank you for the info, but this is not what I would like to have (I expressed myself badly). I would like the text to be at the bottom in the middle (see photo), is this possible?
3 years 10 months ago #7
by kinouplay
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5416) Offline
Ok, you still can use the previous code
and set the Text Vertical Align to :Bottom
https://www.dropbox.com/s%2Fqwl1oloiiq6gsh2%2Fmonosnap%25202022-04-07%252015-59-21.png?raw=1
3 years 10 months ago #8
by TemplatePlazza
.mfp_infinity_item_inner {text-align:center}and set the Text Vertical Align to :Bottom
https://www.dropbox.com/s%2Fqwl1oloiiq6gsh2%2Fmonosnap%25202022-04-07%252015-59-21.png?raw=1
Please Log in or Create an account to join the conversation.
- Posted by kinouplay (17) Offline
Thanks very much.
Question: can we insert "visuals" as in the photo, next to the name, the date? If so do you have the code?
Another question: can we insert the number of views of the article?
3 years 10 months ago #9
by kinouplay
Question: can we insert "visuals" as in the photo, next to the name, the date? If so do you have the code?
Another question: can we insert the number of views of the article?
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5416) Offline
Question: can we insert "visuals" as in the photo, next to the name, the date? If so do you have the code?
Try this code:
3 years 10 months ago #10
by TemplatePlazza
Try this code:
.mfp_infinity_item_inner .mfp_author:before, .mfp_infinity_item_inner .mfp_date:before {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
margin-right:5px;
content: "\f007";
}
.mfp_infinity_item_inner .mfp_date:before {
content: "\f017";
}Please Log in or Create an account to join the conversation.
- Posted by kinouplay (17) Offline
Hello, thank you very much for the code, it's perfect.
Question: is it possible to put the number of views of the article? If so could you give me the code?
3 years 10 months ago #11
by kinouplay
Question: is it possible to put the number of views of the article? If so could you give me the code?
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5416) Offline
You can have that by doing template override. If yo don't know how to do it, you can follow this video
Then add this code after the date part :
3 years 10 months ago #12
by TemplatePlazza
Then add this code after the date part :
<span class='mfp_author'>Hits <?php echo $item->hits; ?></span>Please Log in or Create an account to join the conversation.