Okay
  Public Ticket #2683251
Events price and capacity
Closed

Comments

  • Quentin started the conversation

    Hi,

    I would like to hide the capacity of the events (so I don't want people to see 'Capacity: 3/30' for example). How can I do that?

    I'd like also to hide the price of the events. People have different rate cards and don't pay the same amount for the classes. How can I do that?


    Thanks for your help

    Quentin

  • [deleted] replied

    Hi Quentin,

    Apologies for replying a bit later, we don't work on weekends.

    The capacity and price of events can be hidden on the front-end with adding custom CSS, please try adding this format HTML to the page where you have Amelia : 

    <style> 
    .am-event-sub-info-capacity {display:none !important;} 
    .am-event-price {display:none !important;}
    </style> 
    

    and let me know if it helped.

  • Quentin replied

    Hi Marija,


    thank you for your help, it works perfectly :)

    I have another question: when I go to https://sdc.evolulu.be/reservations/ on Chrome (Mac), the scrolling is very very slow, but normal when I try on Safari or on my iPhone. 


    Thanks!

    Quentin

  • [deleted] replied

    Hi Quentin, 

    You are welcome. Glad to see that, thank you for letting me know.

    There is some conflict with the theme Divi, if you have it, the slow scrolling issue comes up. (If you don't have Divi, please try out the script on your pages and see if it helps for your issue as well.)

    There are two solutions to this. Add this script: 

    <script>
     var links = document.getElementsByTagName('a');
     for (var i = 0; i < links.length; i++) {
       if (links[i].href.includes('#')) {
         links[i].classList.add('et_smooth_scroll_disabled');
       }
     }
     document.querySelector('body').classList.remove('et_smooth_scroll');
    </script>

    to the pages where you have your Amelia shortcode. Or disable Smooth scrolling in Divi theme options. 


    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.



  • Quentin replied

    Nice, it works!

    I use divi, so I just disabled the smooth scrolling.


    Thank you for your quick answer!

    Cheers

  • [deleted] replied

    Glad to see that, thank you for letting me know!

    You are welcome.

    If you have any other questions or concerns feel free to open a new ticket and we will gladly help out.