-
AuthorPosts
-
August 23, 2020 at 9:15 pm #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!
August 24, 2020 at 5:38 pm #1240436Hey Ryan,
Best regards,
VictoriaAugust 24, 2020 at 6:46 pm #1240470I 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!
August 24, 2020 at 8:17 pm #1240502If 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.
August 24, 2020 at 8:19 pm #1240503Hi 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,
VictoriaAugust 24, 2020 at 8:35 pm #1240512Perfect! That worked like a charm.
Thank you!
August 24, 2020 at 8:37 pm #1240513Hi theVR,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.