1. Cuisine
  2. Sunday, 27 March 2016
Is possible to disable numbering in the classic menu? Thanks a lot. Martin
Attachments (1)
Accepted Answer
Hi,
it's possible but request small customization.

1) Open: templates\shaper_cuisine\sppagebuilder\addons\classic_menu\site.php
2) Line 83: $output .= '< h4 >' . ( $key + 1 ) . '. ' . $item['title'] . '< /h4 >';
where you have to remove: .($key+1).
  1. more than a month ago
  2. Cuisine
  3. # Permalink
Responses (9)
Great! Thank you.
  1. more than a month ago
  2. Cuisine
  3. # 1
Hi Paul

I am looking to remove the numbering on the cuisine_menu but don't see the line of code mentioned above.
I am assuming the code is different.
Is it possible to remove the numbering

Would any changes be overwritten on template update

Malcolm
  1. more than a month ago
  2. Cuisine
  3. # 2
I will check,give me a moment. But you searched in template folder , right?
  1. more than a month ago
  2. Cuisine
  3. # 3
Ok, in my first answer I show how to remove from classic_menu, so it's very similar to remove from 2nd type of menu:
we used there <ol> </ol> - I hope you know it from basic HTML lessons.
But numbers can be hidden via custom CSS only.


.sppb-addon-fancy-menu .sppb-addon-content ol > li {
list-style: outside none none;
}


If helped let me know and close topic.
Attachments (1)
  1. more than a month ago
  2. Cuisine
  3. # 4
Hi Paul

Works perfectly thanks

If I need to remove the numbering from the Classic menu, will the change get overwritten if I update the template in the future - templates\shaper_cuisine\sppagebuilder\addons\classic_menu\site.php

Malcolm
  1. more than a month ago
  2. Cuisine
  3. # 5
you have to check its code,if there is <ol> as well ..just customize my previous CSS ,
if not, you have to delete small part of code.
  1. more than a month ago
  2. Cuisine
  3. # 6
Ok, in my first answer I show how to remove from classic_menu, so it's very similar to remove from 2nd type of menu:
we used there <ol> </ol> - I hope you know it from basic HTML lessons.
But numbers can be hidden via custom CSS only.


.sppb-addon-fancy-menu .sppb-addon-content ol > li {
list-style: outside none none;
}


If helped let me know and close topic.


Thank you. It workd great for me.
  1. more than a month ago
  2. Cuisine
  3. # 7
I am interested in this template for a client, and I wonder if the menu numbers can start with a certain number, for example, for salads, it has from 1 to 10, pizzas from 11 to 20, meats from 21 to 30. .. can it be made to start with that specific number or can it only be removed?
  1. more than a month ago
  2. Cuisine
  3. # 8


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.