Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1240202

    I followed several of the support entries to get at a centered split menu setup I like on this development site, however the logo seems to be stacked too low as it doesn’t hotlink until in a smaller mobile browser – when on a large screen it doesn’t appear to link.

    /*————————*/
    /* CSS – Logo center split menu
    /*————————*/
    @media only screen and (min-width: 780px) {
    /*In the below code nth-child(x) the value of x should be half the number of total menu items*/
    #top #header .av-main-nav li:nth-child(2) {
    /* Adjust the width of the logo */
    margin-right:300px;
    }

    #header .main_menu {
    /*background: gold;*/
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    }

    .av-main-nav-wrap {
    left: 50%;
    transform: translateX(-50%);
    }

    #header .logo {
    left: 50%;
    transform: translateX(-70%);
    }

    #header .logo img {
    top: 50%;
    transform: translateY(-50%);
    max-width: 300px;
    }
    }

    Happy to provide login details if that helps.

    Thanks in advance!

    #1240436

    Hey Ryan,

    Best regards,
    Victoria

    #1240470

    I possibly was not clear enough initially… I want the actual website logo (now centered) to link back to the homepage. Using the code above for some reason prevents the logo from linking (unless viewed on a mobile device/smaller screen)

    T Hanks in Advance!

    #1240502

    If you visit that provided link, try to click ON the website logo when on a larger desktop screen – it doesn’t link anywhere. However if you view the same site on a phone (or in a smaller browser window) at the lower breakpoints it once again links properly.

    #1240503

    Hi theVR,

    Here is the code you can put in Enfold > General Styling > Quick Css,  if it does not work, put into themes/enfold/css/custom.css

    
    #header .logo {
        z-index: 999;
    }
    

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #1240512

    Perfect! That worked like a charm.

    Thank you!

    #1240513

    Hi theVR,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.