how to change content of publication date in cubic date
-
It’s a bit of a clumsy work around but I don’t know of another way of doing something like this.
-
Hi batmaxime
I found a better way to do this :)
.post-421 .entry-date.published { display: none; } .entry-meta + .entry-title a:before { padding-top: 0; margin-top: -6px; content: "YOUR NEW TEXT"; display: block; font-size: 13px; } -
nothing happen.. the publication date disapear from the post 421 wich is the first one, publication date re-appear on the other posts.. but no “your new text” appear on the post 421.. the date just disappear..
-
OK, I see the problem. This should work …
.post-421 .entry-title a:before { padding-top: 0; margin-top: -6px; content: "YOUR NEW TEXT"; display: block; font-size: 13px; } -
-
-
i don’t have anything in the css code exept the code to disable the publication date.. but i erase it before pasting your code..
-
-
Hi @batmaxime, this is the way I would do it.
.post-421 .entry-date.published { visibility: hidden; } .post-421 .entry-date.published:before { content: "My new date"; visibility: visible; display: block; position: relative; top: 20px; }I tried the above directly in your customizer and it worked although you will have to remove the following from your custom CSS though for this to work.
.entry-date.published { display: none; } -
hi sacredpath!!!
thanx a lot, your the man!! it works perfectly!!
can you help me on another update on cubic..?
-
- The topic ‘how to change content of publication date in cubic date’ is closed to new replies.