Site logo

Archived topic

How to get the logo in the middle and how to widen the menu on desktop?

3 replies · Started by Heath on October 16, 2021

Viewing posts 1–4 of 4

How do I get my logo in the middle across all devices from desktop to mobile?

Also on desktop the menu shows to be crunched up and I don't want the wording on multiple lines so I had to reduce the font size to make the words all one line. How do I widen the menu on desktop once it opens and keep the words from going to multiple lines?

Hi there,

you have this CSS:

@media (max-width: 768px) {

    .separate-containers #main,
    .separate-containers .inside-right-sidebar,
    .separate-containers .inside-left-sidebar {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .separate-containers .widget,
    .separate-containers .site-main>*,
    .separate-containers .page-header,
    .widget-area .main-navigation,
    .post {
        margin-bottom: 10px;
    }

    .widget-area .widget {
        padding: 30px;
    }

    #generate-slideout-menu .inside-navigation.grid-container.grid-parent {
        padding: 0;
    }

    .main-navigation.has-branding:not(.grid-container) .inside-navigation:not(.grid-container) .navigation-branding {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-left: unset;
        margin-right: unset;
    }

    .main-navigation .menu-bar-items {
        flex-direction: row-reverse;
        flex: 1;
        justify-content: space-between;
    }

    .main-navigation.has-branding .menu-toggle {
        order: -1 !important;
    }

    .sidebar .widget {
        border-bottom: 1px solid #000;
    }
}

Change it to:

.main-navigation.has-branding:not(.grid-container) .inside-navigation:not(.grid-container) .navigation-branding {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-left: unset;
    margin-right: unset;
}

.main-navigation .menu-bar-items {
    flex-direction: row-reverse;
    flex: 1;
    justify-content: space-between;
}

.main-navigation.has-branding .menu-toggle {
    order: -1 !important;
}

@media (max-width: 768px) {

    .separate-containers #main,
    .separate-containers .inside-right-sidebar,
    .separate-containers .inside-left-sidebar {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .separate-containers .widget,
    .separate-containers .site-main>*,
    .separate-containers .page-header,
    .widget-area .main-navigation,
    .post {
        margin-bottom: 10px;
    }

    .widget-area .widget {
        padding: 30px;
    }

    #generate-slideout-menu .inside-navigation.grid-container.grid-parent {
        padding: 0;
    }   
 
}

Thanks

You're welcome

This archived topic is closed to new replies.