Coding Question: Editing the Mega Menu 'All' feature & editing Block Pagination

Posted in: Newspaper
Post count: 6

I appreciate all your support available in this forum, keep up the great work.

I’m interested to learn if/how it’s possible to edit two things through code edits:

1. Remove the “All” option from a specific Mega Menu (i.e. target one Mega Menu and remove All from appearing only for that one instance)? I noticed that the Mega Menu IDs change every time the page is loaded, so I’m guessing CSS won’t be enough.

1a. Related: Where in the coding could I rename the “All” option?

2. Where in the coding can I edit the location of the Left/Right pagination arrows for Blocks? I am looking into moving their location to appear on the left and right sides of the content, if possible.

Thanks in advance!

Post count: 20688

Hi,

1. With CSS it could be removed more specifically, maybe like this by menu item ID
https://www.screencast.com/t/o0zh1MAq68c
It could be removed in the code, but for all the mega-menus
https://forum.tagdiv.com/topic/delete-all-category-in-mega-menu/

1a. Either rename the term “All” in the code or in the theme translations
https://www.screencast.com/t/SxvmskgzHl

2. Each block will first call this pagination
https://www.screencast.com/t/6LoHtYqUt
It will appear in the intended place, there is design that is created specially for this
https://www.screencast.com/t/TWIzHkwMW4
Maybe that could be done with recreating CSS design for it in addition to code modifications, it could mean a lot of work. Design in blocks is carefully created, even the slightest modification could damage it sometimes.

Thanks

Post count: 6

Just a quick note that your assistance was spot-on; thanks for all you do!

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