Hi Parvel,
I have 2 more questions:
Regarding the CSS and the date. Is it somehow possible to format the content of
<time datetime="2022-11-23T12:19:42+01:00">23.11.22 </time>
to this:
<time datetime="2017-06-20T14:39:00+02:00" itemprop="datePublished">
<span>20</span>
Jun,2017 </time>
What adjustments need to be made and where?
I know where I can adjust the date format, but I want to know how and where I can add the <span> tag between the <time>
And how can I apply/adapt this css for a single article instead of .article-list.
I've tried (with the structure of de default.php helix article) to adapt it for a single article like this:
.article-details {
position: relative;
}
.article-details .published {
position: absolute;
top: 635px;
left: 0;
margin-top: -76px; /* to keep it on the same place */
margin-left: 100px; /* to keep it in the same position */
width: 70px;
height: 70px;
background-color: blue;
color: #fff;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
font-size: 16px;
line-height: 1.2;
}
.article-details .article-full-image {
position: relative;
}
.article-details .article-header {
position: relative;
z-index: 2;
}
But when I resize the browser window the .published is moving, and does not stay in place.
Have you an idea please?
Thanks again for your amazing support.
Greetings.