Tagged: archive
-
AuthorPosts
-
September 2, 2016 at 4:57 pm #681391
Hello Enfold-team
I found out that on my archive for month pages the heading in the brown title bar looks different from the ones on the tag and category archive pages, it is hardly readable here.
Example: http://welt-der-vorfahren.de/2015/12/First of all, I would like to have the same color as on the other archive pages: please see
Category archive: http://welt-der-vorfahren.de/kategorie/recherchetips/forschungsquellen/presse/
Tag archive: http://welt-der-vorfahren.de/schlagwort/schweiz/There is also a comma between the month and the year – which is the English way to format it: Dezember, 2015.
I would like to have it the German way: Dezember 2015.
How can I remove the comma?Thank you in advance and kind regards,
AnjaSeptember 6, 2016 at 2:21 pm #682642Hey Aniona,
1- Please try adding this code to the Quick CSS section under Enfold > General Styling or to your child themes style.css file:
#top .alternate_color.title_container .main-title { color: #ddc5a1!important; }
2- Please go to Enfold/framework/php/function-set-avia-frontend.php file and find
$output = __('Archive for month:','avia_framework')." ".get_the_time( __('F, Y','avia_framework') );
and change it to
$output = __('Archive for month:','avia_framework')." ".get_the_time( __('F Y','avia_framework') );
Best regards,
YigitSeptember 14, 2016 at 3:50 pm #686434Hi Yigit,
thank you!
1) works fine!
2) doesn’t work for me
I use a child theme and thus copied the file to /wp-content/themes/enfold-child/framework/php/function-set-avia-frontend.php and made the changes there (delete comma), but nothing happens.
What else could I do?By the way, the default German translation “Archiv für das Monat” is wrong German. I used Loco Translate to change it to “für den Monat”, but somehow this was changed back (by some update?). I now edited it again, but it would be good to have it correct in the theme.
Thanks in advance
Anja- This reply was modified 8 years, 3 months ago by Aniona.
September 19, 2016 at 4:53 pm #688614Hi,
1.) Glad that this is working.
2.) That is happening because the subfolder / framework can not be replaced inside a child theme.
3.) Use a chid theme to avoid this.
Best regards,
AndySeptember 26, 2016 at 11:04 pm #691997Hi Andy
Thanks, but sorry, I don’t really understand.
I am using an Enfold child theme. Where should I place the code?
In the child theme subfolder or in the parent theme (with modifications lost by theme update)?Thanks for any help,
AnjaSeptember 28, 2016 at 2:12 pm #692658Hi,
2.) In the parent theme, although it gets lost when updating. Make a log file about it and do the customizations again after an update.
Best regards,
Andy -
AuthorPosts
- You must be logged in to reply to this topic.