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 Alignment issue across all devices

Discussion in 'Free Divi Community Forum' started by Asha Hudson, Nov 1, 2020.

  1. Asha Hudson

    Asha Hudson New Member
    Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hi there,

    I am working on a site that uses the full-width image in full-screen mode. On the banner is some text which I am having trouble getting to look right across all devices. The client wants to have the main text as a headline, then the rest of the text smaller and closer to the bottom of the image. I have used the following css in the Custom CSS/Main Element section:
    margin: auto;
    width: 100%;
    text-align: center;

    ...and then padding in the actual text to separate the sections like so:
    <p style="padding-bottom: 100px;"><em>here</em> is where<br /> change happens.<br /> <em>now</em> is the time.</p>
    <p style="font-size: 18px; line-height: 1.6em;">Affordable gestalt therapy<br /> in Castlemaine and Carlton North.<br /> Appointments conducted in person, online, or by telephone.</p>

    It looks right on most screens, but when the client views it on a mobile in landscape or a smaller screen size (see image) the text goes off the image and over the text section below (obviously due to the padding I have added).

    Can you suggest any advice on a better way of doing it?

    Many thanks in advance
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Cart Count Plugin - Easily add cart count to your Divi cart icon. 6 different styles to choose from:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly share your URL.
     
  3. Asha Hudson

    Asha Hudson New Member
    Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    It looks fine to me:

    upload_2020-11-4_22-5-9.png
     
  5. Asha Hudson

    Asha Hudson New Member
    Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hi - I know on 'most' devices it looks fine, but if you go landscape on a phone or reduce the screen size, the text goes off the image - like in the screenshot.

    Thank you!
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Custom Divi Builder header on desktop + default slide in / fullscreen menu on mobile:Learn More
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

  7. Asha Hudson

    Asha Hudson New Member
    Divi Block Pro Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Thank you so much for your help! I really appreciate you taking the time to look at it and show me your findings!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gradient text design for your Divi site without using any plugins:View Demo