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

Header text positioning

Discussion in 'Free Divi Community Forum' started by dm5n, Nov 3, 2019.

  1. dm5n

    dm5n New Member

    Hi, I'm using the Divi Builder with Custom Global Header for designing a header with text overlaying a background vector image (shown in grey with a no-go area shown in green where I don't want the text to come close to or overlap).

    I'm trying to align the text towards the right as shown (H1 text shown in bold, H2 in regular) on a section of 1024 by 300, for the desktop site.

    Currently I'm using a fullwidth section and fullwidth column and trying to position text using -9vh Margin for Row spacing from top and 7vw for Text Module Padding from Right. The problem is that on smaller desktops the Hero text shifts towards the green 'no-go' zone of my header image background.

    example header wireframe.jpg

    What is a better way to keep the text fixed across desktop resolutions? And is using tab spacing in the text editor the optimal way to position the lines of text?

    Thanks.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade rolling text design for your Divi site without using any plugins:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Kindly share your URL for better visualization.
     
  3. dm5n

    dm5n New Member

    It hasn't been deployed, it's on my localhost.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade mega menu design for your Divi site without using any plugins:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

  5. dm5n

    dm5n New Member

    Thanks for taking the time to answer and sorry if it's not clear.

    I can test how headers perform at various desktop resolutions on my local site using Google Developer Tools Device Mode https://developers.google.com/web/tools/chrome-devtools/device-mode

    At 1024*600 resolution the Hero text becomes centred on the screen and is intersecting the edge of the no-go zone. And at 1920*1080 the hero text is on the right of the screen as shown below, which is where I want it.

    wireframe header 2.jpg
    The hero text gets closer to the no go zone of my background image with decreasing screen size (on desktops) and further away with increasing screen size.

    I'm currently using vh and vw to adjust the hero text position. I'm using a 1 column row and the Custom Global Header option on Divi Builder.
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  6. dm5n

    dm5n New Member