1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Text and backgroud image - how to control it on mobile?

Discussion in 'Free Divi Community Forum' started by Zuzanna, May 3, 2019.

  1. Zuzanna

    Zuzanna Member

    Hi!

    Using youe methd I added a fullwidth text module (I wanted it to be a header). I set a backgroud image and everything looks great.

    The problem is I want to control picture's height, text size and text position on tablet and on mobile, but I don't know how.

    1. By setting different spacing > padding on different devices I was able to set the picture's height, but text dissapear

    2. I was trying to add media query in custom css, but it was working only for tablets and for phones (Am I missing something in code?), but still can't control the text position.

    The only way I could control text's position was when playing with padding while setting custom css
    (advanced > customs css > main element > height: 55vh). It doesn't solve my problem, as I want decrease picture size on mobile.

    Could you please help me with that?
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Ultimate Child Theme - Tons of premade layouts & section designs + functionalities for your Divi site:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly share your URL.
     
  3. Zuzanna

    Zuzanna Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade slide in bar design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    You shouldn't be setting height for the module. Add the below CSS in Divi > Theme Options > Custom CSS to override it:
    Code:
    Log In or Sign Up to view this code.