I have some items in the menu and child menu are more than the default number.
I dont want to scroll the mega menu to see the child menu items. I wana see them at the first sight when the mouse scroll goes on them.
Thank you
Hi,
You could try this code, it will increase the max menu size, if that is what you want just enter it in Theme panel->Custom Css
If you add more items in the mega menu it will show them all in the dropdown (within the limit of 400px)
.block-mega-child-cats {
max-height: 400px;
}
Result- https://www.screencast.com/t/caiacrXhkNDi
Thanks
Thank you Simion,
I really thank you for your support.
The problem is solved.
But because of this code and the number of sub cats , something has happend.
The menu has more white space. How can I have two rows of the articles in menu items?
If it is possible to have two rows , I need to change the location of the arows ( < > )
and I need to know is there any option the remove ( All ) at the first of the sub cats?
and I have three other questions.
1) I have made my theme to rtl but the pages that are added in the sub footer are not center align in the mobile view. how can i do that? in the desktop view they are left align. I need center align in mobile view.
2) When a user logs in the site, an icon comes in the top menu that is for account management. It’s a link. the link is directed to http://look.ir/wp-admin , but I have restricted the dashboard for users with a plugin. but they are allowed to edit their profiles. i want to edit the hyperlink to http://look.ir/wp-admin/profile . how I change it?
3) in the social networks in the theme panel , there is no telegram. I need to add my telegram channel too. how can i have telegram next to social networks in the header and footer?
Hi,
This has happened because of the code provided above, as the mega menu was not meant to display like this. The limit for the modules in the mega menu is defined in td_block_mega_menu.php found in the theme folder->includes->shortcodes here – https://www.screencast.com/t/2sNvj9Vihchj also if you want to remove the “All” you should comment or remove this line of code from the same file – https://www.screencast.com/t/ua9wHUg6Yu
1. From what I can see the content in the sub-footer is already center aligned – https://www.screencast.com/t/v5FRYm8XuweK Please correct me if I am misunderstanding this
2. Unfortunately, our theme does not have any such an option that allows you to redirect, you could use this guide on how you can create simple 301 redirects:
http://www.wpbeginner.com/plugins/how-to-quickly-redirect-post-page-wordpress/ and redirect the actual link to the one you want
3. In order to add a new social network, you need to edit the theme code. Here is an example of how to add a new social network – https://forum.tagdiv.com/topic/adding-social-media-services-under-social-networks/
Thanks
Hi Simion,
Now everything looks fine on the menu.
All sub categories are shown without mouse scroll and and the article numbers are 8
But the menu when you are on the sub category that has 8 articles has an unusual height
can i reduce the height and put the arrows ( < > ) more up to see less white space?
The sub-footer has the center align code but as u opened on your mobile view browser or
open it on your mobile you will see that all pages together are a little bit on right. how can I fix that?
Thank you
Hi,
You could use this code to reduce the space between the next/prev arrows but it will apply to all the mega menu items – https://www.screencast.com/t/E9zxYFa7 – https://www.screencast.com/t/dgOpg7MI
.td_block_mega_menu .td-next-prev-wrap {
margin-top: -30px;
}
As for the sub-footer, it is center aligned on mobile too in the code, but since you have rtl in your site it could affect this property. You could try to fiddle with the margin-left property on the links in the sub-footer menu items and maybe find a way to position them the way you want – https://www.screencast.com/t/JwvyRWah0wWp
Thanks