1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, 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 Align sidebar content on tablet and mobile view

Discussion in 'Basic Support Forum' started by Andrew George, Apr 13, 2020.

  1. Andrew George

    Andrew George Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Hello,

    I'm trying to align the sidebar so it is centred on mobile and tablet view (max width 980px).

    I've managed to change the text to be centred using Google inspect (see screenshot) but for some reason it doesn't work when adding the CSS to the theme customizer. And no matter what I've tried I can't seem to centre the module because it is using "float" and I can therefore only align it left or right.

    Can you help? Thanks in advance.

    https://georgecriminallawyers.com.au/sexual-offences/

    I've uploaded a picture of what I'm trying to achieve.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  2. Andrew George

    Andrew George Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Edit: I seem to have done this on mobile view actually, but I forget how I did it (up to 1067px). I can't see any custom CSS I've added or anything that would trigger it at that point.
     
  3. Divi Powerful

    Divi Powerful Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Industrial' Divi layout for all Pro members:View Demo
  4. Andrew George

    Andrew George Member
    Divi Ultimate Child Theme Divi Powerful Child Theme Divi Ultimate Archive Plugin Divi Ultimate Blog Plugin Divi Ultimate Header Plugin Divi Ultimate Footer Plugin

    Perfect, thank you!