• Hello,
    for them who have the issue in the subject i found the function that breaks the wordpress layout removing the body classes.
    The function is
    function ginger_parse_dom($output)
    line 140 of gingerfront.core.php inside “front” folder

    The solution i found is to add these lines at the end of function

    + $body_element = $doc->getElementsByTagName(‘body’);
    + $body_element[0]->setAttribute(“class”,join( ‘ ‘, get_body_class( $class ) ));
    $output = $doc->saveHTML();

    I hope this will be improved by developers and add to the new version of this plugin.
    Bye

Viewing 2 replies - 1 through 2 (of 2 total)
  • Grazie mille, mi hai risolto un problema!!

    Grazie mille, stava diventando un bel problema anche a me.

    To whom will use the code take care to substitute “ and ‘ with correct quotation mark and apostrophe

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ginger remove body classes and breaks layout’ is closed to new replies.