Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Center logo inline with nav menu – storefront

Discussion in 'Misc WordPress Requests' started by Mr Case, Mar 9, 2018.

  1. Mr Case

    Guest

    Reply To: Center logo inline with nav menu – storefront, by Mr Case

    You could create a custom link in your nav menu that links to your home page (or nothing at all). Make sure it is in the middle of course. Also make sure that your ‘CSS Classes’ option is checked in your ‘screen options’ tab, you can give it a very specific class and add some styles to it, including a background image as your logo.

    Here is a loose example of what that css may look like:

    .custom-logo {
    background-image: url(https://your-site.com/wp-content/themes/your-theme/your-image-folder/your-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    display: inline-block;
    max-width: 200px;
    width: 100%;
    }

    Again, there are probably several ways to do this…but that might be the least involved way.

    Reply To: Center logo inline with nav menu – storefront
     
    #1

Share This Page

Monarch Social Sharing Plugin