Secondary menu

Posted in: Newspaper
Post count: 69

I’m not happy with the appearance of the secondary menu (black background) on my website using viewing vertical display on a tablet. A lot of space is wasted for nothing. It don’t look good and user need to scroll more. Do you have a suggestion how to make it more compact and use the space better ? I fix this with custom CSS or via theme panel?

Post count: 22421

Hi,

Please provide a link to your site so we can inspect it as we cannot see the issue on spaintodaydotes

Thank you!

Post count: 69

Hello Bogdan, I provided a screenshot there.. you can see it? You also see the domain of the site there on the screenshot. Thank you.

Post count: 22421

Hi,
The menu items go on 2 lines because you have too many menu items. The only elemgant solution i see for the moment is to rmeove the weather and social icons from the top menu on tablets. Here is an example code:

@media (min-width:767px) and (max-width:1040px){
.td-header-sp-top-widget,
.td-weather-top-widget{
display:none!important;
}
}

Unfortunately if you have too many menu items, they will fall on separate rows as there is not enough space to accommodate all elements on smaller devices.

Thank you!

Post count: 69

Hi Bogodan, my problem is related to the “spacing” around the text.. You see there if I run a menu over two lines.. that there is a HUGE amount of space there that is not nececary. That space is what I assume we can reduce in CSS?? The weather I think we can remove via theme panel.. so I don’t worry about that.

Post count: 22421

The space comes from the weather and the social icons. They fall on another line when the menu falls on 2 lines. Each of theme have their own margins and padding.
You can remove them from the theme panel but not for mobile devices in particular.
If you want to further decrease the spacing, you cna do it with the line height on the menu items. This is set from the theme panel but it will affect the desktop as well. If you do not want to affect the desktop version you can use this code:

@media (min-width:767px) and (max-width:1040px){
.td-header-style-12 .top-header-menu>li, .td-header-style-12 .td-header-sp-top-menu, .td-header-style-12 .td-header-sp-top-widget{
line-height: 28px;
}}

Thanks.

Post count: 69

Thank you Bogodan, I removed the social/weather and fixed the rest with the CSS. I see that this secondary menu don’t show on mobile. We do not use the seperate mobile theme. How do we display the secondary menu on mobile using the standard theme on mobile too?

Post count: 22421

Hello,

The top menu cannot show on mobile devices. It was never designed to. You can place it at the top in the mobile version as well if needed. You can try this css:
@media (max-width: 767px){
.td-header-top-menu-full {
display: block!important;
}
.td-header-sp-top-menu {
display:block!important;
}
.td-header-style-12 .top-header-menu > li, .td-header-style-12 .td-header-sp-top-menu, .td-header-style-12 .td-header-sp-top-widget{
line-height:30px;
}
#menu-secondary-navi-menu{
text-align:center;
}
}

Thank you!

Post count: 69

Thanks again, problem solved!

Viewing 9 posts - 1 through 9 (of 9 total)
The forum ‘Newspaper’ is closed to new topics and replies.