How Can I Center The Yop Menu on My Site

This topic has 2 replies, 2 voices, and was last updated 2 years, 6 months ago ago by Olga Barlow

  • Avatar: gurhan
    gurhan
    Participant
    May 1, 2022 at 22:07

    Can you please let me know how I can center this ==> https://prnt.sc/lDCWg3788jPU

    Thank you!

    1 Answer
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    May 3, 2022 at 12:09

    Hello,

    Add the below code to Theme Options > Custom CSS

    @media only screen and (min-width: 993px) {
        .navbar-header.navbar-right {
            width: 220px;
            padding-left: 15px;
        }
        
        .tbs {
            width: calc(100% - 440px);
            text-align: center;
            padding: 0;
        }
        
        .header-logo {
            width: 220px;
            max-width: unset;
            padding-right: 15px;
        }
        
        .tbs .collapse > .menu-main-container {
            display: inline-block;
        }
        
        .tbs .collapse > .menu-main-container > .menu > li {
            float: left;
        }
        
        .tbs .collapse > .menu-main-container > .menu {
            position: relative;
            top: 11px;
        }
    }

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘How Can I Center The Yop Menu on My Site’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.