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 logo and buttons on fullwidth header

Discussion in 'Free Divi Community Forum' started by Lera, Feb 26, 2018.

  1. Lera

    Lera New Member

    Hi! Im trying to reach the following layout on the fullwidth header module (see picture below), but cant seem to align logo and buttons to the left (in relation to text). They keep being pushed to the right. I tried using this in custom CSS, but did not work:

    .custom_header .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content .header-logo {
    text-align: -webkit-left!important;
    text-align: left!important;
    }

    Help please! Would be super grateful for any ideas.
     

    Attached Files:

    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    It would be helpful if you can provide your URL.
     
    Lera likes this.
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring unique comment design on single blog post page:View Demo
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

  4. Lera

    Lera New Member

    Unfortunately, it doesn't work :(

    I was hoping
    .custom_header .et_pb_fullwidth_header .et_pb_fullwidth_header_container.right .header-content .header-logo will add more specificity, but this also does not work.

    I have added a custom class to the module advanced CSS settings for the gradient background CSS, can this be interfering with the specificity somehow? I guess logically it should not be the case, but who knows..
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  5. Divi.Help

    Divi.Help Administrator
    Staff Member

    I see the issue now. You should add important tag:
    Code:
    Log In or Sign Up to view this code.
     
    Lera likes this.
  6. Lera

    Lera New Member

    Adding !importnat worked, THANK YOU!

    This is probably a stupid question, but how come my option with more classes didn't work? I had both
    .et_pb_fullwidth_header_container.right AND .header-content mentioned, plus the .custom_header .et_pb_fullwidth_header that contains both of them.

    This is how the element CSS looked like in the inspector, so I figured both those classes should be mentioned. Where did I go wrong?

    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade floating button design for your Divi site without using any plugins:View Demo
  7. Divi.Help

    Divi.Help Administrator
    Staff Member

    I believe this CSS should work as well.
    Code:
    Log In or Sign Up to view this code.
     
    DoDe and Lera like this.
  8. Lera

    Lera New Member

    It did! And I see now what where my problem was, i should not have used the .header-logo class. Its part of the <img>, so guess no
    text-align could be applied to it...

    Thank you so much one more time for your help!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade horizontal timeline design for your Divi site without using any plugins:View Demo
  9. Jeff Goebel

    Jeff Goebel New Member

    After reading this whole thread, I still can't figure out how to get a logo to the left of my Header text. Nothing above worked, although it seems like I was doing the same things Lera was doing. Perhaps my stock settings on the full width header are interfering but I can't find answers anywhere.
     
  10. Divi.Help

    Divi.Help Administrator
    Staff Member

    Any URL? And screenshot on what you meant.
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade team carousel design for your Divi site without using any plugins:View Demo