{"id":2103,"date":"2019-12-02T15:41:20","date_gmt":"2019-12-02T15:41:20","guid":{"rendered":"https:\/\/webnus.site\/dox\/?p=2103"},"modified":"2023-10-30T10:48:28","modified_gmt":"2023-10-30T10:48:28","slug":"inspect-element","status":"publish","type":"knowledgebase","link":"https:\/\/webnus.net\/dox\/modern-events-calendar\/inspect-element\/","title":{"rendered":"Using Inspect Element (Dev Tools)"},"content":{"rendered":"\n<p>&nbsp;<br>In order to customize each section of the Modern Events Calendar manually, you can use the dev tools inside your browsers and then put the custom codes into the Custom CSS box in the settings of MEC or your theme.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Write_Custom_CSS_Code\"><\/span>Write Custom CSS Code<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can use Inspect Element (built-in developer tools of your browser) and change each section for yourself:<\/p>\n\n\n\n<p>If you want to make changes to your design, you can use Inspect Element (dev tools) to see the source code of your website and the CSS rules applied to it.<\/p>\n\n\n\n<p>To access it, right-click, and from the pop-up menu, select <strong>Inspect Element (or Inspect or Dev Tools)<\/strong>.<\/p>\n\n\n\n<p>For more details, you can visit Chrome inspect element or Firefox inspect element. Meanwhile, searching on Google will be helpful too.<\/p>\n\n\n\n<p>For example, we try to change the bottom gray border color in a footer.<\/p>\n\n\n\n<p>Here are some CSS tutorials that will help you write your own customized CSS codes: <a href=\"https:\/\/www.w3schools.com\/css\/\" target=\"_blank\" rel=\"noopener noreferrer\">w3schools<\/a> | <a href=\"https:\/\/www.w3schools.com\/cssref\/css_units.asp\" target=\"_blank\" rel=\"noreferrer noopener\">CSS Units<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Media_Queries_for_All_Devices\"><\/span>Media Queries for All Devices<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You can use \u201cmedia query\u201d to make your design more responsive on mobile and tablet devices. Click here or here for more information on CSS media queries.<\/p>\n\n\n\n<p>You can apply your CSS on a custom screen size using the following example:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n@media only screen and (max-width: 480px) {\n    \/* PUT YOUR CSS CODE *\/\n}\n<\/pre><\/div>\n\n\n<p>or use between two screen sizes:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n@media (max-width: 960px) and (min-width: 481px){\n    \/* PUT YOUR CSS CODE *\/\n}\n<\/pre><\/div>\n\n\n<p><strong>Note:<\/strong> If you want to make sure that all your customizations are only being used in the <strong>Single Event Page,<\/strong> you need to use body classes like the following ones (check the below screenshot):<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\nsingle-mec-events\n<\/pre><\/div>\n\n\n<p> or<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: css; title: ; notranslate\" title=\"\">\n mec-single-fluent-body\n<\/pre><\/div>\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class.png\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1062\" height=\"800\" src=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class.png\" alt=\"Using Inspect Element (Dev Tools)\" class=\"wp-image-9643\" title=\"\" srcset=\"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class.png 1062w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class-300x226.png 300w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class-1024x771.png 1024w, https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-content\/uploads\/2023\/10\/mec-body-class-768x579.png 768w\" sizes=\"auto, (max-width: 1062px) 100vw, 1062px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>You can use Inspect element and change each section for yourself. For more information, please read the following article.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[49],"class_list":["post-2103","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-knowledge-other"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2103","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/comments?post=2103"}],"version-history":[{"count":2,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2103\/revisions"}],"predecessor-version":[{"id":9644,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase\/2103\/revisions\/9644"}],"wp:attachment":[{"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/media?parent=2103"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/webnus.net\/dox\/modern-events-calendar\/wp-json\/wp\/v2\/knowledgebase_cat?post=2103"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}