This topic has 2 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler
Could you tell me how I can display the top bar on mobile?
I realize on some site there would be a lot of content in and it wouldn’t look right, but we just want to show whats in the widget section for Top Bar Left – which is phone and 1 link. We would hide the right top bar widget area still (newsletter and social media)
We can re-style with css as needed, but just need help figuring out how to get it to display on mobile in the first place.
Thanks
Hello,
You can use this code to show the top bar on mobile:
@media only screen and (max-width: 1030px){
.top-bar {
display: block;
}
.top-bar .languages-area {
display: block;
max-width: 100%;
text-align: center;
width: 100%;
float: none;
}
.top-bar .top-links .topbar-widget {
display: inline-block;
}
.top-bar .top-links {
width: 100%;
max-width: 100%;
text-align: center;
}
.top-links ul {
float: none;
}
}
Regards
You must be logged in to reply to this topic.Log in/Sign up