Title: Weird problem in css
Last modified: February 11, 2023

---

# Weird problem in css

 *  Resolved [mrozendaal](https://wordpress.org/support/users/mrozendaal/)
 * (@mrozendaal)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/)
 * 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?
 * ![](https://i0.wp.com/doncayo26.stukjeinternetserver.nl/wp-content/uploads/2023/
   02/Screenshot-2023-02-10-at-21.46.08.png?ssl=1)
 * ![](https://i0.wp.com/doncayo26.stukjeinternetserver.nl/wp-content/uploads/2023/
   02/Screenshot-2023-02-10-at-21.46.42.png?ssl=1)

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

 *  Plugin Author [sbouey](https://wordpress.org/support/users/sbouey/)
 * (@sbouey)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/#post-16461380)
 * 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
 *     ```wp-block-code
       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](https://wordpress.org/support/users/mrozendaal/)
 * (@mrozendaal)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/#post-16461521)
 * Perfect!! this did the trick……
 *  Plugin Author [sbouey](https://wordpress.org/support/users/sbouey/)
 * (@sbouey)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/#post-16461940)
 * 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](https://wordpress.org/support/users/sbouey/)
 * (@sbouey)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/#post-16461942)
 * Resolved.

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

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

 * ![](https://ps.w.org/falang-for-divi-lite/assets/icon-256x256.png?rev=2412304)
 * [Falang for Divi Lite](https://wordpress.org/plugins/falang-for-divi-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/falang-for-divi-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/falang-for-divi-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/falang-for-divi-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/falang-for-divi-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/falang-for-divi-lite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [sbouey](https://wordpress.org/support/users/sbouey/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/weird-problem-in-css/#post-16461942)
 * Status: resolved