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

Centered inline logo help

Discussion in 'Free Divi Community Forum' started by Geoff, Feb 2, 2019.

  1. Geoff

    Geoff New Member

    Hey all,

    When using the centered inline logo option (centers the logo with menu links on the left and right of it), Divi inserts a li.centered-inline-logo-wrap line of HTML with an inline style (style="width:88px;).

    I can't seem to overwrite this styling by adding !important tags to the .centered-inline-logo-wrap class in CSS and I need to change it to achieve the header layout that I'm looking for.

    I've been looking through the functions and HTML for my Divi theme but can't find this centered-inline-logo-wrap with the inline style anywhere. Any thoughts on how to find the line or edit it in another way?

    Thanks!
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gallery carousel design for your Divi site without using any plugins:View Demo
  2. Blake McDermott

    Blake McDermott New Member

    I placed the code below in Divi's custom CSS box and got the expected results. Maybe this is a caching issues, or there are other styles taking precedence?
    Code:
    Log In or Sign Up to view this code.
    [​IMG]
     

    Attached Files:

  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Just a general advice. If !important tag is not working, you can try to add #page-container in front of your CSS code. For example:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Custom Color Scheme + Premade Layouts - A perfect combination to boost productivity:Try Now