{"id":9397,"date":"2024-05-02T14:12:28","date_gmt":"2024-05-02T13:12:28","guid":{"rendered":"https:\/\/leogeracademy.hestia.wpspace.me\/?post_type=docs&#038;p=9397"},"modified":"2024-12-10T17:18:00","modified_gmt":"2024-12-10T16:18:00","password":"","slug":"13-how-to-hide-the-resources-in-an-embedded-calendar","status":"publish","type":"docs","link":"https:\/\/staging.churchtools.academy\/en\/help\/churchtools-modules\/embedding-calendars\/13-how-to-hide-the-resources-in-an-embedded-calendar\/","title":{"rendered":"How to hide the resources in an embedded calendar"},"content":{"rendered":"\n<p>The calendars in ChurchTools are very helpful for organizing different areas within the church and keeping track of appointments. Of course, it is even better if the calendars are also integrated on your own church website and display all relevant information there.<\/p>\n\n\n\n<p>However, there are times when certain appointment information should be displayed in ChurchTools but not be visible on the website. In this tutorial, we will show you how to hide appointment information in the embedded calendar using the example of resources.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Open system settings<\/h2>\n\n\n\n<p>You can customize your embedded calendar with CSS classes. You store these in advance in the system settings of your ChurchTools.<\/p>\n\n\n\n<p>To do this, open the <em>system settings<\/em> (1) and (2) and navigate to <em>Modules<\/em> (3) &gt; <em>Calendar<\/em> (4).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"640\" height=\"249\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-288.png\" alt=\"\" class=\"wp-image-16022\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-288.png 640w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-288-300x117.png 300w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-288-360x140.png 360w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p> &nbsp;<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p><strong>What is CSS?<\/strong><br>CSS stands for Cascading Style Sheets (https:\/\/de.wikipedia.org\/wiki\/Cascading_Style_Sheets) and is a core language of the internet. This style sheet language for electronic documents is used to customize the appearance of a website using commands.<\/p>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\">Enter CSS command<\/h2>\n\n\n\n<p>To hide the resources stored in the event, enter the following CSS command in the field provided (1): <code>.event-resources { display:none }<\/code> . Then save your changes (2).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"540\" height=\"387\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-289.png\" alt=\"\" class=\"wp-image-16024\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-289.png 540w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-289-300x215.png 300w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-289-360x258.png 360w\" sizes=\"(max-width: 540px) 100vw, 540px\" \/><\/figure>\n\n\n\n<aside class=\"wp-block-group ct-box ct-box-blue has-background is-vertical is-layout-flex wp-container-core-group-is-layout-002f1c27 wp-block-group-is-layout-flex\" style=\"border-radius:8px;border-left-color:#22c55e;border-left-width:0.5rem;background-color:#dcfce7;margin-top:var(--wp--preset--spacing--60);margin-bottom:var(--wp--preset--spacing--60)\">\n<p style=\"margin-top:0.5rem;margin-right:0.5rem;margin-bottom:0rem;margin-left:0.5rem\"><strong>Tip<\/strong><\/p>\n\n\n\n<p style=\"margin-top:0rem;margin-right:0.5rem;margin-bottom:0.5rem;margin-left:0.5rem\">You can further customize your embedded calendar according to this pattern. We have put together an overview of other <a href=\"https:\/\/staging.churchtools.academy\/en\/help\/churchtools-modules\/embedding-calendars\/13-embed-calendar-css-classes\/\" data-type=\"docs\" data-id=\"9382\">CSS classes<\/a> to make things easier for you.<\/p>\n<\/aside>\n\n\n\n<h2 class=\"wp-block-heading\">Check CSS command<\/h2>\n\n\n\n<p>Now navigate to the calendar module (1) and open the dialog box (2) to embed the calendar.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"640\" height=\"428\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-293.png\" alt=\"\" class=\"wp-image-16032\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-293.png 640w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-293-300x201.png 300w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-293-360x241.png 360w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>The CSS command stored in the system settings to hide the resources is automatically applied.<\/p>\n\n\n\n<p>You can already see this in the preview:<\/p>\n\n\n\n<p><strong>Resources displayed<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"159\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-291.png\" alt=\"\" class=\"wp-image-16028\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-291.png 640w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-291-300x75.png 300w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-291-360x89.png 360w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p><strong>Resources hidden<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"640\" height=\"132\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-292.png\" alt=\"\" class=\"wp-image-16030\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-292.png 640w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-292-300x62.png 300w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-292-360x74.png 360w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/figure>\n\n\n\n<p>You can find our full explanation on the different settings when embedding a calendar in our <a href=\"https:\/\/staging.churchtools.academy\/help\/churchtools-module\/kalender-einbetten\/17-wie-bette-ich-den-kalender-in-einer-webseite-ein\/\">guide<\/a>. It also explains how to add the calendar to your website.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Customize various calendars differently<\/h2>\n\n\n\n<p>Depending on how your website is structured, you may not want the resources to be hidden for every embedded calendar, but only for the calendar that you display on the homepage of your website, for example.<br>You can also implement this with ChurchTools by assigning your own CSS class.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Assign your own CSS classes<\/h3>\n\n\n\n<p>To do this, go back to the system settings of the calendar module (see above), set your own CSS class before the CSS command that hides the resources, e.g. <code>.mainpage<\/code> (1) and save your change. <strong>There must be a space between your CSS class and the following command!<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"340\" height=\"349\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-290.png\" alt=\"\" class=\"wp-image-16026\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-290.png 340w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-290-292x300.png 292w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/figure>\n\n\n\n<p>The CSS command is now only applied if the corresponding CSS class is entered before embedding.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Enter CSS class<\/h3>\n\n\n\n<p>Switch back to the calendar module and open up the dialog window to embed the calendar (see above). In order for the CSS command for hiding the resources to be applied, you must enter your previously assigned CSS class here via <em>Display &gt; Advanced settings &gt; CSS class<\/em> (1).<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"340\" height=\"734\" src=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-294.png\" alt=\"\" class=\"wp-image-16034\" srcset=\"https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-294.png 340w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-294-139x300.png 139w, https:\/\/staging.churchtools.academy\/wp-content\/uploads\/2024\/06\/image-294-237x512.png 237w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/figure>\n\n\n\n<p>You have now assigned your own CSS class for this embedded calendar, which is also visible in the embed link (2).<\/p>\n\n\n\n<p>Use those steps to set individual CSS commands for different calendars to customize the calendars on your website.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The calendars in ChurchTools are very helpful for organizing different areas within the church and keeping track of appointments. Of course, it is even better if the calendars are also integrated on your own church website and display all relevant information there. However, there are times when certain appointment information should be displayed in ChurchTools [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_category":[470],"doc_tag":[],"knowledge_base":[224],"class_list":["post-9397","docs","type-docs","status-publish","hentry","doc_category-embedding-calendars","knowledge_base-churchtools-modules"],"acf":[],"year_month":"2026-05","word_count":476,"total_views":"684","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Jasper Stehmeier","author_nicename":"jstehmeier","author_url":"https:\/\/staging.churchtools.academy\/en\/author\/jstehmeier\/"},"doc_category_info":[{"term_name":"Embedding Calendars","term_url":"https:\/\/staging.churchtools.academy\/en\/help\/churchtools-modules\/embedding-calendars\/"}],"doc_tag_info":[],"knowledge_base_info":[{"term_name":"Modules","term_url":"https:\/\/staging.churchtools.academy\/en\/help\/churchtools-modules\/","term_slug":"churchtools-modules"}],"knowledge_base_slug":["churchtools-modules"],"_links":{"self":[{"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/docs\/9397","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/comments?post=9397"}],"version-history":[{"count":3,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/docs\/9397\/revisions"}],"predecessor-version":[{"id":25455,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/docs\/9397\/revisions\/25455"}],"wp:attachment":[{"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/media?parent=9397"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/doc_category?post=9397"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/doc_tag?post=9397"},{"taxonomy":"knowledge_base","embeddable":true,"href":"https:\/\/staging.churchtools.academy\/en\/wp-json\/wp\/v2\/knowledge_base?post=9397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}