Archived topic
leximum - how to remove the link which is in the date in a post ?
5 replies · Started by Robert on August 20, 2020
Hi
I wanna ask about:
1. how to remove the link which is in the date in a post ?
in all news is the Date, under the title, a link, which I can clic:
30 lipca, 2020 in:
https://www.leximum.strona22.pl/zdalne-posiedzenia-organow-kolegialnych-pochodzacych-z-wyboru-a-zasady-ochrony-danych-osobowych/
Can I remove the link?
- I means that the date "30 lipca, 2020" like a TXT should stay but it should not by a link
2. Ca I make the space, in all posts, between the title and the article under the title biger?
3. on https://www.leximum.strona22.pl/zespol-leximum/
I use a list <ul>...</ul>
The begin of the point <li> is a circle.
- its passible to change it to a short line "-"
Thx!
Robert
Hi there,
1. Add the PHP snippet provided here:
https://docs.generatepress.com/article/generate_post_date_output/#remove-link-from-date
2. Customizer > Layout > Container and increase the Content Separator space.
3. Try adding this CSS:
.entry-content ul {
list-style: none;
}
.entry-content ul li {
position: relative;
}
.entry-content ul li:before {
content: '-';
position: absolute;
left: -1em;
}
Hi,
1. Sorry for my question but where I need to paste in
this PHP code?
I added it into a Hook, but I see its wrong:
https://www.leximum.strona22.pl/zdalne-posiedzenia-organow-kolegialnych-pochodzacych-z-wyboru-a-zasady-ochrony-danych-osobowych/
2. yep - it works!
3. I addes Yor CSS code but unfortunaly nothing happend...
Thx
Robert
1, This article explains:
https://docs.generatepress.com/article/adding-php/
2. :)
3. Aah you're using Elementor.
Try this instead:
.site-content ul {
list-style: none;
}
.site-content ul li {
position: relative;
}
.site-content ul li:before {
content: '-';
position: absolute;
left: -1em;
}
Hi
ad. 1 - perfect!
ad. 3 - ideal!
thx a lot!
I wish You nice weekend!
Robert
You're welcome