<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Edo Begagic</title>
    <description>The latest articles on DEV Community by Edo Begagic (@edo_begagic).</description>
    <link>https://dev.to/edo_begagic</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F218543%2F76e7a82f-6143-446c-8dc8-eeb6c146bd05.jpg</url>
      <title>DEV Community: Edo Begagic</title>
      <link>https://dev.to/edo_begagic</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/edo_begagic"/>
    <language>en</language>
    <item>
      <title>How to install and set up Elementor with Child Theme (Hello Elementor)</title>
      <dc:creator>Edo Begagic</dc:creator>
      <pubDate>Tue, 22 Sep 2020 17:30:23 +0000</pubDate>
      <link>https://dev.to/edo_begagic/elementor-setup-and-add-new-blank-page-128l</link>
      <guid>https://dev.to/edo_begagic/elementor-setup-and-add-new-blank-page-128l</guid>
      <description>&lt;h2&gt;
  
  
  Step 1: Initial Setup &amp;amp; Adding a new page
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--YfZkzwUn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/40rih5xd4z8zt1z3oczx.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YfZkzwUn--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/40rih5xd4z8zt1z3oczx.jpg" alt="Alt Text" width="708" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I. SEARCH for and INSTALL the Elementor plugin. If you prefer to use the premium version, you will have to PURCHASE, UPLOAD and INSTALL the Elementor Pro plugin as well. &lt;br&gt;
(If you prefer not to pay you don't have to install the Elementor Pro Plugin, just the Elementor plugin. Keep in mind that the premium version has more features. For more information about the differences between the premium and the free version you can check following link: &lt;a href="https://themeisle.com/blog/elementor-free-vs-pro/"&gt;https://themeisle.com/blog/elementor-free-vs-pro/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;II. DOWNLOAD the Hello Elementor theme:&lt;br&gt;
&lt;a href="https://github.com/elementor/hello-theme"&gt;https://github.com/elementor/hello-theme&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;UPLOAD the theme to Wordpress.&lt;/p&gt;

&lt;p&gt;DOWNLOAD the Hello Elementor Child theme:&lt;br&gt;
&lt;a href="https://github.com/elementor/hello-theme-child"&gt;https://github.com/elementor/hello-theme-child&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;UPLOAD the child theme to Wordpress and ACTIVATE IT.&lt;/p&gt;

&lt;p&gt;GO TO Pages and ADD a New Page.&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 2: Add full width &amp;amp; Publish page
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--FsPS3dzr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/m710zepbvc4b7662oaec.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--FsPS3dzr--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/m710zepbvc4b7662oaec.jpg" alt="Alt Text" width="740" height="238"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Set page as Homepage &amp;amp; Delete page title and tagline
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--O3DcFfeL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/k3f3okn3iwyekhcnkewb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--O3DcFfeL--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/k3f3okn3iwyekhcnkewb.jpg" alt="Alt Text" width="656" height="406"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 4: Edit blank page with Elementor
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--KESnQPtz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/pf1osn4ut6r99bn9obyn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--KESnQPtz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/pf1osn4ut6r99bn9obyn.jpg" alt="Alt Text" width="606" height="291"&gt;&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;/p&gt;

&lt;p&gt;That's it! Now you can edit your site using the Elementor Builder.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>elementor</category>
      <category>design</category>
    </item>
    <item>
      <title>Add custom fonts to react native (expo) app</title>
      <dc:creator>Edo Begagic</dc:creator>
      <pubDate>Sun, 03 Nov 2019 23:39:55 +0000</pubDate>
      <link>https://dev.to/edo_begagic/add-custom-fonts-to-react-native-expo-app-54d</link>
      <guid>https://dev.to/edo_begagic/add-custom-fonts-to-react-native-expo-app-54d</guid>
      <description>&lt;h1&gt;
  
  
  STEP 1:
&lt;/h1&gt;

&lt;h3&gt;
  
  
  1. In your assets folder (or anywhere you prefer) create a new 'fonts' folder.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fpyi0po5si3a96dpcvp84.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fpyi0po5si3a96dpcvp84.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Go to &lt;a href="https://fonts.google.com/" rel="noopener noreferrer"&gt;https://fonts.google.com/&lt;/a&gt; (or any other fonts library) and download your preferred font or multiple fonts.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fblzz61mlv4kyqfv22kyu.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fblzz61mlv4kyqfv22kyu.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Extract the TrueTypeFont (.ttf) file to your fonts folder. (If you are using VSCode text editor, you can drag the extracted files directly into the editor.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvggqr8y0hr72izwtyhuk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvggqr8y0hr72izwtyhuk.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. I added three different fonts: 'Roboto-Bold.ttf', 'Roboto-Italic.ttf' and 'Roboto-Regular.ttf'.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ff5e5b4ro520bo0vt8kiu.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Ff5e5b4ro520bo0vt8kiu.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  STEP 2:
&lt;/h1&gt;

&lt;h2&gt;
  
  
  In your project root, using the command prompt, install expo-font with following command: expo install expo-font
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F8hs0ucqfew55bte0670g.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F8hs0ucqfew55bte0670g.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  STEP 3:
&lt;/h1&gt;

&lt;h3&gt;
  
  
  1. In your App.js import following:
&lt;/h3&gt;

&lt;p&gt;import * as Font from 'expo-font';&lt;br&gt;
import { AppLoading } from 'expo';&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Write following function
&lt;/h3&gt;

&lt;p&gt;const fetchFonts = () =&amp;gt; {&lt;br&gt;
  return Font.loadAsync({&lt;br&gt;
    'roboto-bold': require('./assets/fonts/Roboto-Bold.ttf'),&lt;br&gt;
    'roboto-italic': require('./assets/fonts/Roboto-Italic.ttf'),&lt;br&gt;
    'roboto-regular': require('./assets/fonts/Roboto-Regular.ttf')&lt;br&gt;
  });&lt;br&gt;
};&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fdz62myvi2pk4s8uzm7wg.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fdz62myvi2pk4s8uzm7wg.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I am using the 'roboto-bold', 'roboto-italic' and 'roboto-regular' fonts. You will use the name of the font you downloaded.&lt;/p&gt;

&lt;h3&gt;
  
  
  3.Add state
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F9i6esmr8fjul9rfzflnj.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F9i6esmr8fjul9rfzflnj.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Add if statement to check if the fonts loaded and style the text components to check if your custom fonts are working.
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjxr16b1i3v0z8dcjkdfd.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fjxr16b1i3v0z8dcjkdfd.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  You should see the different custom fonts on your screen:
&lt;/h1&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fmkjbho294as1292ee1ei.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fmkjbho294as1292ee1ei.jpg" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have any additional questions or suggestions, feel free to leave a comment! :)&lt;/p&gt;

</description>
      <category>reactnative</category>
      <category>expo</category>
      <category>fonts</category>
      <category>usestate</category>
    </item>
  </channel>
</rss>
