• Resolved mrozendaal

    (@mrozendaal)


    First off all, this plugin is a lifesaver and works perfect.

    I only have 1 weird thing, i use the Divi version and in my slider i have a text, when i switch the language, the text goes down a couple of pixels, and i really can not understand why….

    Any idea what it can be?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author sbouey

    (@sbouey)

    The text you have is in a text module ? you didn’t send me a link to see the problem. can you try to put this in function.php

    function falang_divi_override_content($content){
        $start_with = @substr_compare($content, "</p>\n", 0, strlen("</p>\n")) == 0 ? true:false ;
        $end_with = @substr_compare($content, "\n<p>", -strlen("\n<p>"))==0?true:false;
        if ( $start_with && $end_with  ){
            $content = substr($content,5);
            $content = substr($content,0,-4);
        }
        return $content;
    }
    add_filter ('falang_divi_override_content','falang_divi_override_content',10,1);
    

    It’s perhaps the problem i have see but not put in the offical release of Divi, i have just add a new filter

    Thread Starter mrozendaal

    (@mrozendaal)

    Perfect!! this did the trick……

    Plugin Author sbouey

    (@sbouey)

    Great, i check to put this in the lite version of Falang for Divi. i put a link from this other thread to this thread.

    Have a nice week-end

    Stéphane

    Plugin Author sbouey

    (@sbouey)

    Resolved.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Weird problem in css’ is closed to new replies.