How to hide left-right arrow of Mega-menu

Posted in: Newspaper
Post count: 364

A situation:
Screenshot – http://screencast.com/t/1rm8lqnB0H2
I’ve got 3-4 post in one section.
But when this menu section will be opened on the mouse hover – I can see left-right arrow to go left – right. But I don’t have more items to show.
How ti hide those buttons-arrows on the Mega-menu ?

Post count: 285

Hi K,
If you hide left-right arrows with CSS will disappear in all categories!
I think that you can try with this:

.td-mega-menu .td_block_mega_menu .td-next-prev-wrap {display: none!important;}

If you want only for that cat, you need a condition, so wait until tomorow for better reply from staff

Post count: 364

thanks for an quick reply, nairolf!
I want to show \ not show arrows (left\right) only if I need to use paginator (more 10-20 posts) – to show
and 3-4 post – don’t show arrow for all categories.

Post count: 285

Like I said before, to hide left-right arrows only for that category you need to know the ID for that element. You need to provide your url, tagDiv will help you tomorrow.

Post count: 22421

Hello,
Unfortunately there is no simple way of doing it with css. you will need to create special functions for this to work properly. Our theme does not have such a detect in place so there is no easy way to detect if there are no more posts to display and make the arrow not show anymore.
Thank you!

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