Page Basics https://sitemasonry.gmu.edu/ en How to... Test Your Website for Mobile Devices https://sitemasonry.gmu.edu/news/2023-04/how-test-your-website-mobile-devices <span>How to... Test Your Website for Mobile Devices</span> <span><span lang="" about="/user/616" typeof="schema:Person" property="schema:name" datatype="">Lynn Tierney</span></span> <span>Fri, 04/21/2023 - 10:50</span> <div class="layout layout--gmu layout--twocol-section layout--twocol-section--70-30"> <div class="layout__region region-first"> <div data-block-plugin-id="field_block:node:news_release:body" class="block block-layout-builder block-field-blocknodenews-releasebody"> <div class="field field--name-body field--type-text-with-summary field--label-visually_hidden"> <div class="field__label visually-hidden">Body</div> <div class="field__item"><p>As the number of mobile device users continues to grow, designing websites that work well on these devices has become increasingly important. To ensure that your website looks and works correctly on a variety of mobile devices, it's important to test it on different screen sizes and resolutions.</p> <p>Fortunately, all major web browsers come equipped with developer tools that allow you to simulate mobile devices. Keep reading to learn more about mobile device simulation and how to simulate different mobile devices.</p> <h2>Why is Mobile Device Simulation Important?</h2> <p>Designing a website that is optimized for mobile devices is crucial for any website owner. According to <a href="https://www.statista.com/statistics/277125/share-of-website-traffic-coming-from-mobile-devices/">Statista</a>, mobile devices accounted for 59% of website traffic worldwide in 2021, and this number is only expected to grow in the coming years.</p> <p>When users visit your website on a mobile device, they expect a seamless and user-friendly experience. If your website doesn't function well on mobile devices, users are likely to leave and look for an alternative. Mobile device simulation allows you to ensure that your website works well on all devices, regardless of their size or resolution.</p> <h2>In-Browser Simulation Tools</h2> <figure role="group" class="align-right"><div> <div class="field field--name-image field--type-image field--label-hidden field__item"> <img src="/sites/g/files/yyqcgq131/files/styles/media_library/public/2023-04/tablet-704.png?itok=eNq__ii6" width="220" height="220" alt="Icon of a tablet and a phone together in minimalist design" loading="lazy" typeof="foaf:Image" /></div> </div> <figcaption>The icon for Device Tools may vary by browser and OS, but it generally looks like a phone and tablet together.</figcaption></figure><p>Mobile device simulation is a way to test how your website looks and functions on different mobile devices without actually having to use those devices. Using browser developer tools, you can simulate the screen size, resolution, and other important factors that affect the user experience on mobile devices.</p> <h3>How to Use Chrome Developer Tools to Simulate Mobile Devices</h3> <p>To view a mobile layout on Chrome, you first need to access the developer tools pane.</p> <ol><li>Right-click anywhere on the page and select "Inspect" or press Ctrl+Shift+I (PC) or Cmd+Opt+I (Mac) on your keyboard. This should open a new pane displaying information about the page and its code.</li> <li>In the developer tools pane, click the "Toggle device toolbar" icon (or press Ctrl+Shift+M (PC) or Cmd+Shift+M (Mac) on your keyboard) to open the device toolbar.</li> </ol><p>You can select the device you want to simulate from the dropdown menu. If the device you want to simulate isn't in the dropdown menu, click "Edit" to add a custom device.</p> <h3>How to Use Microsoft Edge Developer Tools to Simulate Mobile Devices</h3> <p>Microsoft Edge's developer tools are very similar to Chrome's, but are accessed via slightly different steps for keyboard users.</p> <ol><li>Right-click anywhere on the page and select "Inspect element" or press F12 on your keyboard.</li> <li>In the developer tools pane, click the "Toggle device toolbar" icon (or press Ctrl+Shift+M (PC) or Cmd+Shift+M (Mac) on your keyboard) to open the device toolbar.</li> </ol><p>You can select the device you want to simulate from the dropdown menu. If the device you want to simulate isn't in the dropdown menu, click "Edit" to add a custom device.</p> <h3>How to Use Firefox Developer Tools to Simulate Mobile Devices</h3> <p>There are two ways to activate Responsive Design Mode on Firefox:</p> <ol><li>Using the keyboard, press Ctrl+Shift+M (PC) or Cmd+Opt+M (Mac).</li> <li>In the top right of the browser, click the hamburger menu, then "More tools", then "Responsive Design Mode."</li> </ol><p>You can adjust what device you are emulating using the bar at the top of the browser window. This will let you choose from a variety of preset tablets and phones, or choose a custom resolution.</p> <h3>How to Use Safari Developer Tools to Simulate Mobile Devices</h3> <figure class="quote">If you have not done so already, you will need to activate Developer Mode on your browser. This can be found under Safari's settings, on the Advanced tab. The checkbox to show the Develop menu in the toolbar should be at the bottom of the page.</figure><ol><li>Open Safari and navigate to your website.</li> <li>From the menu bar, click "Develop" and select "Enter Responsive Design Mode."</li> <li>Select the device you want to simulate from the top options.</li> </ol><p> </p> <p>Mobile device testing is an important aspect of website development, and the developer tools in your browser make it easy to test your website on a variety of mobile devices. By following the instructions above, you can ensure that your website provides a seamless and user-friendly experience for all visitors, regardless of the device they are using. Don't let the idea of using developer tools to simulate mobile devices intimidate you – it's a straightforward process that can save you time and ensure the success of your website.</p> </div> </div> </div> </div> <div class="layout__region region-second"> <div data-block-plugin-id="inline_block:text" data-inline-block-uuid="dc078af1-0a7f-4ff8-bb82-af000d782494" class="block block-layout-builder block-inline-blocktext"> <h2>Confused by Mobile?</h2> <div class="field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Check out <strong><a href="https://gmuedu.sharepoint.com/:b:/s/Sample-Team-Other-GRP/EaunddJIL6pGo0evEs3HSmUBV8aJ9EyI-3lPvM-XGFnhnQ?e=XfKopv" title="PDF - Landing Page Guide">our guide</a></strong> on landing pages and planning for mobile layouts.</p> </div> </div> <div data-block-plugin-id="inline_block:text" data-inline-block-uuid="d0d3336d-0eab-47e6-82a8-6c3ac491f674" class="block block-layout-builder block-inline-blocktext"> <h2>Seeking to Learn More?</h2> <div class="field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Check out these related articles!</p> <ul> <li><a href="https://sitemasonry.gmu.edu/news/2022-11/how-toformat-news-story">Format a News Story</a></li> <li><a href="https://sitemasonry.gmu.edu/news/2023-03/how-make-your-news-story-stand-out">Make Your News Story Stand Out</a></li> <li><a href="https://sitemasonry.gmu.edu/news/2022-03/how-tooptimize-pages-and-news-items-social-sharing">Optimize Pages for Social Sharing</a></li> </ul> </div> </div> <div data-block-plugin-id="field_block:node:news_release:field_content_topics" class="block block-layout-builder block-field-blocknodenews-releasefield-content-topics"> <h2>Topics</h2> <div class="field field--name-field-content-topics field--type-entity-reference field--label-visually_hidden"> <div class="field__label visually-hidden">Topics</div> <div class='field__items'> <div class="field__item"><a href="/taxonomy/term/931" hreflang="en">SiteMasonry Tutorial</a></div> <div class="field__item"><a href="/taxonomy/term/506" hreflang="en">SiteMasonry</a></div> <div class="field__item"><a href="/taxonomy/term/811" hreflang="en">Content Editors</a></div> <div class="field__item"><a href="/taxonomy/term/616" hreflang="en">Site Owners</a></div> <div class="field__item"><a href="/taxonomy/term/741" hreflang="en">Page Basics</a></div> </div> </div> </div> </div> </div> Fri, 21 Apr 2023 14:50:44 +0000 Lynn Tierney 1656 at https://sitemasonry.gmu.edu Embed a Video https://sitemasonry.gmu.edu/news/2021-03/embed-video <span>Embed a Video</span> <span><span lang="" about="/user/136" typeof="schema:Person" property="schema:name" datatype="">khanse2_deprecated</span></span> <span>Tue, 03/16/2021 - 15:49</span> <div class="layout layout--gmu layout--twocol-section layout--twocol-section--30-70"> <div class="layout__region region-first"> </div> <div class="layout__region region-second"> <div data-block-plugin-id="field_block:node:news_release:body" class="block block-layout-builder block-field-blocknodenews-releasebody"> <div class="field field--name-body field--type-text-with-summary field--label-visually_hidden"> <div class="field__label visually-hidden">Body</div> <div class="field__item"><p><span class="intro-text">YouTube or Vimeo videos can be embedded within a Basic Text block.</span></p> <h2><strong>Before you begin</strong></h2> <p>Copy the short, shareable URL of the video to be embedded from the 'share' block on YouTube or Vimeo.</p> <div alt="Where to find the share link of a YouTube video" data-embed-button="media_browser" data-entity-embed-display="media_image" data-entity-embed-display-settings="{&quot;image_style&quot;:&quot;large&quot;,&quot;image_link&quot;:&quot;&quot;,&quot;svg_render_as_image&quot;:1,&quot;svg_attributes&quot;:{&quot;width&quot;:&quot;&quot;,&quot;height&quot;:&quot;&quot;}}" data-entity-type="media" data-entity-uuid="b3103957-8c77-4c15-96dd-3a4d61c993b2" title="Find the sharable URL - image 2" class="align-center embedded-entity" data-langcode="en"> <img src="/sites/g/files/yyqcgq131/files/styles/large/public/2021-03/embed-youtube-no%20copy.png?itok=N2BVg1lU" alt="Where to find the share link of a YouTube video" title="Find the sharable URL - image 2" typeof="foaf:Image" /></div> <p> </p> <h3>Once you have your short URL, you are ready to embed</h3> <ul> <li>Place the cursor at the approximate place the photo should appear.  Videos will expand to the width of the text block</li> <li>Find and click the ‘E’ button in the 'Body' formatting toolbar</li> <li>From the ‘Select Media to Embed’ pop-up window, click the ‘Upload’ tab</li> <li>Click the ‘Create Embed’ tab</li> <li>Paste in the YouTube (or Vimeo) short URL (see images below)</li> <li>Fill out the ’Name’ field <ul> <li>Click the ’Save to my media library'</li> <li>box scroll down to under the video preview</li> <li>Check the ‘Published’ box</li> <li>Click ‘Place’</li> <li>Select an alignment - 'center' is the most common choice</li> <li>Do not fill out the caption field</li> </ul> </li> </ul> <p>Continue on editing your text block.</p> <p><strong>When you are done, remember to save and publish!</strong></p> <p> </p> <div data-embed-button="media_browser" data-entity-embed-display="view_mode:media.embedded" data-entity-type="media" data-entity-uuid="8553f52e-a527-47a4-ae99-ca995d25f80c" class="align-center embedded-entity" data-langcode="en" data-entity-embed-display-settings="[]"> <div> <div class="field field--name-field-media-video-embed-field field--type-video-embed-field field--label-hidden field__item"> <div class="video-embed-field-provider-youtube video-embed-field-responsive-video"> <iframe width="854" height="480" frameborder="0" allowfullscreen="allowfullscreen" src="https://www.youtube.com/embed/e6TnNlMDqnc?autoplay=0&amp;start=0&amp;rel=0"></iframe></div> </div> </div> </div> <p> </p> <p> </p> </div> </div> </div> <div data-block-plugin-id="field_block:node:news_release:field_content_topics" class="block block-layout-builder block-field-blocknodenews-releasefield-content-topics"> <h2>Topics</h2> <div class="field field--name-field-content-topics field--type-entity-reference field--label-visually_hidden"> <div class="field__label visually-hidden">Topics</div> <div class='field__items'> <div class="field__item"><a href="/taxonomy/term/741" hreflang="en">Page Basics</a></div> </div> </div> </div> </div> </div> Tue, 16 Mar 2021 19:49:03 +0000 khanse2_deprecated 921 at https://sitemasonry.gmu.edu How to...Embed an Image https://sitemasonry.gmu.edu/news/2021-03/embed-image <span>How to...Embed an Image</span> <span><span lang="" about="/user/136" typeof="schema:Person" property="schema:name" datatype="">khanse2_deprecated</span></span> <span>Tue, 03/16/2021 - 14:14</span> <div class="layout layout--gmu layout--twocol-section layout--twocol-section--30-70"> <div class="layout__region region-first"> <div data-block-plugin-id="inline_block:call_to_action" data-inline-block-uuid="1f684cd0-63a9-4f37-bd20-e78dccdcb9a5"> <div class="cta"> <a class="cta__link" href="https://sitemasonry.gmu.edu/knowledge-base/image-guidelines/embed-media-demo"> <h4 class="cta__title">View Image Demo with Image Sizes <i class="fas fa-arrow-circle-right"></i> </h4> <span class="cta__icon"> <div class="field field--name-field-cta-icon field--type-entity-reference field--label-visually_hidden"> <div class="field__label visually-hidden">Icon</div> <div class="field__item"><div> <div class="field field--name-field-media-font-awesome-icon field--type-fontawesome-icon field--label-visually_hidden"> <div class="field__label visually-hidden">Icon</div> <div class="field__item"><div class="fontawesome-icons"> <div class="fontawesome-icon"> <i class="fas fa-info-circle" data-fa-transform="" data-fa-mask="" style="--fa-primary-color: #000000; --fa-secondary-color: #000000;"></i> </div> </div> </div> </div> </div> </div> </div> </span> </a> </div> </div> </div> <div class="layout__region region-second"> <div data-block-plugin-id="field_block:node:news_release:body" class="block block-layout-builder block-field-blocknodenews-releasebody"> <div class="field field--name-body field--type-text-with-summary field--label-visually_hidden"> <div class="field__label visually-hidden">Body</div> <div class="field__item"><p><span class="intro-text">Embedded images are secondary supporting images within the text of a news story.  The June 2021 update to the embed feature changed the icon in the WYSIWYG toolbar and smoothed out the embed process.  </span></p> <p> </p> <h3>Create your content item (page or content type - news, faculty profile, program)</h3> <ul><li>Click the 'Customize Page' tab</li> <li>Add a 'Basic Text' block to a section</li> <li>Title the block</li> <li>Add text content (I used cupcake Ipsum to generate filler text - <a href="http://www.cupcakeipsum.com/" target="_blank">http://www.cupcakeipsum.com/</a>)</li> <li>put your cursor in the top left corner of the block editing window, ahead of the text you pasted in</li> <li>Click the embed icon (it looks like an image with musical notes on top of it)</li> <li>Upload an image to embed - I chose a 6 KB cupcake image</li> <li>Click Save and Insert</li> </ul><h3> </h3> <h3>After inserting the image in the block, you will need to add the alt text, set the alignment, opt to use a caption, and choose the display size. From the text block:</h3> <ul><li>Click the small 'edit' button next to the image in the text block</li> <li>Add alt text</li> <li>Select the alignment (none, left, center, right)</li> <li>If a caption is needed, click the caption box (you will add the caption after the image is placed)</li> <li>Select the desired display size (extra large, large, medium, small)</li> <li>Click 'save'</li> </ul><p> </p> <p><a href="https://sitemasonry.gmu.edu/image-embed-sample-page-two">View a sample page with image embed sizes and descriptions.</a></p> <h3>Commit your work by clicking 'save layout' on the Customize Page screen</h3> <p>Remember to publish!</p> <p> </p> <p><a href="https://sitemasonry.gmu.edu/image-embed-sample-page-two">View a sample page with image embed sizes and descriptions.</a></p> <p> </p> <div class="align-center" style="min-width: 50%;"> <div class="field field--name-field-media-video-embed-field field--type-video-embed-field field--label-hidden field__item"><div class="video-embed-field-provider-youtube video-embed-field-responsive-video"><iframe width="854" height="480" frameborder="0" allowfullscreen="allowfullscreen" src="https://www.youtube.com/embed/QtryBy-9xwg?autoplay=0&amp;start=0&amp;rel=0"></iframe> </div> </div> </div> <p> </p> </div> </div> </div> <div data-block-plugin-id="field_block:node:news_release:field_content_topics" class="block block-layout-builder block-field-blocknodenews-releasefield-content-topics"> <h2>Topics</h2> <div class="field field--name-field-content-topics field--type-entity-reference field--label-visually_hidden"> <div class="field__label visually-hidden">Topics</div> <div class='field__items'> <div class="field__item"><a href="/taxonomy/term/741" hreflang="en">Page Basics</a></div> <div class="field__item"><a href="/taxonomy/term/856" hreflang="en">Image Management Tutorial</a></div> </div> </div> </div> </div> </div> Tue, 16 Mar 2021 18:14:27 +0000 khanse2_deprecated 916 at https://sitemasonry.gmu.edu