-
AuthorPosts
-
May 25, 2021 at 12:51 am #1302106
Hi
I’ve tried different CSS options that I found in the support forum but none worked.
I want to remove the text “dans” (French for “in”) just before the list of post categories) and the “/” separator at the end of the category list (see screenshot: https://snipboard.io/hnOkNR.jpgHere’s the CSS I tried:
.text-sep text-sep-cat {
display: none;
}Here’s a link to a blog post on my staging server: http://crescendo.staging.wpengine.com/deconstruire-votre-immunite-au-changement/ (hosted on WPengine)
I have a dead line to get this done so hopefully I can get a quick fix to get this working.
Thank you
LyseMay 25, 2021 at 3:49 am #1302114Hi
I found the following post: https://kriesi.at/support/topic/change-after-post-date-remove-in-and-remove-last/#post-819930I have to add this CSS in the French side of my Enfold General style settings to make it worked:
.single .text-sep.text-sep-cat {
display: none;
}However, for the change to made the “loop-index.php” file, should I make that change in my Enfold Child theme folder so it does not get overwritten with updates to the parent theme? And how would I apply my French “dans” change?
Thanks
LyseMay 25, 2021 at 8:17 am #1302160Hi Lyse,
Thanks for giving us the reference link.
Since the code given in the link removes the word “in”, in the french version it should be removed it as well.
If you want to replace the word “dans” with other word then you can just replace the text in English and Enfold will check on the language translation files for its translation.PS. For French translation it will look into wp-content > themes > enfold > lang > fr_FR.po and you can search for “in” (line 13772) and you’ll see it’s translation
Best regards,
NikkoMay 25, 2021 at 4:14 pm #1302248Hi Nikko
I did not implement the change yet because I was asking how this change will stay in effect when there is an update the Enfold parent theme. Should I be updating the file and put it in to my Enfold Child theme (creating a includes folder)?
Thanks
LyseMay 25, 2021 at 4:18 pm #1302249As for the other thread you closed, the issue was with the blog list page where I want to remove the blog post date (https://kriesi.at/support/topic/remove-data-from-blog-post-entries/) on this page: http://crescendo.staging.wpengine.com/activites/ (hosted on WPengine) (see screenshot: https://snipboard.io/skJmjI.jpg)
I tried this CSS:
.avia-content-slider .slide-meta time {
display: none;
}Thanks
LyseMay 25, 2021 at 4:21 pm #1302250I just updated the file, created an includes folder in my Enfold Child theme, and the change works, the “dans” is removed.
I just need a fix now for the other blog list issue above….
Thanks
LyseMay 25, 2021 at 4:38 pm #1302256Hi
I’ve got it working. The CSS is now removing the date from the blog page list.
You may close this ticket.
Thank you for responding so quickly and helping me meet my deadline for launch.
LyseMay 25, 2021 at 9:49 pm #1302319Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Remove blog metadata elements’ is closed to new replies.