Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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,
    Anja

    #682642

    Hey 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,
    Yigit

    #686434

    Hi 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, 2 months ago by Aniona.
    #688614

    Hi,

    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,
    Andy

    #691997

    Hi 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,
    Anja

    #692658

    Hi,

    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

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.